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

Any World Bank Indicator by Country — All ~1,500 World Development Indicators, History since 1960

Every World Development Indicator (WDI) of the World Bank for any country or region: health, education, environment, energy, infrastructure, trade, debt, poverty, gender, labour … Pass the WDI code (e.g. SH.STA.SMSS.ZS); /api/v1/ask finds the code for a question. Latest value, change and yearly history. The 66 most used indicators also have their own endpoints (wb-*).

Call it (no API key)

GET https://api.agentdatahub.de/api/v1/call/wb-indicator?indicator=SE.PRM.ENRR&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-indicator"}

Parameters

indicatorWorld Bank WDI indicator code, e.g. SH.STA.SMSS.ZS, SE.PRM.ENRR, EN.GHG.ALL.MT.CE.AR5
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-indicator",
  "data_freshness": "live",
  "data": {
    "indicator": "SE.PRM.ENRR",
    "title": "School enrollment, primary (% gross)",
    "unit": null,
    "country": "DE",
    "latest": {
      "year": "2024",
      "value": 102.638023376465
    },
    "change_vs_previous": {
      "year": "2023",
      "value": 102.190689086914,
      "delta": 0.44733429
    },
    "years_available": {
      "from": "2001",
      "to": "2024",
      "count": 24
    },
    "series": [
      {
        "year": "2015",
        "value": 102.702461242676
      },
      {
        "year": "2016",
        "value": 101.406066894531
      },
      {
        "year": "2017",
        "value": 101.738708496094
      },
      {
        "year": "2018",
        "value": 102.645378112793
      },
      {
        "year": "2019",
        "value": 102.547470092773
      },
      {
        "year": "2020",
        "value": 101.996658325195
      },
      {
        "year": "2021",
        "value": 101.346549987793
      },
      {
        "year": "2022",
        "value": 100.218132019043
      },
      {
        "year": "2023",
        "value": 102.190689086914
      },
      {
        "year": "2024",
        "value": 102.638023376465
      }
    ],
    "full_history_url": "/api/v1/series/wb.SE.PRM.ENRR.DE?format=csv",
    "original_source": "Data API, UN Educational, Scientific and Cultural Organization (UNESCO), uri: https://databrowser.uis.unesco.org/resources, note: The data are obtained through the UIS API.  Detailed documentation is ",
    "served_from": "archive (kept from the World Bank)",
    "verification": "Source adapter verified daily against the original; this series is not checked value by value."
  },
  "source": "World Bank World Development Indicators",
  "license": "World Bank CC-BY 4.0 Open Data"
}

Recorded history available: /api/v1/history/wb-indicator?indicator=SE.PRM.ENRR&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/source/2/indicator
Termshttps://www.worldbank.org/en/about/legal/terms-of-use-for-datasets
CategoryFinance & Markets › Macro Indicators (World Bank, full history)