Bank of Canada Valet Series Lookup
bankofcanada.data.seriesRetrieve observations for any Bank of Canada Valet series by series code(s). Supports one or multiple comma-separated codes (e.g. "FXCADUSD,FXCADEUR" or "V39079"). Browse all available series at https://www.bankofcanada.ca/valet/lists/series/json — over 8,000 series covering FX rates, interest rates, inflation, commodity prices, credit aggregates, and more. Key codes: FXCADUSD (CAD/USD), V39079 (overnight target rate), V80691311 (prime rate), STATIC_TOTALCPICHANGE (total CPI % YoY), CPIW, CPI_MEDIAN, A.BCPI (annual commodity price index). Returns latest values, full series metadata, and history for the requested date range. Source: Bank of Canada, www.bankofcanada.ca — open data, attribution required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recent | No | Number of most-recent observations to return (default 10). Ignored when start_date or end_date is provided. | |
| end_date | No | End date for historical range in YYYY-MM-DD format (e.g. "2026-06-22"). | |
| start_date | No | Start date for historical range in YYYY-MM-DD format (e.g. "2020-01-01"). | |
| series_codes | Yes | One or more Bank of Canada Valet series codes, comma-separated (e.g. "FXCADUSD", "V39079,V80691311", "STATIC_TOTALCPICHANGE"). Browse available series at https://www.bankofcanada.ca/valet/lists/series/json. Key codes: FXCADUSD (CAD/USD rate), V39079 (overnight target rate), V80691311 (prime rate), STATIC_TOTALCPICHANGE (total CPI % change YoY), CPIW (CPIW % change YoY), CPI_MEDIAN (CPI-median), A.BCPI (annual commodity price index). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |