All datasets

Inflation rate, average consumer prices

The average consumer price index (CPI) is a measure of a country's average level of prices based on the cost of a typical basket of consumer goods and services in a given period. The rate of inflation is the percent change in the average CPI.

Source: IMF DataMapper10,789 rowsUpdated: 9/21/2026
inflationcpimacroeconomicsimf

Quality

92.5

Attribution

International Monetary Fund (IMF DataMapper)

Schema

ColumnTypeDescription
country_codestringIMF country code (ISO 3166-1 alpha-3).
country_namestringCountry label from the IMF DataMapper country list.
yearintegerCalendar year of the observation.
valuefloatIndicator value for the country and year, as defined by the IMF World Economic Outlook (see the dataset description). Missing values are null. (unit: annual % change)

Sample rows

country_codecountry_nameyearvalue
ABWAruba19873.6
ABWAruba19883.1
ABWAruba19894
ABWAruba19905.8
ABWAruba19915.6

Use with an LLM

Point any LLM at the metadata endpoint — the documentation above is machine-readable too (JSON-LD + Croissant).

cURL

curl "https://datazimuts.com/v1/datasets/imf/imf_inflation_cpi" | jq '{title, rows, columns_count, license}'

Python

import requests

ds = requests.get("https://datazimuts.com/v1/datasets/imf/imf_inflation_cpi").json()
print(ds["title"], ds["rows"], "rows")

# Sample rows for an LLM context window
for row in ds.get("sample_rows", [])[:5]:
    print(row)

API endpoint: https://datazimuts.com/v1/datasets/imf/imf_inflation_cpi

Tip: fetch /llms.txt for the full machine-readable catalog.