← Agent Data Hub · Search endpoints · /llms.txt
Ten key World Bank indicators for one country as a compact year-by-year table (default last 10 years, up to 1960) — ideal for country comparisons and reports.
GET https://api.agentdatahub.de/api/v1/call/bundle-country-macro-history?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":"bundle-country-macro-history"}
country | ISO-2 country code (default: DE) |
years | Years to include, 1-65 (default: 10) |
{
"apiId": "bundle-country-macro-history",
"data_freshness": "live",
"data": {
"country": "DE",
"columns": {
"gdp-usd": "GDP (current US$) [USD]",
"gdp-growth": "GDP growth (annual %) [%]",
"gdp-per-capita-usd": "GDP per capita (current US$) [USD]",
"inflation": "Inflation, consumer prices (annual %) [%]",
"unemployment": "Unemployment (% of labor force) [%]",
"population": "Population, total [people]",
"government-debt": "Central government debt (% of GDP) [% of GDP]",
"current-account": "Current account balance (% of GDP) [% of GDP]",
"exports-share": "Exports of goods and services (% of GDP) [% of GDP]",
"co2-per-capita": "CO2 emissions per capita (t CO2e, excl. LULUCF) [t CO2e]"
},
"rows": [
{
"year": "2016",
"gdp-usd": 3536790000000,
"gdp-growth": 2.22222,
"gdp-per-capita-usd": 42948.9,
"inflation": 0.491747,
"unemployment": 4.104,
"population": 82348700,
"current-account": 8.90236,
"exports-share": 41.6355,
"co2-per-capita": 9.58423
},
{
"year": "2017",
"gdp-usd": 3765350000000,
"gdp-growth": 2.79791,
"gdp-per-capita-usd": 45553.9,
"inflation": 1.50949,
"unemployment": 3.781,
"population": 82657000,
"current-account": 8.07874,
"exports-share": 42.203,
"co2-per-capita": 9.36977
},
{
"year": "2018",
"gdp-usd": 4055430000000,
"gdp-growth": 1.1357,
"gdp-per-capita-usd": 48916.2,
"inflation": 1.73217,
"unemployment": 3.384,
"population": 82905800,
"current-account": 8.43761,
"exports-share": 42.4969,
"co2-per-capita": 9.00658
},
{
"year": "2019",
"gdp-usd": 3959890000000,
"gdp-growth": 0.977735,
"gdp-per-capita-usd": 47656.2,
"inflation": 1.44566,
"unemployment": 3.163,
"population": 83093000,
"current-account": 7.87471,
"exports-share": 42.3402,
"co2-per-capita": 8.38218
},
{
"year": "2020",
"gdp-usd": 3941400000000,
"gdp-growth": -4.13191,
"gdp-per-capita-usd": 47394.9,
"inflation": 0.144878,
"unemployment": 3.881,
"population": 83160900,
"current-account": 6.34783,
"exports-share": 39.1198,
"co2-per-capita": 7.72103
},
{
"year": "2021",
"gdp-usd": 4355250000000,
"gdp-growth": 3.91,
"gdp-per-capita-usd": 52349.2,
"inflation": 3.06667,
"unemployment": 3.594,
"population": 83196100,
"current-account": 6.92007,
"exports-share": 42.5198,
"co2-per-capita": 8.06128
},
{
"year": "2022",
"gdp-usd": 4201020000000,
"gdp-growth": 1.80926,
"gdp-per-capita-usd": 50506.5,
"inflation": 6.87257,
"unemployment": 3.137,
"population": 83177800,
"current-account": 4.11376,
"exports-share": 45.6284,
"co2-per-capita": 7.91183
},
{
"year": "2023",
"gdp-usd": 4562210000000,
"gdp-growth": -0.869648,
"gdp-per-capita-usd": 54776.8,
"inflation": 5.94644,
"unemployment": 3.071,
"population": 83287300,
"current-account": 5.50327,
"exports-share": 42.9673,
"co2-per-capita": 7.07983
},
{
"year": "2024",
"gdp-usd": 4685590000000,
"gdp-growth": -0.495852,
"gdp-per-capita-usd": 56103.7,
"inflation": 2.2565,
"unemployment": 3.4,
"population": 83516600,
"current-account": 5.89381,
"exports-share": 41.4341,
"co2-per-capita": 6.94396
},
{
"year": "2025",
"gdp-usd": 5050920000000,
"gdp-growth": 0.239578,
"gdp-per-capita-usd": 60496.4
… (truncated)
| Source | World Bank World Development Indicators (bundle) |
| License | World Bank CC-BY 4.0 Open Data |
| Source URL | https://api.worldbank.org/v2 |
| Terms | https://www.worldbank.org/en/about/legal/terms-of-use-for-datasets |
| Category | AI Agent Bundles › Task Bundles |