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

# Currency Exchange Rate

> Currency Exchange Rate

## 请求规范

* **方法与路径:** POST /apis/v1/alpha-vantage/currency-exchange-rate
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/alpha-vantage/currency-exchange-rate`

[完整 OpenAPI 定义](https://aisa.one/docs/openapi/zh/alpha-vantage.json)

有效请求声明（包括认证和引用的 schema）：

```json theme={null}
{
  "operationId": "alpha-vantage.currency-exchange-rate",
  "method": "POST",
  "path": "/apis/v1/alpha-vantage/currency-exchange-rate",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "properties": {
            "apikey": {
              "description": "Optional API key to override metadata (e.g., 'demo').",
              "examples": [
                "demo"
              ],
              "type": "string"
            },
            "from_currency": {
              "description": "The base currency code in three-letter format. Supports physical currencies (e.g., 'USD', 'EUR', 'JPY') and cryptocurrencies (e.g., 'BTC', 'ETH'). Note: Precious metal codes like XAU (gold) and XAG (silver) are NOT supported by this endpoint.",
              "examples": [
                "USD",
                "EUR"
              ],
              "type": "string"
            },
            "to_currency": {
              "description": "The quote currency code in three-letter format. Supports physical currencies (e.g., 'USD', 'EUR', 'JPY') and cryptocurrencies (e.g., 'BTC', 'ETH'). Note: Precious metal codes like XAU (gold) and XAG (silver) are NOT supported by this endpoint.",
              "examples": [
                "JPY",
                "GBP"
              ],
              "type": "string"
            }
          },
          "required": [
            "from_currency",
            "to_currency"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

按实际用量收费。 默认请求预估费用：\$0.00036 USD。 最终费用以实际用量为准。 账户适用价格可能不同；支持报价的接口可按实际请求获取报价。


## OpenAPI

````yaml openapi/zh/alpha-vantage.json POST /apis/v1/alpha-vantage/currency-exchange-rate
openapi: 3.1.0
info:
  description: ''
  title: Alpha Vantage
  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:
    alpha-vantage:
      description: ''
      title: Alpha Vantage
      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: 1036de6c0ab36754ec1c89b501ce10968b8978d428608ec2aa1b69562af101bb
        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/alpha-vantage/company-overview
    - /apis/v1/alpha-vantage/crypto-intraday
    - /apis/v1/alpha-vantage/currency-exchange-rate
    - /apis/v1/alpha-vantage/fx-daily
    - /apis/v1/alpha-vantage/fx-intraday
    - /apis/v1/alpha-vantage/global-quote
    - /apis/v1/alpha-vantage/market-status
    - /apis/v1/alpha-vantage/news-sentiment
    - /apis/v1/alpha-vantage/symbol-search
    - /apis/v1/alpha-vantage/time-series-daily
    - /apis/v1/alpha-vantage/time-series-intraday
    - /apis/v1/alpha-vantage/top-gainers-losers
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:e78cb5f15a812eef89954c219546f642d2d7f46201248353a1f1bdfab035627c
    facts_hash: 1036de6c0ab36754ec1c89b501ce10968b8978d428608ec2aa1b69562af101bb
    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: alpha-vantage
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/alpha-vantage/currency-exchange-rate:
    post:
      tags:
        - Alpha Vantage
      summary: Currency Exchange Rate
      operationId: alpha-vantage.currency-exchange-rate
      requestBody:
        content:
          application/json:
            schema:
              properties:
                apikey:
                  description: Optional API key to override metadata (e.g., 'demo').
                  examples:
                    - demo
                  type: string
                from_currency:
                  description: >-
                    The base currency code in three-letter format. Supports
                    physical currencies (e.g., 'USD', 'EUR', 'JPY') and
                    cryptocurrencies (e.g., 'BTC', 'ETH'). Note: Precious metal
                    codes like XAU (gold) and XAG (silver) are NOT supported by
                    this endpoint.
                  examples:
                    - USD
                    - EUR
                  type: string
                to_currency:
                  description: >-
                    The quote currency code in three-letter format. Supports
                    physical currencies (e.g., 'USD', 'EUR', 'JPY') and
                    cryptocurrencies (e.g., 'BTC', 'ETH'). Note: Precious metal
                    codes like XAU (gold) and XAG (silver) are NOT supported by
                    this endpoint.
                  examples:
                    - JPY
                    - GBP
                  type: string
              required:
                - from_currency
                - to_currency
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Response576A0Ea506F3_connect_ALPHA_VANTAGE_CURRENCY_EXCHANGE_RATE__output__public_data
          description: Tool result data
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  schemas:
    Response576A0Ea506F3_connect_ALPHA_VANTAGE_CURRENCY_EXCHANGE_RATE__output__public_data:
      $ref: >-
        #/components/schemas/Response576A0Ea506F3_connect_ALPHA_VANTAGE_CURRENCY_EXCHANGE_RATE__output__7c29c3ceaff49269
    Response576A0Ea506F3_connect_ALPHA_VANTAGE_CURRENCY_EXCHANGE_RATE__output__7c29c3ceaff49269:
      properties:
        Realtime Currency Exchange Rate:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_ALPHA_VANTAGE_CURRENCY_EXCHANGE_RATE__output__d1edbdf05e26e7b1
      required:
        - Realtime Currency Exchange Rate
      type: object
    Response576A0Ea506F3_connect_ALPHA_VANTAGE_CURRENCY_EXCHANGE_RATE__output__d1edbdf05e26e7b1:
      properties:
        1. From_Currency Code:
          type: string
        2. From_Currency Name:
          type: string
        3. To_Currency Code:
          type: string
        4. To_Currency Name:
          type: string
        5. Exchange Rate:
          type: number
        6. Last Refreshed:
          type: string
        7. Time Zone:
          type: string
        8. Bid Price:
          type: number
        9. Ask Price:
          type: number
      required:
        - 1. From_Currency Code
        - 2. From_Currency Name
        - 3. To_Currency Code
        - 4. To_Currency Name
        - 5. Exchange Rate
        - 6. Last Refreshed
        - 7. Time Zone
        - 8. Bid Price
        - 9. Ask Price
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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