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

# 币种列表（ID 映射）

> 所有已收录币种的 id/symbol/name 完整映射——把行情代码解析成其他 endpoint 所需的 CoinGecko id。

完整的 CoinGecko 标识符映射：列出所有已收录币种的 `id`、`symbol` 和 `name`。用它一次性把行情代码解析成其他所有 CoinGecko 工具都需要的 `id`——是 `bitcoin`，不是 BTC。设置 `include_platform` 还可以获得各条链上的合约地址。注意体量：该接口返回约 18,000 条记录，耗时数秒，因此请缓存结果，不要每次查询都调用。如果 id 已知且只需要数值，请直接调用 [`get_coingecko_simple_price`](https://aisa.one/docs/zh/api-reference/coingecko/get_coingecko-simple-price)；如果要从合约地址反查币种，请使用 [`get_coingecko_token_data`](https://aisa.one/docs/zh/api-reference/coingecko/get_coingecko-coins-id-contract-contract-address)。

> [!NOTE]
>
> **第一次用？** 把任意 MCP 客户端指向 `https://mcp.aisa.one/mcp` —— Claude Code、
> Codex、Cursor、VS Code 都可以。鉴权走 OAuth：客户端打开浏览器，你点一次
> Allow，不需要粘贴任何 key。之后智能体通过几个元工具调用所有端点：
> `search`、`list_categories`、`get_details` 和 `batch_quote` 免费，`batch_use`
> 按次计费。各客户端的接入步骤见[通过 MCP 连接](https://aisa.one/docs/zh/agent-quickstart.md)；实时工具列表和
> 每次调用的价格见 [aisa.one/zh-cn/mcp](https://aisa.one/zh-cn/mcp#connect)。

[在你的 agent 里把这个端点跑起来 →](https://aisa.one/mcp?from=/zh/api-reference/coingecko/get_coingecko-coins-list)

## 请求规范

* **方法与路径:** GET /apis/v1/coingecko/coins/list
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/coingecko/coins/list`
* **include\_platform:** query; 可选
* **status:** query; 可选

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

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

```json theme={null}
{
  "operationId": "get_coingecko_coins_list",
  "method": "GET",
  "path": "/apis/v1/coingecko/coins/list",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "description": "Include platform and token's contract addresses. \nDefault: false",
      "in": "query",
      "name": "include_platform",
      "required": false,
      "schema": {
        "type": "boolean"
      }
    },
    {
      "description": "Filter by status of coins. \nDefault: active",
      "in": "query",
      "name": "status",
      "required": false,
      "schema": {
        "enum": [
          "active",
          "inactive"
        ],
        "type": "string"
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

公开参考价格：每次成功请求 \$0.008 USD。 账户适用价格可能不同；支持报价的接口可按实际请求获取报价。


## OpenAPI

````yaml openapi/zh/coingecko.json GET /apis/v1/coingecko/coins/list
openapi: 3.1.0
info:
  description: ''
  title: CoinGecko
  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:
    coingecko:
      description: ''
      title: CoinGecko
      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: 2cebdc98d47ae0d3c355af637caf87081b8a62f7794a0c3667fcd49e4539823e
        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/coingecko/api/{id}/volume_chart
    - /apis/v1/coingecko/coins/categories
    - /apis/v1/coingecko/coins/categories/list
    - /apis/v1/coingecko/coins/list
    - /apis/v1/coingecko/coins/markets
    - /apis/v1/coingecko/coins/{id}
    - /apis/v1/coingecko/coins/{id}/contract/{contract_address}
    - /apis/v1/coingecko/coins/{id}/contract/{contract_address}/market_chart
    - >-
      /apis/v1/coingecko/coins/{id}/contract/{contract_address}/market_chart/range
    - /apis/v1/coingecko/coins/{id}/history
    - /apis/v1/coingecko/coins/{id}/market_chart
    - /apis/v1/coingecko/coins/{id}/market_chart/range
    - /apis/v1/coingecko/coins/{id}/ohlc
    - /apis/v1/coingecko/coins/{id}/tickers
    - /apis/v1/coingecko/exchanges
    - /apis/v1/coingecko/exchanges/list
    - /apis/v1/coingecko/exchanges/{id}
    - /apis/v1/coingecko/exchanges/{id}/tickers
    - /apis/v1/coingecko/ping
    - /apis/v1/coingecko/search/trending
    - /apis/v1/coingecko/simple/price
    - /apis/v1/coingecko/simple/supported_vs_currencies
    - /apis/v1/coingecko/simple/token_price/{id}
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:907b027ae7bb3f1cda28caf6099bbb9f000d21ebbbcfc0cbd176a69f84296194
    facts_hash: 2cebdc98d47ae0d3c355af637caf87081b8a62f7794a0c3667fcd49e4539823e
    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: coingecko
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/coingecko/coins/list:
    get:
      tags:
        - default
      summary: 币种列表（ID 映射）
      description: >-
        To query all the supported coins on CoinGecko with coin ID, name and
        symbol


        This endpoint allows you to **query all the supported coins on CoinGecko
        with coins ID, name and symbol**
      operationId: get_coingecko_coins_list
      parameters:
        - description: |-
            Include platform and token's contract addresses. 
            Default: false
          in: query
          name: include_platform
          required: false
          schema:
            type: boolean
        - description: |-
            Filter by status of coins. 
            Default: active
          in: query
          name: status
          required: false
          schema:
            enum:
              - active
              - inactive
            type: string
      responses:
        '200':
          content:
            application/json:
              example:
                - id: official-trump
                  name: Official Trump
                  platforms:
                    solana: 6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN
                  symbol: trump
                - id: ondo-finance
                  name: Ondo
                  platforms:
                    ethereum: '0xfaba6f8e4a5e8ab82f62fe7c39859fa577269be3'
                  symbol: ondo
              schema:
                $ref: '#/components/schemas/Response39E58Aba19F7_CoinsList'
          description: List of coins
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  schemas:
    Response39E58Aba19F7_CoinsList:
      items:
        properties:
          id:
            description: Coin ID
            type: string
          name:
            description: Coin name
            type: string
          platforms:
            additionalProperties:
              type:
                - string
                - 'null'
            description: Asset platform and contract address
            type: object
          symbol:
            description: Coin symbol
            type: string
        required:
          - id
          - symbol
          - name
        type: object
      type: array
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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