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

Population, total by Country — History since 1960 (World Bank)

Population, 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 SP.POP.TOTL.

Call it (no API key)

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

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-population",
  "data_freshness": "cached",
  "data": {
    "indicator": "SP.POP.TOTL",
    "title": "Population, total",
    "unit": "people",
    "country": "DE",
    "latest": {
      "year": "2025",
      "value": 83491249
    },
    "change_vs_previous": {
      "year": "2024",
      "value": 83516593,
      "delta": -25344
    },
    "years_available": {
      "from": "1960",
      "to": "2025",
      "count": 66
    },
    "series": [
      {
        "year": "2016",
        "value": 82348669
      },
      {
        "year": "2017",
        "value": 82657002
      },
      {
        "year": "2018",
        "value": 82905782
      },
      {
        "year": "2019",
        "value": 83092962
      },
      {
        "year": "2020",
        "value": 83160871
      },
      {
        "year": "2021",
        "value": 83196078
      },
      {
        "year": "2022",
        "value": 83177813
      },
      {
        "year": "2023",
        "value": 83287273
      },
      {
        "year": "2024",
        "value": 83516593
      },
      {
        "year": "2025",
        "value": 83491249
      }
    ],
    "full_history_url": "/api/v1/series/wb.SP.POP.TOTL.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-population?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/SP.POP.TOTL
Termshttps://www.worldbank.org/en/about/legal/terms-of-use-for-datasets
CategoryFinance & Markets › Macro Indicators (World Bank, full history)