---
title: "Inflation, policy/deposit/lending and real rates, side by side or ranked"
method: GET
path: "/api/inflation.json"
---

# Inflation, policy/deposit/lending and real rates, side by side or ranked

`GET /api/inflation.json`

## Request

- Base URL: `https://geo-parity.com`
- URL: `https://geo-parity.com/api/inflation.json`
- Auth: one of:
  - none
  - HTTP bearer
  - API key in query parameter `key`

With `countries`: World Bank annual inflation (+ IMF monthly YoY where available), BIS policy rate (ECB's for euro members, flagged), World Bank deposit/lending rates, and engine-computed real rates (exact Fisher, same-vintage only). Without: the spine ranked by `metric`. Missing metrics are absent and dropped from rankings, never 0.

## Query parameters

- `countries` string
- `metric` 'inflation' | 'policyRate' | 'depositRate' | 'lendingRate' | 'realDepositRate' | 'realPolicyRate'
- `sort` 'highest' | 'lowest'
- `limit` number

## Response `200`

Rows with caveats and an attribution block naming World Bank, BIS and IMF

## Other responses

- `400`: Fewer than two countries (TOO_FEW) or an unrecognised metric (INVALID_METRIC)
- `422`: Country not on the spine (UNKNOWN_COUNTRY) or with no inflation figure (NO_DATA)

---

[API](https://skmtc.dev/geo-parity/apis/geo-parity-api.md) · [All operations](https://skmtc.dev/geo-parity/apis/geo-parity-api/llms.txt) · [OpenAPI document](https://skmtc.dev/geo-parity/apis/geo-parity-api/revisions/8ddff47a0806?raw)
