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

# Live rates

> Many rates against one base in one call. For one pair with statistics use convert.

## Request contract

* **Method and path:** POST /apis/v1/xe-com/exchange-rates/live-rates
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/xe-com/exchange-rates/live-rates`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/xe-com.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "xe-com.exchange-rates.live-rates",
  "method": "POST",
  "path": "/apis/v1/xe-com/exchange-rates/live-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": {
              "base": "EUR",
              "quotes": [
                "USD",
                "GBP",
                "CHF",
                "JPY"
              ]
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "base": {
              "description": "Base currency code. Default USD.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "quotes": {
              "description": "Only these quote currencies, in this order. Each must be a code XE publishes.",
              "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/xe-com.json POST /apis/v1/xe-com/exchange-rates/live-rates
openapi: 3.1.0
info:
  description: ''
  title: XE currency data
  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:
    xe-com:
      description: ''
      title: XE currency data
      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: db0d487323c0b2b55143a7ab66a1c2c417d6818b85539d1b3870920b65a7fa21
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
        seed_month: 2026-10
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/xe-com/exchange-rates/convert
    - /apis/v1/xe-com/exchange-rates/currency-profile
    - /apis/v1/xe-com/exchange-rates/historical-table
    - /apis/v1/xe-com/exchange-rates/list-currencies
    - /apis/v1/xe-com/exchange-rates/live-rates
    - /apis/v1/xe-com/exchange-rates/rate-history
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:97c4537b77f2c1e867d2a9dbc5334fa6c3350708313bdba4f47cfe18c847f6d9
    facts_hash: db0d487323c0b2b55143a7ab66a1c2c417d6818b85539d1b3870920b65a7fa21
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
    seed_month: 2026-10
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: xe-com
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/xe-com/exchange-rates/live-rates:
    post:
      tags:
        - XE currency data
      summary: Live rates
      description: >-
        Many rates against one base in one call. For one pair with statistics
        use convert.
      operationId: xe-com.exchange-rates.live-rates
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  base: EUR
                  quotes:
                    - USD
                    - GBP
                    - CHF
                    - JPY
            schema:
              additionalProperties: true
              properties:
                base:
                  description: Base currency code. Default USD.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                quotes:
                  description: >-
                    Only these quote currencies, in this order. Each must be a
                    code XE publishes.
                  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-04.
                  summary: Official provider example
                  value:
                    base: EUR
                    count: 4
                    observed_at_ms: 1791138129597
                    rate_timestamp: '2026-10-04T10:43:00Z'
                    rate_timestamp_ms: 1791110580000
                    rates:
                      - currency: USD
                        inverse: 0.8881977461
                        rate: 1.1258754082533018
                      - currency: GBP
                        inverse: 1.1761991422232803
                        rate: 0.850196165004657
                      - currency: CHF
                        inverse: 1.071695147602776
                        rate: 0.9331011736283891
                      - currency: JPY
                        inverse: 0.00562656175395939
                        rate: 177.728432340817
                    source_url: >-
                      https://www.xe.com/en-us/currencyconverter/convert/?Amount=1&From=EUR&To=USD
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            XE's live mid-market table re-based to one currency: one row per
            currency with the rate (units of that currency per 1 `base`) and its
            inverse, sorted by code (about 220 codes including obsolete
            currencies, metals and crypto). `quotes` restricts the rows to the
            listed codes.


            The response contains the tool result directly.


            The provider identifies `rates` as the primary payload key.


            | Documented field | Provider type | Description |

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

            | `currency` | string |  |

            | `inverse` | number |  |

            | `rate` | number | Units of `currency` per 1 `base`. |



            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.