Finance
Bank of Canada logo

Bank of Canada API

bankofcanada.ca

Bank of Canada - policy rates, exchange rates, currency conversion, publications, and economic data.

Actions
6
Category
Finance
Login
Not required
Output
JSON

Call the Bank of Canada API

Submit a task, then poll the job until it settles. This example runs act_bankofcanada_ca_currency_converter_results_ssr.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_bankofcanada_ca_currency_converter_results_ssr",
    "params": {
      "target_series": "FXUSDCAD",
      "start_range": "2017-01-01",
      "range_type": "range",
      "range_value": "1.w",
      "convert_amount": "1.00"
    }
  }'

6 actions on bankofcanada.ca

Read

  • Currency Converter Results

    act_bankofcanada_ca_currency_converter_results_ssrread2 credits / call

    Returns low, average, high, and daily CAD exchange rates for a currency pair and date range.

    target_series
    string · required
    start_range
    date · required
    range_type
    string · required
    range_value
    string · required
    convert_amount
    string · required
  • Current Daily Exchange Rates

    act_bankofcanada_ca_exchange_rate_group_currentread1 credit / call

    Returns the latest daily exchange rates for major foreign currencies against CAD.

  • Economic Indicator Series

    act_bankofcanada_ca_economic_indicator_seriesread1 credit / call

    Returns time-series observations for a single economic indicator by series ID.

    series_id
    string · required
  • Exchange Rate Chart Series

    act_bankofcanada_ca_exchange_rate_chart_seriesread2 credits / call

    Returns daily CAD exchange-rate history for multiple currency series over recent months.

    series_list
    string · required
    recent_months
    string · required
  • Homepage Policy Rate

    act_bankofcanada_ca_homepage_policy_rate_ssrread1 credit / call

    Returns the current policy interest rate and quote date from the homepage.

  • Policy Interest Rate Page

    act_bankofcanada_ca_policy_interest_rate_page_ssrread1 credit / call

    Returns the current overnight target rate and full policy rate change history.

    navigation_path
    string · required

Bank of Canada API questions

Is there an API for Bank of Canada?
Bank of Canada does not offer a public data API for this, but Anakin Wire provides 6 maintained endpoints for bankofcanada.ca. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Bank of Canada data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when bankofcanada.ca changes its markup, Anakin updates the action.
Do I need a Bank of Canada account?
No. Every Bank of Canada action listed here runs anonymously — no account and no credentials required.
What does the Bank of Canada API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Finance APIs

All Finance sites