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

Renewable electricity output (% of total) by Country — History since 1960 (World Bank)

Renewable electricity output (% of total) for any country or region (ISO-2 code), with the latest value, change vs. previous year and the yearly history (default last 10 years, up to 1960). Indicator EG.ELC.RNEW.ZS.

Call it (no API key)

GET https://api.agentdatahub.de/api/v1/call/wb-renewable-electricity?country=DE&years=10&compact=1

Full metadata: without compact=1 · Markdown: format=llm · Only some fields: add &fields=a,b.c · MCP: tool call_api with {"apiId":"wb-renewable-electricity"}

Parameters

countryISO-2 country or World Bank region code, e.g. DE, US, CN, EU, 1W (world) (default: DE)
yearsNumber of most recent years to return, 1-70 (default: 10)

Example response (live, compact)

{
  "apiId": "wb-renewable-electricity",
  "data_freshness": "cached",
  "data": {
    "indicator": "EG.ELC.RNEW.ZS",
    "title": "Renewable electricity output (% of total)",
    "unit": "%",
    "country": "DE",
    "latest": {
      "year": "2021",
      "value": 39.832111961348
    },
    "change_vs_previous": {
      "year": "2020",
      "value": 44.8396245103934,
      "delta": -5.0075125
    },
    "years_available": {
      "from": "1990",
      "to": "2021",
      "count": 32
    },
    "series": [
      {
        "year": "2012",
        "value": 23.7360619053531
      },
      {
        "year": "2013",
        "value": 24.7569676577929
      },
      {
        "year": "2014",
        "value": 26.8208650442971
      },
      {
        "year": "2015",
        "value": 30.0329009777745
      },
      {
        "year": "2016",
        "value": 30.0192636163635
      },
      {
        "year": "2017",
        "value": 34.0095116739047
      },
      {
        "year": "2018",
        "value": 35.6372215317549
      },
      {
        "year": "2019",
        "value": 40.577541904412
      },
      {
        "year": "2020",
        "value": 44.8396245103934
      },
      {
        "year": "2021",
        "value": 39.832111961348
      }
    ],
    "full_history_url": "/api/v1/series/wb.EG.ELC.RNEW.ZS.DE?format=csv",
    "served_from": "archive"
  },
  "source": "World Bank World Development Indicators",
  "license": "World Bank CC-BY 4.0 Open Data"
}

Recorded history available: /api/v1/history/wb-renewable-electricity?country=DE&years=10

Source & license

SourceWorld Bank World Development Indicators
LicenseWorld Bank CC-BY 4.0 Open Data
Source URLhttps://api.worldbank.org/v2/country/DE/indicator/EG.ELC.RNEW.ZS
Termshttps://www.worldbank.org/en/about/legal/terms-of-use-for-datasets
CategoryFinance & Markets › Macro Indicators (World Bank, full history)