Skip to main content
POST
Fx rates

Request contract

  • Method and path: POST /apis/v1/bankofcanada-ca/economic-data/fx-rates
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/bankofcanada-ca/economic-data/fx-rates
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
currencies
string[]

ISO 4217 codes, e.g. ["USD", "EUR"]. Case-insensitive; CAD is not a series. Default: every currently published rate.

date
string

One day, YYYY-MM-DD. Weekends and Bank holidays have no rates (not_found). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.

end_date
string

Range end, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.

recent
number

The latest N observations per series instead of a date or range.

Provider reference: minimum 1; maximum 10000.

start_date
string

Range start, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.

Response

Bank of Canada daily average exchange rates (Canadian dollars per unit of about 26 foreign currencies, published each business day by 16:30 ET): the latest day by default, one date, a date range or the latest N days, for chosen currencies or every published rate, each with the inverse rate.

The response contains the tool result directly.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.