> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Bond yields

> Canadian government bond yields or the yield curve on a date, e.g. the 10-year Canada yield today or its path over a month.

## 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](https://aisa.one/docs/openapi/bankofcanada-ca.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "bankofcanada-ca.economic-data.bond-yields",
  "method": "POST",
  "path": "/apis/v1/bankofcanada-ca/economic-data/bond-yields",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "examples": {
          "provider": {
            "summary": "Official provider example; checked against AIsa request constraints",
            "value": {
              "date": "2026-10-22"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "date": {
              "description": "One day, YYYY-MM-DD. Weekends and holidays have no yields (not_found). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "end_date": {
              "description": "Range end, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "recent": {
              "description": "The latest N observations per series instead of a date or range.\n\nProvider reference: minimum 1; maximum 10000.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 10000,
                "min": 1
              }
            },
            "start_date": {
              "description": "Range start, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "terms": {
              "description": "Terms to return. Default: all seven.",
              "items": {
                "type": "string"
              },
              "type": "array",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            }
          },
          "type": "object"
        }
      }
    },
    "required": false
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 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.


## OpenAPI

````yaml openapi/bankofcanada-ca.json POST /apis/v1/bankofcanada-ca/economic-data/bond-yields
openapi: 3.1.0
info:
  description: ''
  title: Bank of Canada (Valet API and press feeds)
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    bankofcanada-ca:
      description: ''
      title: Bank of Canada (Valet API and press feeds)
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: ee1849f056c093fba2e0ded13768a76c9989c1a2797f564f17d5366f32d657d0
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/bankofcanada-ca/economic-data/bond-yields
    - /apis/v1/bankofcanada-ca/economic-data/describe-series
    - /apis/v1/bankofcanada-ca/economic-data/fx-rates
    - /apis/v1/bankofcanada-ca/economic-data/news
    - /apis/v1/bankofcanada-ca/economic-data/observations
    - /apis/v1/bankofcanada-ca/economic-data/policy-rate
    - /apis/v1/bankofcanada-ca/economic-data/rate-announcements
    - /apis/v1/bankofcanada-ca/economic-data/search-series
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:75cca439601b49d056f22b37e744cf312beddf60aef989db35131e805671fa4b
    facts_hash: ee1849f056c093fba2e0ded13768a76c9989c1a2797f564f17d5366f32d657d0
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: bankofcanada-ca
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/bankofcanada-ca/economic-data/bond-yields:
    post:
      tags:
        - Bank of Canada (Valet API and press feeds)
      summary: Bond yields
      description: >-
        Canadian government bond yields or the yield curve on a date, e.g. the
        10-year Canada yield today or its path over a month.
      operationId: bankofcanada-ca.economic-data.bond-yields
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  date: '2026-10-22'
            schema:
              additionalProperties: true
              properties:
                date:
                  description: >-
                    One day, YYYY-MM-DD. Weekends and holidays have no yields
                    (not_found). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                end_date:
                  description: >-
                    Range end, YYYY-MM-DD. Pattern:
                    ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                recent:
                  description: >-
                    The latest N observations per series instead of a date or
                    range.


                    Provider reference: minimum 1; maximum 10000.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 10000
                    min: 1
                start_date:
                  description: >-
                    Range start, YYYY-MM-DD. Pattern:
                    ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                terms:
                  description: 'Terms to return. Default: all seven.'
                  items:
                    type: string
                  type: array
                  x-alexandria-option-metadata:
                    in: body
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-25T23:00:00Z.
                  summary: Official provider example
                  value:
                    attribution: 'Source: Bank of Canada'
                    latest_date: '2026-10-22'
                    observed_at_ms: 1792968769000
                    source_url: >-
                      https://www.bankofcanada.ca/valet/observations/group/bond_yields_benchmark/json?start_date=2026-10-22&end_date=2026-10-22
                    terms_url: https://www.bankofcanada.ca/terms/
                    yield_count: 7
                    yields:
                      - date: '2026-10-22'
                        label: Benchmark bond yield, 2-year
                        series: BD.CDN.2YR.DQ.YLD
                        term: 2y
                        yield_percent: 3.22
                      - date: '2026-10-22'
                        label: Benchmark bond yield, 3-year
                        series: BD.CDN.3YR.DQ.YLD
                        term: 3y
                        yield_percent: 3.32
                      - date: '2026-10-22'
                        label: Benchmark bond yield, 5-year
                        series: BD.CDN.5YR.DQ.YLD
                        term: 5y
                        yield_percent: 3.5
                      - date: '2026-10-22'
                        label: Benchmark bond yield, 7-year
                        series: BD.CDN.7YR.DQ.YLD
                        term: 7y
                        yield_percent: 3.58
                      - date: '2026-10-22'
                        label: Benchmark bond yield, 10-year
                        series: BD.CDN.10YR.DQ.YLD
                        term: 10y
                        yield_percent: 3.78
                      - date: '2026-10-22'
                        label: Benchmark bond yield, long-term
                        series: BD.CDN.LONG.DQ.YLD
                        term: long
                        yield_percent: 4.1
                      - date: '2026-10-22'
                        label: Real Return Bonds yield, long-term
                        series: BD.CDN.RRB.DQ.YLD
                        term: real_return
                        yield_percent: 1.85
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            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.


            | Documented field | Provider type | Description |

            | --- | --- | --- |

            | `attribution` | string | Required attribution under the Bank of
            Canada terms of use. |

            | `latest_date` | string |  |

            | `observed_at_ms` | number |  |

            | `source_url` | string | The Bank of Canada URL that answered (the
            first page for multi-page scans). |

            | `terms_url` | string |  |

            | `yield_count` | number |  |

            | `yields` | object[] | Newest date first, then by term. |



            These are the provider's documented fields. Field requiredness,
            nullability and nested object structures are specified only where
            the descriptions explicitly say so.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.