All datasets

UK CPIH inflation by COICOP category (monthly)

Consumer Prices Index including owner occupiers' housing costs (CPIH) by 12 COICOP divisions (food, housing, transport, ...) for the United Kingdom, monthly. Office for National Statistics.

Source: Office for National Statistics5,484 rowsUpdated: 9/21/2026
inflationpricescpihuk

Quality

100

Attribution

Office for National Statistics

Schema

ColumnTypeDescription
datestringObservation period from the ONS API Time dimension (code list mmm-yy, e.g. 'Jan-24'), stored as the first day of the month.
series_idstringONS API dimension option code identifying the series (e.g. 'CP00' for the CPIH overall index).
series_labelstringSeries label published by the ONS for the dimension option code (e.g. 'Overall Index').
valuefloatObservation value returned by the ONS API. Units are Index: 2015=100. (unit: Index: 2015=100)

Sample rows

dateseries_idseries_labelvalue
1988-01-01CP0101 Food and non-alcoholic beverages47.9
1988-02-01CP0101 Food and non-alcoholic beverages48.2
1988-03-01CP0101 Food and non-alcoholic beverages48.3
1988-04-01CP0101 Food and non-alcoholic beverages48.6
1988-05-01CP0101 Food and non-alcoholic beverages48.7

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/ons/ons_cpih_by_category" | jq '{title, rows, columns_count, license}'

Python

import requests

ds = requests.get("https://datazimuts.com/v1/datasets/ons/ons_cpih_by_category").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/ons/ons_cpih_by_category

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

UK CPIH inflation by COICOP category (monthly)