Consumer Price Index (CPI)

The Consumer Price Index (CPI) dataset includes the national consumer price indexes by economy. In addition to the all items, headline index, detailed indexes by Division (e.g. Food and Non-alcoholic beverages, Clothing, etc.), their associated weights, and contributions to national annual inflation are published where available. One row is a monthly/quarterly/annual observation (OBS_VALUE) for a given series—identified by its dimension columns (COUNTRY, INDEX_TYPE, COICOP_1999, TYPE_OF_TRANSFORMATION, FREQUENCY)—at a TIME_PERIOD; the published data reaches 2026-Q2.

imf-cpi·7 columns·24.0 MB·IMF Copyright and Usage - Use of IMF Data·updated 22d ago
IMF

Source: IMF · connector code

Schema

COUNTRYVARCHAR
INDEX_TYPEVARCHAR
COICOP_1999VARCHAR
TYPE_OF_TRANSFORMATIONVARCHAR
FREQUENCYVARCHAR
TIME_PERIODVARCHAR
OBS_VALUEDOUBLE

Get this dataset on your machine

subsets sync --bundle medium clones the mid-size tiers as queryable local tables — use --bundle large for the widest tier

pip install subsetsio
subsets sync --bundle small # or medium, or large
subsets serve # search + SQL at http://localhost:8080

Free and open — the data syncs straight from the public bucket, and search + SQL run entirely on your machine. See docs →

Query it locally

Full docs →
Bash
subsets serve   # local API on http://localhost:8080
curl -s -X POST "http://localhost:8080/query" \
  -H "Content-Type: application/json" \
  -d '{"sql": "SELECT * FROM \"imf-cpi\" LIMIT 5"}'

No account, no API key — the data syncs straight from bundles.subsets.io and every query runs on your machine. See the local API reference.