Skip to main content
POST
Bond yields

Request contract

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

One day, YYYY-MM-DD. Weekends and holidays have no yields (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}$.

terms
string[]

Terms to return. Default: all seven.

Response

Government of Canada benchmark bond yields from the Bank of Canada (Valet group bond_yields_benchmark): 2, 3, 5, 7 and 10-year, long-term and Real Return Bond yields in percent, for the latest business day, one date, a range or the latest N days.

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.