Global Energy Production, Consumption & CO2 Emissions by Country (1965–2023)
About this data
Comprehensive country-level dataset covering energy production, consumption, and greenhouse gas emissions for 229 countries and territories from 1965 to 2023. Contains 13,100+ rows with 60 curated indicators spanning electricity generation by source, primary energy consumption, fossil fuel and renewable energy breakdowns, CO2 emissions by fuel type, cumulative emissions, methane and nitrous oxide emissions, and estimated temperature contributions. **Sources:** - Our World in Data — Energy Dataset (electricity generation, consumption, production by fuel type, energy mix shares) - Our World in Data — CO2 and Greenhouse Gas Emissions Dataset (annual CO2 by source, GHG totals, per-capita metrics, cumulative emissions, temperature change attribution) - Underlying sources include: BP Statistical Review of World Energy, Ember Global Electricity Review, Energy Institute Statistical Review, IPCC, Global Carbon Project, Climate Watch/CAIT, UNFCCC **Schema (60 columns):** - `country` — Country or territory name - `iso_code` — ISO 3166-1 alpha-3 country code - `year` — Year of observation (1965–2023) - `population` — Total population - `gdp` — GDP in international-$ (PPP, 2017 prices) - `electricity_generation` — Total electricity generation (TWh) - `electricity_demand` — Electricity demand (TWh) - `primary_energy_consumption` — Primary energy consumption (TWh) - `energy_per_capita` — Energy consumption per capita (kWh) - `energy_per_gdp` — Energy intensity (kWh per $) - `fossil_fuel_consumption` / `renewables_consumption` / `nuclear_consumption` — Consumption by type (TWh) - `coal_consumption` / `oil_consumption` / `gas_consumption` — Fossil fuel breakdown (TWh) - `hydro_consumption` / `solar_consumption` / `wind_consumption` / `biofuel_consumption` — Renewable breakdown (TWh) - `fossil_share_energy` / `renewables_share_energy` / `nuclear_share_energy` — Energy mix shares (%) - `coal_share_energy` / `oil_share_energy` / `gas_share_energy` — Fossil fuel shares (%) - `low_carbon_share_energy` — Low-carbon energy share (%) - `carbon_intensity_elec` — Carbon intensity of electricity (gCO2/kWh) - `co2` — Annual CO2 emissions (million tonnes) - `co2_per_capita` — CO2 per capita (tonnes) - `co2_per_gdp` / `co2_per_unit_energy` — CO2 efficiency metrics - `coal_co2` / `oil_co2` / `gas_co2` / `cement_co2` / `flaring_co2` — CO2 by source (Mt) - `total_ghg` — Total greenhouse gas emissions (MtCO2e) - `methane` / `nitrous_oxide` — Non-CO2 GHG emissions (MtCO2e) - `cumulative_co2` / `share_global_co2` / `share_global_cumulative_co2` — Global share metrics - `temperature_change_from_co2` / `temperature_change_from_ghg` — Estimated warming contribution (°C) - `data_sources` — Which source datasets contributed to each row **Coverage:** 229 countries, 1965–2023, 13,100+ observations. Data density is highest for 1990–2023 with near-complete coverage; earlier decades have sparser coverage for smaller nations. **Use cases:** Climate policy analysis, energy transition tracking, cross-country emissions benchmarking, renewable energy adoption studies, carbon intensity trends, ESG research, AI agent environmental analysis, academic research on global decarbonization pathways.
Schema
| Name | Type | Description |
|---|---|---|
| country | string | |
| iso_code | string | |
| year | string | |
| population | string | |
| gdp | string | |
| electricity_generation | string | |
| electricity_demand | string | |
| primary_energy_consumption | string | |
| energy_per_capita | string | |
| energy_per_gdp | string | |
| fossil_fuel_consumption | string | |
| renewables_consumption | string | |
| nuclear_consumption | string | |
| coal_consumption | string | |
| oil_consumption | string | |
| gas_consumption | string | |
| hydro_consumption | string | |
| solar_consumption | string | |
| wind_consumption | string | |
| biofuel_consumption | string | |
| fossil_share_energy | string | |
| renewables_share_energy | string | |
| nuclear_share_energy | string | |
| coal_share_energy | string | |
| oil_share_energy | string | |
| gas_share_energy | string | |
| low_carbon_share_energy | string | |
| carbon_intensity_elec | string | |
| coal_production | string | |
| oil_production | string | |
| gas_production | string | |
| fossil_share_elec | string | |
| renewables_share_elec | string | |
| nuclear_share_elec | string | |
| solar_share_elec | string | |
| wind_share_elec | string | |
| hydro_share_elec | string | |
| net_elec_imports | string | |
| per_capita_electricity | string | |
| co2 | string | |
| co2_per_capita | string | |
| co2_per_gdp | string | |
| co2_per_unit_energy | string | |
| co2_growth_prct | string | |
| coal_co2 | string | |
| oil_co2 | string | |
| gas_co2 | string | |
| cement_co2 | string | |
| flaring_co2 | string | |
| other_industry_co2 | string | |
| co2_including_luc | string | |
| cumulative_co2 | string | |
| share_global_co2 | string | |
| total_ghg | string | |
| ghg_per_capita | string | |
| methane | string | |
| nitrous_oxide | string | |
| share_global_cumulative_co2 | string | |
| temperature_change_from_co2 | string | |
| temperature_change_from_ghg | string | |
| data_sources | string |
Sample Data
Preview a sample of the data before downloading.
For AI Agents
# 1. Add to your agent's MCP config (claude_desktop_config.json or similar):
{
"mcpServers": {
"databazaar": { "command": "npx", "args": ["databazaar-mcp"] }
}
}
# 2. Your agent can then call:
search_datasets({ query: "Global Energy Production, Cons" })
// Found: 06111230-43ee-4d6f-9dcf-7f0468056c6b
get_download_url({ dataset_id: "06111230-43ee-4d6f-9dcf-7f0468056c6b" }) // free — no API key needed# Free dataset — no API key required: curl https://api.databazaar.io/datasets/06111230-43ee-4d6f-9dcf-7f0468056c6b/download-url