services / macro-data
financeoperational · 0 ms
Macroeconomic Data
Macroeconomic indicators per country from World Bank Open Data with yearly history: inflation, GDP, GDP growth, GDP per capita, unemployment, population, government debt, current account, exports, lending rate. Optionally current ECB policy rates. Params: country (ISO2 or ISO3, required), indicators (default inflation, gdp, gdp_growth, unemployment, population), years (1 to 20, default 5), include_ecb_rates (default false).
Run free trial ↗3 free calls per day with the example input. Paid: $0.003 USDC, no limit.
Call it
Input
| Field | Type | Description |
|---|---|---|
| country * | string | |
| indicators | array | |
| years | integer = 5 | |
| include_ecb_rates | boolean = false |
Output
| Field | Type | Description |
|---|---|---|
| country | string | |
| country_name | string | |
| indicators | array | |
| source | string | |
| checked_at | string |
Example response (data)
{
"country": "DE",
"country_name": "Germany",
"indicators": [
{
"indicator": "inflation",
"code": "FP.CPI.TOTL.ZG",
"label": "Inflation, consumer prices (annual %)",
"country_name": "Germany",
"latest": {
"year": 2025,
"value": 2.17178770949721
},
"history": [
{
"year": 2025,
"value": 2.17178770949721
},
{
"year": 2024,
"value": 2.2564981433876
}
]
},
{
"indicator": "unemployment",
"code": "SL.UEM.TOTL.ZS",
"label": "Unemployment (% of labor force, ILO)",
"country_name": "Germany",
"latest": {
"year": 2025,
"value": 3.711
},
"history": [
{
"year": 2025,
"value": 3.711
},
{
"year": 2024,
"value": 3.4
}
]
}
],
"source": "World Bank Open Data",
"checked_at": "2026-10-06T14:17:45.054Z"
}