Inflation API - CPI & Economic Indicators by Country, No Key
inflation_cpi_apiInflation and CPI data by country as JSON, no API key: yearly inflation, CPI index, GDP, GDP growth, GDP per capita, unemployment, population and lending rate for 217 countries (World Bank, CC BY 4.0), plus monthly HICP inflation (yoy, mom, index) for 37 European countries from Eurostat, including the flash estimate. Adjust any amount for inflation between two years or months. Modes: latest, history, monthly, adjust. Monitor mode returns only new periods. Free: 5 calls/day per IP. Paid: Radar API key (from €9/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.01/call via x402 at https://radarbg.com/x402/inflation-cpi-api.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mode": "latest",
"countries": [
"US",
"DE",
"BG"
],
"indicators": [
"inflation",
"unemployment"
]
},
"name": "inflation_cpi_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | latest = newest yearly value per country and indicator (EU countries also get the newest monthly HICP); history = one row per country and year; monthly = Eurostat HICP per month (EU/EEA/candidate countries); adjust = what an amount from one | |
| amount | No | For adjust: the money amount to convert, e.g. 100. Default 100. | |
| toYear | No | For adjust: the target year. Default the latest year with CPI data. | |
| country | No | For adjust: one country, e.g. US or Germany. Default US. | |
| endYear | No | For history: last year. Default the latest year with data. | |
| toMonth | No | For adjust with monthly precision (EU countries, HICP index): YYYY-MM. | |
| endMonth | No | For monthly: last month YYYY-MM. Default the newest month. | |
| fromYear | No | For adjust: the year of the original amount. Default 10 years before To year. | |
| countries | No | ISO2 (US, DE, BG), ISO3 (USA, BGR) or English names (Germany). Up to 50. Empty = US, DE, GB, JP, BG. | |
| fromMonth | No | For adjust with monthly precision (EU countries, HICP index): YYYY-MM. | |
| indicator | No | For history: one indicator key, e.g. inflation or gdpGrowth. Default inflation. | |
| startYear | No | For history: first year (1960 or later). Default 10 years ago. | |
| indicators | No | For latest: inflation, cpi, gdp, gdpGrowth, gdpPerCapita, unemployment, population, interestRate (or the raw World Bank code, e.g. FP.CPI.TOTL.ZG). Empty = inflation. | |
| startMonth | No | For monthly: first month YYYY-MM. Default 24 months back. |