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

Total Country Population (Millions) & Demographic Trend

Official World Bank total population count in millions with historical demographic series.

Call it (no API key)

GET https://api.agentdatahub.de/api/v1/call/macro-population-demographics?country=DE&compact=1

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

Parameters

countryISO-2 country code e.g. DE, US, CH, GB, FR, JP, CN (default: DE)

Example response (live, compact)

{
  "apiId": "macro-population-demographics",
  "data_freshness": "cached",
  "data": {
    "country": "DE",
    "country_name": "Germany",
    "indicator_code": "SP.POP.TOTL",
    "indicator_name": "Population, total",
    "unit": "Millions",
    "latest_year": "2025",
    "latest_value": 83.49,
    "history": [
      {
        "year": "2025",
        "value": 83.49
      },
      {
        "year": "2024",
        "value": 83.52
      },
      {
        "year": "2023",
        "value": 83.29
      },
      {
        "year": "2022",
        "value": 83.18
      },
      {
        "year": "2021",
        "value": 83.2
      },
      {
        "year": "2020",
        "value": 83.16
      }
    ]
  },
  "source": "World Bank Open Data API (SP.POP.TOTL)",
  "license": "World Bank CC-BY 4.0 Open Data"
}

Recorded history available: /api/v1/history/macro-population-demographics?country=DE

Source & license

SourceWorld Bank Open Data API (SP.POP.TOTL)
LicenseWorld Bank CC-BY 4.0 Open Data
Source URLhttps://api.worldbank.org/v2/country/DE/indicator/SP.POP.TOTL?format=json
Termshttps://www.worldbank.org/en/about/legal/terms-of-use-for-datasets
CategoryFinance & Markets › 6. Macroeconomics & Central Banks