Skip to main content
POST
Observations

Request contract

  • Method and path: POST /apis/v1/bankofcanada-ca/economic-data/observations
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/bankofcanada-ca/economic-data/observations
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
end_date
string

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

group
string

One Valet group name. Exclusive with series. Pattern: ^[A-Za-z0-9._-]+$.

max_observations
number

Cap on returned values (default 2000); more is reported as partial coverage.

Provider reference: minimum 1; maximum 20000.

order
string

Row order by period key. Default desc (newest first).

Provider reference: allowed values ["asc", "desc"].

recent
number

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

Provider reference: minimum 1; maximum 10000.

recent_months
number

recent_months

Provider reference: minimum 1; maximum 10000.

recent_weeks
number

recent_weeks

Provider reference: minimum 1; maximum 10000.

recent_years
number

recent_years

Provider reference: minimum 1; maximum 10000.

series
string[]

Valet series names. Exclusive with group.

start_date
string

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

Response

Observations of any Bank of Canada Valet series (up to 20, e.g. V39079, FXUSDCAD, BD.CDN.10YR.DQ.YLD, CPI and commodity price indexes) or of one series group (e.g. CORRA, bond_yields_all, chartered_bank_interest, AUC_BOND_RESULTS auction results), for a date range, the latest N observations or the last N weeks, months or years, as one row per period and series with the raw value and its number.

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.