Bank of Canada Rate History
Daily Bank of Canada rate history for one currency against CAD.
GET
/api/v1/fx/boc/historyData source
- Bank of Canada Valet APIBank of Canada
Query parameters
| Parameter | Description | Try value |
|---|---|---|
currencystring required | 3-letter code published by the Bank of Canada | |
recentnumber | Last N observations (default 60) | |
fromdate | Start date | |
todate | End date | |
apikeystring required | Your API key. Can also be sent as the X-API-Key header. | demo key used here |
Response envelope
Success: { data, meta: { sources, fetchedAt, cached } }. Errors: { error: { code, message } } with HTTP 400, 401, 404, 502, 503 or 504.