Central Banks & Monetary
Consumer Price Index and core measures
Total CPI year-over-year (STATIC_ATABLE_V41690973) plus the three core-inflation measures the Bank of Canada monitors:
- CPI_TRIM - CPI-trim, trims 20% of outlier prices each month
- CPI_MEDIAN - CPI-median, the 50th-percentile year-over-year change across the basket
- CPI_COMMON - CPI-common, factor-analytic estimate of common price movements
All monthly, published by Statistics Canada and mirrored via the Valet API. Bank of Canada targets 2% total CPI with a 1% to 3% band.
get/api/v1/boc/cpi
Query parameters
recent_yearsinteger
Number of years of CPI history.
Number of years of CPI history.
Response
Monthly total CPI year-over-year and three core inflation measures.
Example response
{
"meta": {
"endpoint": "/api/v1/fred/us/cpi",
"data_time": "2026-04-16T14:30:00Z",
"response_time": "2026-04-16T14:30:12Z",
"provider": "Sugra API v1.0.1",
"source": "sugra_crypto",
"attribution": "Short interest and Reg SHO daily short volume data is owned by and sourced from FINRA (Financial Industry Regulatory Authority).",
"fallback_chain": [
"sugra_crypto",
"sugra_finance"
]
}
}