← Agent Data Hub · Search endpoints · /llms.txt
Official World Bank Consumer Price Index (CPI) annual inflation rates for any country.
GET https://api.agentdatahub.de/api/v1/call/macro-country-inflation?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-country-inflation"}
country | ISO-2 country code e.g. DE, US, CH, GB, FR, JP, CN (default: DE) |
{
"apiId": "macro-country-inflation",
"data_freshness": "cached",
"data": {
"country": "DE",
"country_name": "Germany",
"indicator_code": "FP.CPI.TOTL.ZG",
"indicator_name": "Inflation, consumer prices (annual %)",
"unit": "Annual %",
"latest_year": "2025",
"latest_value": 2.17,
"history": [
{
"year": "2025",
"value": 2.17
},
{
"year": "2024",
"value": 2.26
},
{
"year": "2023",
"value": 5.95
},
{
"year": "2022",
"value": 6.87
},
{
"year": "2021",
"value": 3.07
},
{
"year": "2020",
"value": 0.14
}
]
},
"source": "World Bank Open Data API (FP.CPI.TOTL.ZG)",
"license": "World Bank CC-BY 4.0 Open Data"
}
Recorded history available: /api/v1/history/macro-country-inflation?country=DE
| Source | World Bank Open Data API (FP.CPI.TOTL.ZG) |
| License | World Bank CC-BY 4.0 Open Data |
| Source URL | https://api.worldbank.org/v2/country/DE/indicator/FP.CPI.TOTL.ZG?format=json |
| Terms | https://www.worldbank.org/en/about/legal/terms-of-use-for-datasets |
| Category | Finance & Markets › 6. Macroeconomics & Central Banks |