Central Banks & Monetary
Consumer Price Index and core measures
Changed onTotal CPI year-over-year (STATIC_ATABLE_V41690973) plus the three core-inflation measures the Bank of Canada monitors:
- CPI_TRIM - CPI-trim, excludes 20% of the weighted monthly price changes at each tail (40% in all)
- 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
Request
- Base URL: https://sugra.ai
- URL: https://sugra.ai/api/v1/boc/cpi
- Auth: API key in header x-api-key
Query parameters
recent_yearsinteger
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",
"data_age_days": 8.532,
"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"
],
"stale_since": "2026-09-08T12:00:00Z",
"period": "2026-Q1",
"notes": "the UKMTO report behind these counts is dated 2026-08-21 and is 11 days old"
}
}Changes
- info
added the non-success response with the status
- info
- info
added the optional property
/to the response with the status
- info