Inflation, interest and real rates by country
compare_inflationWhat money earns or loses in real terms. Given countries (two or more ISO alpha-2 codes), returns side by side: consumer-price inflation (World Bank, latest annual, plus the IMF's monthly year-on-year figure where available), the central-bank policy rate (BIS, newest month; the ECB's single rate for euro-area members, flagged viaEuroArea), deposit and lending rates (World Bank, where published), and the real rates the engine computes from them by the exact Fisher relation — only when the nominal rate and the inflation figure are within a year of each other. Without countries, ranks the 41-country spine by one metric. A country missing a metric lacks the key and is dropped from a ranking, never scored 0. Real rates are ex post (last year's inflation), not expectations; a projection at the latest rate is flat, not a forecast.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Ranking direction. Ignored when `countries` is given. | highest |
| limit | No | Return at most this many countries in a ranking. | |
| metric | No | Ranking metric. Ignored when `countries` is given. | inflation |
| countries | No | Comma-separated ISO alpha-2 codes, two or more (e.g. "GB,DE,TR"). Omit to get a ranking instead. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| rows | No | ||
| metric | No | ||
| caveats | No | ||
| attribution | No |