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

# Fx rates

> Official CAD exchange rates, e.g. USD/CAD on a date, the latest EUR/CAD, a month of rates for invoicing or tax conversions.

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

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "bankofcanada-ca.economic-data.fx-rates",
  "method": "POST",
  "path": "/apis/v1/bankofcanada-ca/economic-data/fx-rates",
  "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": {
              "currencies": [
                "USD",
                "EUR"
              ],
              "date": "2026-10-23"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "currencies": {
              "description": "ISO 4217 codes, e.g. [\"USD\", \"EUR\"]. Case-insensitive; CAD is not a series. Default: every currently published rate.",
              "items": {
                "type": "string"
              },
              "type": "array",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "date": {
              "description": "One day, YYYY-MM-DD. Weekends and Bank holidays have no rates (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"
              }
            }
          },
          "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/fx-rates
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/fx-rates:
    post:
      tags:
        - Bank of Canada (Valet API and press feeds)
      summary: Fx rates
      description: >-
        Official CAD exchange rates, e.g. USD/CAD on a date, the latest EUR/CAD,
        a month of rates for invoicing or tax conversions.
      operationId: bankofcanada-ca.economic-data.fx-rates
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  currencies:
                    - USD
                    - EUR
                  date: '2026-10-23'
            schema:
              additionalProperties: true
              properties:
                currencies:
                  description: >-
                    ISO 4217 codes, e.g. ["USD", "EUR"]. Case-insensitive; CAD
                    is not a series. Default: every currently published rate.
                  items:
                    type: string
                  type: array
                  x-alexandria-option-metadata:
                    in: body
                date:
                  description: >-
                    One day, YYYY-MM-DD. Weekends and Bank holidays have no
                    rates (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
              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'
                    currencies:
                      - EUR
                      - USD
                    latest_date: '2026-10-23'
                    note: >-
                      Bank of Canada daily exchange rates are indicative
                      averages of aggregated quotes, published once each
                      business day by 16:30 ET as Canadian dollars per unit of
                      foreign currency. There are no rates for weekends or Bank
                      of Canada holidays. units_per_cad is derived by this
                      program as 1 / cad_per_unit, rounded to 8 significant
                      digits.
                    observed_at_ms: 1792968772049
                    rate_count: 2
                    rates:
                      - cad_per_unit: 1.5667
                        currency: EUR
                        date: '2026-10-23'
                        label: EUR/CAD
                        series: FXEURCAD
                        units_per_cad: 0.63828429
                      - cad_per_unit: 1.3993
                        currency: USD
                        date: '2026-10-23'
                        label: USD/CAD
                        series: FXUSDCAD
                        units_per_cad: 0.71464304
                    source_url: >-
                      https://www.bankofcanada.ca/valet/observations/FXUSDCAD,FXEURCAD/json?start_date=2026-10-23&end_date=2026-10-23
                    terms_url: https://www.bankofcanada.ca/terms/
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            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.


            | Documented field | Provider type | Description |

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

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

            | `currencies` | string[] |  |

            | `latest_date` | string |  |

            | `note` | string |  |

            | `observed_at_ms` | number |  |

            | `rate_count` | number |  |

            | `rates` | object[] | Newest date first, then by currency. |

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

            | `terms_url` | string |  |



            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.