Currency and finance

Bank of Canada Valet API

by bankofcanada.ca

Currency and finance Added on November 9th, 2026
Visit bankofcanada.ca →

What it does

The Valet API from the Bank of Canada gives its exchange rates and other financial series, for example the latest US dollar rate in Canadian dollars. Requests are GET calls with JSON answers. Free, no key needed, with the Bank of Canada credited as the source. The rates are indicative and not meant as a benchmark for executing trades.
  • API
  • CSV
  • HTTP-GET
  • JSON
  • REST
  • XML

At a glance

API key
Not needed · More APIs with no key
Pricing
Free, no key needed, with the Bank of Canada credited as the source.
Commercial use
Allowed on the free plan
From the browser
Yes (CORS)
Formats
JSON, XML, CSV
Interface
REST, HTTP-GET
Provider
bankofcanada.ca

More information: https://www.bankofcanada.ca/valet/docs

Is this your service? Show that it is listed

Put this badge on your website or in your README; it links to this page. About the badge

Listed on Free Web Services

Example request

curl

curl 'https://www.bankofcanada.ca/valet/observations/FXUSDCAD/json?recent=1'

JavaScript

const response = await fetch("https://www.bankofcanada.ca/valet/observations/FXUSDCAD/json?recent=1");
const data = await response.json();
console.log(data);

Python

import requests

response = requests.get(
    "https://www.bankofcanada.ca/valet/observations/FXUSDCAD/json?recent=1",
    timeout=30,
)
print(response.json())

The JavaScript works in a web page as well as in Node.js 18 or newer.

Did it work for you?

Tell us what you found when you tried Bank of Canada Valet API.