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.
lang: "en" | "fr". Open each tool below for its source-derived parameters.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,
| Parameter | Type | Default |
|---|---|---|
currency | str | None | None |
start_date | str | None | None |
end_date | str | None | None |
recent | int | 10 |
lang | Literal['en', 'fr'] | 'en' |
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,
| Parameter | Type | Default |
|---|---|---|
rate_type | str | 'all' |
start_date | str | None | None |
end_date | str | None | None |
recent | int | 10 |
lang | Literal['en', 'fr'] | 'en' |
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,
| Parameter | Type | Default |
|---|---|---|
commodity_type | str | None | None |
start_date | str | None | None |
end_date | str | None | None |
recent | int | 10 |
lang | Literal['en', 'fr'] | 'en' |
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,
| Parameter | Type | Default |
|---|---|---|
indicator | str | None | None |
start_date | str | None | None |
end_date | str | None | None |
recent | int | 10 |
lang | Literal['en', 'fr'] | 'en' |
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,
| Parameter | Type | Default |
|---|---|---|
keyword | str | required |
lang | Literal['en', 'fr'] | 'en' |
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,
| Parameter | Type | Default |
|---|---|---|
series_name | str | required |
lang | Literal['en', 'fr'] | 'en' |
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,
| Parameter | Type | Default |
|---|---|---|
series_names | str | required |
start_date | str | None | None |
end_date | str | None | None |
recent | int | 10 |
lang | Literal['en', 'fr'] | 'en' |
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,
| Parameter | Type | Default |
|---|---|---|
lang | Literal['en', 'fr'] | 'en' |