Skip to main content

Notes

  • Free and keyless; no credentials.
  • Data is organised as series (one time series, e.g. FXUSDCAD) and groups (a named set of series, e.g. FX_RATES_DAILY). Find names with bankofcanada.search.series / bankofcanada.search.groups or bankofcanada.lists.
  • Most paths end in a format segment: json, csv or xml. Use json unless a file is wanted.
  • Exchange-rate series are named FX[currency1][currency2] (FXUSDCAD); rates are indicative, published once each business day by 16:30 ET.
  • Data can lag publication briefly; if today’s value is missing, check again later in the day.

Endpoints

Get series observations

  • recent, recent_weeks, recent_months and recent_years cannot be combined with start_date/end_date.
  • Date filters apply only to time series.

Get group observations

  • recent_* parameters cannot be combined with start_date/end_date.

Get series details

Get group details

List all series or groups

  • The series list is large; prefer bankofcanada.search.series to find a series by keyword.

Search series

  • No match or a page past the end returns 200 with a message field, not an error.

Search groups

  • No match or a page past the end returns 200 with a message field, not an error.