Datasets
Each response contains source (publisher, licence, caveats), status, retrievedAt and data.
| Endpoint | Contents | Licence |
|---|---|---|
/api/v1/news.json | CEII Newsroom — global energy press | Headlines and links only; articles remain on the publisher’s site |
/api/v1/fx.json | Global reference exchange rates | Free use with attribution |
/api/v1/fxhist.json | Currency history, 12 months | ECB reference rates, free reuse |
/api/v1/solar.json | Daily solar irradiation forecast, 18 world cities | CC BY 4.0 |
/api/v1/crude.json | Energy benchmarks (crude, gas and refined products) | Public domain (U.S. Government work) |
/api/v1/eiaweekly.json | US weekly oil and gas fundamentals | Public domain (U.S. Government work) |
/api/v1/eiaintl.json | Production and consumption by country (oil, gas, coal, power) | Public domain (U.S. Government work) |
/api/v1/worldbank.json | World Development Indicators — every country | CC BY 4.0 |
/api/v1/ember.json | Electricity generation, mix and carbon intensity | CC BY 4.0 |
/api/v1/fred.json | Global commodity prices: gas, LNG, coal, uranium and transition metals | Public data; cite IMF and FRED |
/api/v1/equities.json | Energy company share prices | Licensed API; prices for information only |
/api/v1/retailfuel.json | Retail petrol, diesel and LPG prices (Europe, United States) | Licensed API |
/api/v1/rapidnews.json | Energy news search | Licensed API; headlines and links only |
/api/v1/entsoe.json | European wholesale electricity prices (day-ahead) | ENTSO-E Transparency Platform terms; free reuse with attribution |
/api/v1/events.json | Energy events calendar | Listing facts with links to each organiser; energypedia listings CC BY-SA 4.0 |
/api/v1/wb-energy-projects.json | World Bank energy projects (active) | CC BY 4.0 |
Indicator downloads
Tidy CSV, one row per country and year, with unit, series code, source and retrieval time:
/data/indicators/electricity-access.csv— Access to electricity/data/indicators/electricity-access-rural.csv— Access to electricity, rural/data/indicators/electricity-access-urban.csv— Access to electricity, urban/data/indicators/clean-cooking.csv— Access to clean fuels and technologies for cooking/data/indicators/electricity-from-coal.csv— Electricity production from coal/data/indicators/electricity-from-gas.csv— Electricity production from natural gas/data/indicators/electricity-from-oil.csv— Electricity production from oil/data/indicators/electricity-from-nuclear.csv— Electricity production from nuclear/data/indicators/electricity-from-hydro.csv— Electricity production from hydroelectric sources/data/indicators/transmission-losses.csv— Electric power transmission and distribution losses/data/indicators/power-consumption-per-capita.csv— Electric power consumption per capita/data/indicators/renewable-electricity-ex-hydro.csv— Electricity production from renewables, excluding hydro/data/indicators/renewable-electricity-share.csv— Renewable electricity output/data/indicators/renewable-energy-share.csv— Renewable energy consumption/data/indicators/co2-per-capita.csv— CO₂ emissions per capita (excluding LULUCF)/data/indicators/co2-total.csv— CO₂ emissions, total (excluding LULUCF)/data/indicators/energy-intensity.csv— Energy intensity of primary energy/data/indicators/fuel-exports-share.csv— Fuel exports/data/indicators/oil-rents.csv— Oil rents/data/indicators/gas-rents.csv— Natural gas rents/data/indicators/gdp-per-capita.csv— GDP per capita/data/indicators/population.csv— Population, total
Example
curl https://centreforenergy.org/api/v1/fx.json Fair use
Responses are cached for a few minutes, so polling more often than every five minutes returns the same data. Attribute both CEII and the original publisher named in each response. Third-party licences (for example CC BY 4.0 for World Bank data) continue to apply.