All datasets

Consumer Price Index

The monthly series group that includes the Consumer Price Index (CPI) and its core inflation measures, such as CPI-trim and CPI-median.

Source: Bank of Canada Valet3,360 rowsUpdated: 9/21/2026
cpiinflationpricescanada

Quality

100

Attribution

Bank of Canada (Valet web service)

Schema

ColumnTypeDescription
datestringDate of the observation, as published by the Bank of Canada (the observation's 'd' field).
series_idstringValet series name (for example 'BD.CDN.2YR.DQ.YLD'); the unique identifier of the series in the Bank of Canada Valet API.
series_labelstringHuman-readable series label published by the Bank of Canada in the series detail.
valuefloatObserved value for the series and date (the 'v' field of the Valet observation record). Units follow the series definition in the dataset description. Missing observations are null.

Sample rows

dateseries_idseries_labelvalue
2000-01-01ATOM_V41693242CPIX, percentage change year-over-year (unadjusted)1.2
2000-02-01ATOM_V41693242CPIX, percentage change year-over-year (unadjusted)1.3
2000-03-01ATOM_V41693242CPIX, percentage change year-over-year (unadjusted)1.3
2000-04-01ATOM_V41693242CPIX, percentage change year-over-year (unadjusted)1.2
2000-05-01ATOM_V41693242CPIX, percentage change year-over-year (unadjusted)1.1

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

Python

import requests

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

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

Consumer Price Index