owid/energy-data cross-country panel on GitHub. Return rows for one indicator column (e.g. renewables_share_energy, electricity_generation, primary_energy_consumption, energy_per_capita) optionally filtered by country and year range. Data originates from BP Statistical Review, Ember, and the IEA; OWID harmonises country codes and units. Licence: CC BY 4.0 with upstream attribution.x-api-key: ********************curl --location '/api/v1/owid/energy-bulk?indicator=renewables_share_energy&country=United%20States&start_year=2015&end_year=2023' \
--header 'x-api-key: <api-key>'{
"data": {
"source": "owid-energy-data",
"indicator": "string",
"country": "string",
"rows": [
{
"country": "string",
"code": "string",
"year": 0,
"date": "string",
"indicator": "string",
"value": 0
}
],
"count": 0,
"attribution": {
"licence": "CC BY 4.0",
"attribution": "string",
"source_name": "string",
"citation_short": "string",
"citation_long": "string"
}
},
"meta": {
"endpoint": "/api/v1/fred/us/cpi",
"data_time": "2026-04-16T14:30:00Z",
"response_time": "2026-04-16T14:30:12Z",
"provider": "Sugra API v1.0.1",
"source": "string",
"fallback_used": true,
"fallback_chain": [
"string"
],
"cached": true
}
}