bankofcanada.fx_rates
mock data$0.001 / callBank of Canada CAD FX Rates
Get Canadian dollar (CAD) exchange rates against major world currencies from the Bank of Canada Valet API. Returns daily average reciprocal rates: 1 CAD expressed in foreign currency units (e.g. FXCADUSD = 0.7061 means 1 CAD = 0.7061 USD). Default currencies: USD, EUR, GBP, JPY, AUD, CHF, MXN, SEK, NOK, HKD. Specify custom ISO 4217 codes via the currencies parameter. Fetch the latest rate (recent=1, default), N most-recent observations, or a date range (start_date + end_date). Data published on each Bank of Canada business day. Source: Bank of Canada, www.bankofcanada.ca — open data, attribution required.
Input schema
Number of most-recent observations to return (default 1 = latest rate only). Ignored when start_date or end_date is provided.
End date for historical range in YYYY-MM-DD format (e.g. "2026-06-22"). Use with start_date to get a specific date range.
ISO 4217 currency codes to fetch CAD rates for (e.g. ["USD","EUR","GBP","JPY"]). Omit to get all 10 default major currencies: USD, EUR, GBP, JPY, AUD, CHF, MXN, SEK, NOK, HKD.
Start date for historical range in YYYY-MM-DD format (e.g. "2026-01-01"). Use with end_date to get a specific date range.
Call via REST
curl -X POST https://unifyapi.pro/api/call/bankofcanada.fx_rates \
-H "Authorization: Bearer uak_live_..." \
-H "Content-Type: application/json" \
-d '{"recent":0,"end_date":"<end_date>","currencies":"<currencies>","start_date":"<start_date>"}'