← Agent Data Hub · Search endpoints · /llms.txt

Electricity Mix of Almost Every Country — Renewables, Solar, Wind, Coal, Gas, Nuclear Shares and Generation, Yearly

Yearly electricity data by country from Ember: share of renewables, low-carbon sources, fossil fuels, solar, wind, hydro, nuclear, coal and gas in power generation, total generation and demand in TWh. Options for series: country: AE, AF, AG, AL, AM, AO, AR, AT, AU, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BN, BO, BR, BS, BT, BW, BY, BZ, CA, CD, CF, CG, CH, CI, CL, CM, CN, CO, CR, CU, CV, CY, CZ, DE, DJ, DK, DM, DO, DZ, EC, EE, EG, ER, ES, ET, FI, FJ, FR, GA, GB, GD, GE, GH, GM, GN, GQ, GR, GT, GW, GY, HN, HR, HT, HU, ID, IE, IL, IN, IQ, IR, IS, IT, JM, JO, JP, KE, KG, KH, KI, KM, KN, KP, KR, KW, KZ, LA, LB, LC, LK, LR, LS, LT, LU, LV, LY, MA, MD, ME, MG, MK, ML, MM, MN, MR, MT, MU, MV, MW, MX, MY, MZ, NA, NE, NG, NI, NL, NO, NP, NR, NZ, OM, PA, PE, PG, PH, PK, PL, PT, PY, QA, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SI, SK, SL, SN, SO, SR, SS, ST, SV, SY, SZ, TD, TG, TH, TJ, TM, TN, TO, TR, TT, TZ, UG, US, UY, UZ, VC, VE, VN, VU, WS, YE, ZA, ZM, ZW; measure: renewables-share, clean-share, fossil-share, wind-solar-share, solar-share, wind-share, hydro-share, nuclear-share, coal-share, gas-share, total-generation, demand.

Call it (no API key)

GET https://api.agentdatahub.de/api/v1/call/electricity-mix-by-country?country=AE&measure=renewables-share&compact=1

Full metadata: verbose=1 · Markdown: format=llm · Only some fields: add &fields=a,b.c · MCP: tool call_api with {"apiId":"electricity-mix-by-country"}

Parameters

countryCountry, ISO-2 code (required; several comma-separated to compare, up to 10 series): AE, AF, AG, AL, AM, AO, AR, AT, AU, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BN, BO, BR, BS, BT, BW, BY, BZ, CA, CD, CF, CG, CH, CI, CL, CM, CN, CO, CR, CU, CV, CY, CZ, DE, DJ, DK, DM, DO, DZ, EC, EE, EG, ER, ES, ET, FI, FJ, FR, GA, GB, GD, GE, GH, GM, GN, GQ, GR, GT, GW, GY, HN, HR, HT, HU, ID, IE, IL, IN, IQ, IR, IS, IT, JM, JO, JP, KE, KG, KH, KI, KM, KN, KP, KR, KW, KZ, LA, LB, LC, LK, LR, LS, LT, LU, LV, LY, MA, MD, ME, MG, MK, ML, MM, MN, MR, MT, MU, MV, MW, MX, MY, MZ, NA, NE, NG, NI, NL, NO, NP, NR, NZ, OM, PA, PE, PG, PH, PK, PL, PT, PY, QA, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SI, SK, SL, SN, SO, SR, SS, ST, SV, SY, SZ, TD, TG, TH, TJ, TM, TN, TO, TR, TT, TZ, UG, US, UY, UZ, VC, VE, VN, VU, WS, YE, ZA, ZM, ZW
measureWhat to show (required; several comma-separated to compare, up to 10 series): renewables-share, clean-share, fossil-share, wind-solar-share, solar-share, wind-share, hydro-share, nuclear-share, coal-share, gas-share, total-generation, demand
seriesOptional full series key as returned by /ask (instead of the parameters above), comma-separated for several
fromOptional start YYYY, YYYY-MM or YYYY-MM-DD
toOptional end YYYY, YYYY-MM or YYYY-MM-DD
lastNumber of most recent periods when no from/to is given, 1-500 (default: 13)

Example response (live, compact)

{
  "apiId": "electricity-mix-by-country",
  "data_freshness": "cached",
  "data": {
    "country": "AE",
    "measure": "renewables-share",
    "series": "United Arab Emirates, share of renewables in electricity generation (Ember)",
    "unit": "%",
    "frequency": "A",
    "latest": {
      "period": "2025",
      "value": 10.4
    },
    "history": [
      {
        "period": "2013",
        "value": 0.079
      },
      {
        "period": "2014",
        "value": 0.267
      },
      {
        "period": "2015",
        "value": 0.236
      },
      {
        "period": "2016",
        "value": 0.244
      },
      {
        "period": "2017",
        "value": 0.554
      },
      {
        "period": "2018",
        "value": 0.881
      },
      {
        "period": "2019",
        "value": 2.641
      },
      {
        "period": "2020",
        "value": 3.776
      },
      {
        "period": "2021",
        "value": 4.195
      },
      {
        "period": "2022",
        "value": 4.99
      },
      {
        "period": "2023",
        "value": 8.733
      },
      {
        "period": "2024",
        "value": 8.555
      },
      {
        "period": "2025",
        "value": 10.4
      }
    ],
    "available": {
      "from": "1985",
      "to": "2025",
      "points": 41
    },
    "verification": {
      "checked_at": "2026-11-05T13:54:19.723Z",
      "checks": []
    },
    "source": {
      "publisher": "Ember",
      "licence": "CC BY 4.0",
      "licence_url": "https://ember-energy.org/creative-commons/",
      "series_title": "ARE Renewables"
    },
    "attribution": "Source: Ember, Yearly Electricity Data (CC BY 4.0)"
  },
  "source": "Ember",
  "source_url": "https://ember-energy.org/creative-commons/",
  "license": "CC BY 4.0",
  "licence_status": "green"
}

Recorded history available: /api/v1/history/electricity-mix-by-country?country=AE&measure=renewables-share

Source & license

SourceEmber
LicenseCC BY 4.0
Source URLhttps://ember-energy.org/creative-commons/
Termshttps://ember-energy.org/creative-commons/
CategoryEnergy & Climate › Electricity by Country