UnifyAPI
← Back to catalog

bankofcanada.inflation

mock data$0.001 / call

Bank of Canada Inflation (CPI)

Get Canadian Consumer Price Index (CPI) inflation measures published by the Bank of Canada Valet API. Returns four monthly series as year-over-year percentage changes: total_cpi_yoy_pct (all-items CPI), core_cpi_yoy_pct (CPI excluding food and energy), cpiw_yoy_pct (CPIW — basket-weight-adjusted measure), cpi_median_yoy_pct (median year-over-year CPI change). Default: 12 most-recent monthly observations (one year). Use start_date/end_date for historical ranges. These are the Bank of Canada's key inflation tracking measures, used to assess achievement of the 2% inflation target. Source: Bank of Canada, www.bankofcanada.ca — open data, attribution required.

Financeprovider: Bankofcanada#bankofcanada#finance

Input schema

recent

Number of most-recent monthly observations to return (default 12 = one year). CPI data is published monthly by Statistics Canada. Ignored when start_date or end_date is provided.

integer
end_date

End date for historical range in YYYY-MM-DD format (e.g. "2026-05-01"). Defaults to the most recent available month.

string
start_date

Start date for historical range in YYYY-MM-DD format (e.g. "2020-01-01"). Monthly data — use the first of the month.

string

Call via REST

curl -X POST https://unifyapi.pro/api/call/bankofcanada.inflation \
  -H "Authorization: Bearer uak_live_..." \
  -H "Content-Type: application/json" \
  -d '{"recent":0,"end_date":"<end_date>","start_date":"<start_date>"}'

Try it

Paste a UnifyAPI key (create one in the dashboard) and run a real call.