{"api":{"id":"api_48600e567d5475b854d0909b","slug":"electricity-generation-by-country","name":"Electricity Generation & Emissions by Country API","description":"Monthly electricity generation by country and source, with share of the mix, year-on-year change, emissions and carbon intensity, from Ember. One record per area, month and source.","kind":"ready_made","visibility":"public","domain":"files.ember-energy.org","source_url":"https://files.ember-energy.org/public-downloads/generation/outputs/release_generation_monthly_global.csv","category":"environment","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":17,"created_at":"2026-12-06T03:57:27.638Z","updated_at":"2026-12-06T03:57:27.638Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"id","type":"string","description":"Area code or name, month and source joined with |.","required":true,"coverage":1,"example":"CAN|2026-09|Wind"},{"name":"area","type":"string","description":"Country or region name.","required":false,"coverage":1,"example":"Canada"},{"name":"iso3","type":"string","description":"3-letter country code; empty for regions.","required":false,"coverage":1,"example":"CAN"},{"name":"date","type":"date","description":"First day of the month.","required":false,"coverage":1,"example":"2026-09-01"},{"name":"area_type","type":"string","description":"Country or economy, or Region.","required":false,"coverage":1,"example":"Country or economy"},{"name":"source","type":"string","description":"Electricity source or aggregate.","required":false,"coverage":1,"example":"Wind"},{"name":"is_aggregated_source","type":"boolean","description":"True for totals such as Clean or Fossil.","required":false,"coverage":1,"example":false},{"name":"generation_twh","type":"number","description":"Electricity generated in terawatt-hours.","required":false,"coverage":1,"example":3.532},{"name":"generation_yoy_change_pct","type":"number","description":"Change versus the same month a year earlier, percent.","required":false,"coverage":1,"example":23.281},{"name":"share_of_generation_pct","type":"number","description":"Share of total generation, percent.","required":false,"coverage":1,"example":7.34},{"name":"emissions_mtco2e","type":"number","description":"Emissions in million tonnes CO2 equivalent.","required":false,"coverage":1,"example":0.034},{"name":"emissions_intensity_gco2_per_kwh","type":"number","description":"Grams CO2 equivalent per kWh.","required":false,"coverage":1,"example":9.626},{"name":"continent","type":"string","description":"Continent.","required":false,"coverage":1,"example":"North America"},{"name":"region","type":"string","description":"Ember region.","required":false,"coverage":1,"example":"North America"},{"name":"is_eu_member","type":"boolean","description":"Member of the EU.","required":false,"coverage":1,"example":false},{"name":"is_oecd_member","type":"boolean","description":"Member of the OECD.","required":false,"coverage":1,"example":true},{"name":"is_g20_member","type":"boolean","description":"Member of the G20.","required":false,"coverage":1,"example":true}],"inputs":[{"name":"countries","type":"array","description":"Country or region names, or 3-letter codes.","example":["Canada","Germany"]},{"name":"sources","type":"array","description":"Electricity sources, such as Solar, Wind, Hydro, Nuclear, Coal, Gas.","example":["Wind","Solar"]},{"name":"start","type":"string","description":"From this month, YYYY-MM.","example":"2026-01"},{"name":"end","type":"string","description":"Until this month, YYYY-MM.","example":"2026-10"},{"name":"include_aggregates","type":"boolean","description":"Include totals such as Clean, Fossil and Total generation (default true).","example":true}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"area":{"description":"Country or region name.","type":"string"},"area_type":{"description":"Country or economy, or Region.","type":"string"},"continent":{"description":"Continent.","type":"string"},"date":{"description":"First day of the month.","format":"date","type":"string"},"emissions_intensity_gco2_per_kwh":{"description":"Grams CO2 equivalent per kWh.","type":"number"},"emissions_mtco2e":{"description":"Emissions in million tonnes CO2 equivalent.","type":"number"},"generation_twh":{"description":"Electricity generated in terawatt-hours.","type":"number"},"generation_yoy_change_pct":{"description":"Change versus the same month a year earlier, percent.","type":"number"},"id":{"description":"Area code or name, month and source joined with |.","type":"string"},"is_aggregated_source":{"description":"True for totals such as Clean or Fossil.","type":"boolean"},"is_eu_member":{"description":"Member of the EU.","type":"boolean"},"is_g20_member":{"description":"Member of the G20.","type":"boolean"},"is_oecd_member":{"description":"Member of the OECD.","type":"boolean"},"iso3":{"description":"3-letter country code; empty for regions.","type":"string"},"region":{"description":"Ember region.","type":"string"},"share_of_generation_pct":{"description":"Share of total generation, percent.","type":"number"},"source":{"description":"Electricity source or aggregate.","type":"string"}},"required":["id"],"title":"Electricity Generation & Emissions by Country API","type":"object"},"samples":[{"id":"CAN|2026-09|Wind","area":"Canada","iso3":"CAN","date":"2026-09-01","area_type":"Country or economy","source":"Wind","is_aggregated_source":false,"generation_twh":3.532,"generation_yoy_change_pct":23.281,"share_of_generation_pct":7.34,"emissions_mtco2e":0.034,"emissions_intensity_gco2_per_kwh":9.626,"continent":"North America","region":"North America","is_eu_member":false,"is_oecd_member":true,"is_g20_member":true},{"id":"CAN|2026-08|Wind","area":"Canada","iso3":"CAN","date":"2026-08-01","area_type":"Country or economy","source":"Wind","is_aggregated_source":false,"generation_twh":2.653,"generation_yoy_change_pct":1.028,"share_of_generation_pct":5.116,"emissions_mtco2e":0.025,"emissions_intensity_gco2_per_kwh":9.423,"continent":"North America","region":"North America","is_eu_member":false,"is_oecd_member":true,"is_g20_member":true},{"id":"CAN|2026-07|Wind","area":"Canada","iso3":"CAN","date":"2026-07-01","area_type":"Country or economy","source":"Wind","is_aggregated_source":false,"generation_twh":3.092,"generation_yoy_change_pct":14.307,"share_of_generation_pct":5.671,"emissions_mtco2e":0.03,"emissions_intensity_gco2_per_kwh":9.702,"continent":"North America","region":"North America","is_eu_member":false,"is_oecd_member":true,"is_g20_member":true}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"area":1,"area_type":1,"continent":1,"date":1,"emissions_intensity_gco2_per_kwh":1,"emissions_mtco2e":1,"generation_twh":1,"generation_yoy_change_pct":1,"id":1,"is_aggregated_source":1,"is_eu_member":1,"is_g20_member":1,"is_oecd_member":1,"iso3":1,"region":1,"share_of_generation_pct":1,"source":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_48600e567d5475b854d0909b/run","openapi":"https://pullrow.dev/v1/apis/api_48600e567d5475b854d0909b/openapi.json","contract":"https://pullrow.dev/v1/apis/api_48600e567d5475b854d0909b/contract.json","page":"https://pullrow.dev/catalog/electricity-generation-by-country"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Data is from Ember (CC BY 4.0: credit Ember when you publish it). It is monthly and updated by Ember about monthly; the latest month can be missing for some countries.","Give at least one of countries, sources, start or end. Country names are English (Canada, Germany, World) or 3-letter codes (CAN, DEU); regions such as EU and Asia are included.","Sources include single fuels (Wind, Solar, Coal...) and aggregates (Clean, Fossil, Renewables, Total generation, Demand); is_aggregated_source tells them apart. Set include_aggregates to false to keep single fuels only.","Every run downloads Ember's whole file (about 30 MB; allow about a minute) and filters it; results are newest month first, at most 50,000 per run.","Emissions and intensity are empty for some sources (for example Demand and Net imports), and year-on-year changes are empty for a first year."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"Area code or name, month and source joined with |.","group":"Technical","shown":false,"written":false},{"name":"area","label":"Area","description":"Country or region name.","group":"Basics","shown":true,"written":false},{"name":"iso3","label":"ISO 3","description":"3-letter country code; empty for regions.","group":"Basics","shown":true,"written":false},{"name":"date","label":"Date","description":"First day of the month.","group":"Dates","shown":true,"written":false},{"name":"area_type","label":"Area type","description":"Country or economy, or Region.","group":"Basics","shown":true,"written":false},{"name":"source","label":"Electricity source or aggregate","description":"","group":"Basics","shown":true,"written":false},{"name":"is_aggregated_source","label":"Aggregated source","description":"True for totals such as Clean or Fossil.","group":"Basics","shown":true,"written":false},{"name":"generation_twh","label":"Generation twh","description":"Electricity generated in terawatt-hours.","group":"Basics","shown":true,"written":false},{"name":"generation_yoy_change_pct","label":"Generation yoy change (%)","description":"Change versus the same month a year earlier, percent.","group":"Basics","shown":true,"written":false},{"name":"share_of_generation_pct","label":"Share of generation (%)","description":"Share of total generation, percent.","group":"Basics","shown":true,"written":false},{"name":"emissions_mtco2e","label":"Emissions mtco 2e","description":"Emissions in million tonnes CO2 equivalent.","group":"Basics","shown":true,"written":false},{"name":"emissions_intensity_gco2_per_kwh","label":"Emissions intensity gco 2 per (kWh)","description":"Grams CO2 equivalent per kWh.","group":"Basics","shown":true,"written":false},{"name":"continent","label":"Continent","description":"","group":"Basics","shown":true,"written":false},{"name":"region","label":"Ember region","description":"","group":"Location","shown":true,"written":false},{"name":"is_eu_member","label":"EU member","description":"","group":"Basics","shown":true,"written":false},{"name":"is_oecd_member","label":"Oecd member","description":"","group":"Basics","shown":true,"written":false},{"name":"is_g20_member","label":"G 20 member","description":"Member of the G20.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"countries","label":"Countries","help":"Country or region names, or 3-letter codes.","example":"Canada, Germany","written":false},{"name":"sources","label":"Sources","help":"Electricity sources, such as Solar, Wind, Hydro, Nuclear, Coal, Gas.","example":"Wind, Solar","written":false},{"name":"start","label":"Start","help":"From this month, YYYY-MM.","example":"2026-01","written":false},{"name":"end","label":"End","help":"Until this month, YYYY-MM.","example":"2026-10","written":false},{"name":"include_aggregates","label":"Include aggregates","help":"Include totals such as Clean, Fossil and Total generation (default true).","example":"true","written":false}]}},"incidents":[]}