International Energy Data (EIA)
EIA International Energy System with production, reserves, consumption, capacity, imports, exports, and emissions by country for electricity, petroleum, natural gas, coal, nuclear, and renewable energy.
energy
View sample data (table)
— free preview, same rows as GET /api/datasets/eia_intl/sample
Catalog
Browse and search all available datasets.
- Catalog — browse all datasets
- GET /api/catalog — catalog in JSON
- GET /api/catalog?q=… — search the catalog
Dataset API
Endpoints for this dataset — schema, filter values, preview, and querying.
- GET /api/datasets/eia_intl — schema, filters, and pricing
- Sample preview (table) · GET /api/datasets/eia_intl/sample — free sample (up to 100 rows)
- GET /api/datasets/eia_intl/members/{col} — valid values for a filterable column
- GET /api/datasets/eia_intl/query — query with filters (API key required)
Purchase
Add balance or buy access to start querying.
- POST /api/checkout/x402 — agents: add balance via x402 (USDC)
- Sign in at /account — humans: add balance via Stripe (card, Apple Pay, bank transfer)
- POST /api/ap2/intent → /api/ap2/purchase — agents: AP2 mandate-based payment
Source
Size and Format
Pricing
Temporal Coverage
Geographic Coverage
Query Filters
Columns you can use as query params in GET /api/datasets/eia_intl/query.
-
series_idMembers (JSON) -
geographyMembers (JSON) -
product_codeMembers (JSON) -
flow_codeMembers (JSON) -
yearMembers (JSON)
Schema (Columns)
| Column | Type | Description | Filterable |
|---|---|---|---|
series_id |
string | — | Yes |
name |
string | — | No |
units |
string | — | Yes |
frequency |
string | — | Yes |
geography |
string | ISO Alpha-3 country code | Yes |
product_code |
string | — | Yes |
flow_code |
string | 1=production 2=consumption 3=imports 4=exports 7=reserves 8=capacity 12=generation | Yes |
unit_code |
string | — | Yes |
year |
integer | — | Yes |
period |
string | — | No |
value |
float | — | No |