← Return to tool atlas

bank of canada

Bank of Canada Valet API tools: foreign exchange rates, interest rates (policy rate, CORRA, bond yields), commodity price indexes (BCPI), CPI inflation indicators, series metadata search, and group browsing.

8tools
All tools accept lang: "en" | "fr". Open each tool below for its source-derived parameters.
01

boc_get_exchange_rates

Get daily CAD exchange rates for one or all foreign currencies.

Use forgetting current or historical exchange rates between CAD and foreign

exchange, currency, forex, cad, usd, eur, gbp, jpy, rate, conversion,

ParameterTypeDefault
currencystr | NoneNone
start_datestr | NoneNone
end_datestr | NoneNone
recentint10
langLiteral['en', 'fr']'en'
02

boc_get_interest_rates

Get Bank of Canada interest rates including policy rate, CORRA, and bond yields.

Use forfetching current or historical interest rates such as the overnight

interest, rate, policy, prime, overnight, corra, bond, yield,

ParameterTypeDefault
rate_typestr'all'
start_datestr | NoneNone
end_datestr | NoneNone
recentint10
langLiteral['en', 'fr']'en'
03

boc_get_commodity_prices

Get Bank of Canada Commodity Price Index (BCPI) data by commodity category.

Use forfetching commodity price indexes for energy, metals, agriculture,

commodity, price, bcpi, energy, metals, agriculture, forestry,

ParameterTypeDefault
commodity_typestr | NoneNone
start_datestr | NoneNone
end_datestr | NoneNone
recentint10
langLiteral['en', 'fr']'en'
04

boc_get_inflation_data

Get Consumer Price Index (CPI) inflation data from the Bank of Canada.

Use forfetching current or historical inflation indicators including total

inflation, cpi, consumer, price, index, trim, median, common,

ParameterTypeDefault
indicatorstr | NoneNone
start_datestr | NoneNone
end_datestr | NoneNone
recentint10
langLiteral['en', 'fr']'en'
05

boc_search_series

Search available Bank of Canada Valet API data series by keyword.

Use forfinding the names and descriptions of available data series when

search, series, find, lookup, data, valet, available, discover,

ParameterTypeDefault
keywordstrrequired
langLiteral['en', 'fr']'en'
06

boc_get_series_metadata

Get metadata (label, description, link) for a specific Valet API series.

Use forretrieving the label and description of a known Bank of Canada

metadata, series, detail, label, description, info, FXUSDCAD,

ParameterTypeDefault
series_namestrrequired
langLiteral['en', 'fr']'en'
07

boc_get_observations

Get raw time-series observations for any Bank of Canada Valet API series.

Use fordirectly fetching observations when you know the exact series

observations, data, raw, series, values, timeseries, historical,

ParameterTypeDefault
series_namesstrrequired
start_datestr | NoneNone
end_datestr | NoneNone
recentint10
langLiteral['en', 'fr']'en'
08

boc_list_groups

List all available data group collections in the Bank of Canada Valet API.

Use fordiscovering what groups of economic data series are available,

groups, list, categories, available, collections, datasets,

ParameterTypeDefault
langLiteral['en', 'fr']'en'