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

Renewable energy consumption (% of final energy) by Country — History since 1960 (World Bank)

Renewable energy consumption (% of final energy) 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.FEC.RNEW.ZS.

Call it (no API key)

GET https://api.agentdatahub.de/api/v1/call/wb-renewable-energy?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-energy"}

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-energy",
  "data_freshness": "cached",
  "data": {
    "indicator": "EG.FEC.RNEW.ZS",
    "title": "Renewable energy consumption (% of final energy)",
    "unit": "%",
    "country": "DE",
    "latest": {
      "year": "2021",
      "value": 17.6
    },
    "change_vs_previous": {
      "year": "2020",
      "value": 18.5,
      "delta": -0.9
    },
    "years_available": {
      "from": "1990",
      "to": "2021",
      "count": 32
    },
    "series": [
      {
        "year": "2012",
        "value": 13.6
      },
      {
        "year": "2013",
        "value": 13.6
      },
      {
        "year": "2014",
        "value": 14
      },
      {
        "year": "2015",
        "value": 14.6
      },
      {
        "year": "2016",
        "value": 14.2
      },
      {
        "year": "2017",
        "value": 15.2
      },
      {
        "year": "2018",
        "value": 16
      },
      {
        "year": "2019",
        "value": 17.1
      },
      {
        "year": "2020",
        "value": 18.5
      },
      {
        "year": "2021",
        "value": 17.6
      }
    ],
    "full_history_url": "/api/v1/series/wb.EG.FEC.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-energy?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.FEC.RNEW.ZS
Termshttps://www.worldbank.org/en/about/legal/terms-of-use-for-datasets
CategoryFinance & Markets › Macro Indicators (World Bank, full history)