> ## 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 获取交易所数据

> 某个交易所的完整档案：信任分、成交量、币种覆盖、社交链接和交易对样本。

某个交易所的完整档案：`name`、`year_established`、`country`、`description`、`url`、`image`、社交账号、`centralized`、`trust_score`、`trust_score_rank`、`trade_volume_24h_btc`、`coins`、`pairs`，以及内嵌的 `tickers` 样本和 `status_updates`。适合用于交易场所尽调。如需跨多个交易所的排名列表，请使用 [`get_coingecko_exchanges`](https://aisa.one/docs/zh/api-reference/coingecko/get_coingecko-exchanges)；如需该交易所完整的分页交易对列表，请使用 [`get_coingecko_exchanges_id_tickers`](https://aisa.one/docs/zh/api-reference/coingecko/get_coingecko-exchanges-id-tickers)。

> [!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-exchanges-id)

## 请求规范

* **方法与路径:** GET /apis/v1/coingecko/exchanges/\{id}
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/coingecko/exchanges/{id}`
* **id:** path; 必填
* **dex\_pair\_format:** query; 可选

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

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

```json theme={null}
{
  "operationId": "get_coingecko_exchanges_id",
  "method": "GET",
  "path": "/apis/v1/coingecko/exchanges/{id}",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "description": "Exchange ID. \n*refers to [`/exchanges/list`](/reference/exchanges-list).",
      "in": "path",
      "name": "id",
      "required": true,
      "schema": {
        "default": "binance",
        "type": "string"
      }
    },
    {
      "description": "Set to `symbol` to display DEX pair base and target as symbols. \nDefault: `contract_address`",
      "in": "query",
      "name": "dex_pair_format",
      "required": false,
      "schema": {
        "enum": [
          "contract_address",
          "symbol"
        ],
        "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/exchanges/{id}
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/exchanges/{id}:
    get:
      tags:
        - default
      summary: 按 ID 获取交易所数据
      description: >-
        To query exchange's data (name, year established, country, etc.),
        exchange volume in BTC and top 100 tickers based on exchange's ID


        This endpoint allows you to **query exchange's data (name, year
        established, country, ...), exchange volume in BTC and top 100 tickers
        based on exchange's ID**
      operationId: get_coingecko_exchanges_id
      parameters:
        - description: |-
            Exchange ID. 
            *refers to [`/exchanges/list`](/reference/exchanges-list).
          in: path
          name: id
          required: true
          schema:
            default: binance
            type: string
        - description: |-
            Set to `symbol` to display DEX pair base and target as symbols. 
            Default: `contract_address`
          in: query
          name: dex_pair_format
          required: false
          schema:
            enum:
              - contract_address
              - symbol
            type: string
      responses:
        '200':
          content:
            application/json:
              example:
                alert_notice: ''
                centralized: true
                coins: 435
                country: Cayman Islands
                description: >-
                  One of the world's largest cryptocurrency exchanges by trading
                  volume.
                facebook_url: https://www.facebook.com/binanceexchange
                has_trading_incentive: false
                image: >-
                  https://coin-images.coingecko.com/markets/images/52/small/binance.jpg?1706864274
                name: Binance
                other_url_1: https://medium.com/binanceexchange
                other_url_2: https://steemit.com/@binanceexchange
                pairs: 1391
                public_notice: ''
                reddit_url: https://www.reddit.com/r/binance/
                slack_url: ''
                status_updates:
                  - category: general
                    created_at: '2020-12-14T11:18:49.085Z'
                    description: >-
                      Juventus and Paris Saint-Germain Fan Tokens on Binance
                      Launchpool!
                    pin: false
                    project:
                      id: binance
                      image:
                        large: >-
                          https://coin-images.coingecko.com/markets/images/52/large/binance.jpg?1706864274
                        small: >-
                          https://coin-images.coingecko.com/markets/images/52/small/binance.jpg?1706864274
                        thumb: >-
                          https://coin-images.coingecko.com/markets/images/52/thumb/binance.jpg?1706864274
                      name: Binance
                      type: Market
                    user: Darc
                    user_title: Marketing
                telegram_url: ''
                tickers:
                  - base: USDC
                    bid_ask_spread_percentage: 0.010999
                    coin_id: usd-coin
                    coin_mcap_usd: 76286248956.20789
                    converted_last:
                      btc: 0.00001301
                      eth: 0.00047417
                      usd: 0.999569
                    converted_volume:
                      btc: 27187
                      eth: 990971
                      usd: 2088986570
                    is_anomaly: false
                    is_stale: false
                    last: 1.00087
                    last_fetch_at: '2026-05-26T10:23:00+00:00'
                    last_traded_at: '2026-05-26T10:21:17+00:00'
                    market:
                      has_trading_incentive: false
                      identifier: binance
                      name: Binance
                    target: USDT
                    target_coin_id: tether
                    timestamp: '2026-05-26T10:21:17+00:00'
                    token_info_url: null
                    trade_url: https://www.binance.com/en/trade/USDC_USDT?ref=37754157
                    trust_score: null
                    volume: 2089887585
                  - base: BTC
                    bid_ask_spread_percentage: 0.010013
                    coin_id: bitcoin
                    coin_mcap_usd: 1536007329547.9153
                    converted_last:
                      btc: 1.000348
                      eth: 36.491428
                      usd: 76860
                    converted_volume:
                      btc: 9040
                      eth: 329781
                      usd: 694600292
                    is_anomaly: false
                    is_stale: false
                    last: 76960
                    last_fetch_at: '2026-05-26T10:22:33+00:00'
                    last_traded_at: '2026-05-26T10:21:39+00:00'
                    market:
                      has_trading_incentive: false
                      identifier: binance
                      name: Binance
                    target: USDT
                    target_coin_id: tether
                    timestamp: '2026-05-26T10:21:39+00:00'
                    token_info_url: null
                    trade_url: https://www.binance.com/en/trade/BTC_USDT?ref=37754157
                    trust_score: null
                    volume: 9037.21995
                trade_volume_24h_btc: 95073.68489926813
                trust_score: 10
                trust_score_rank: 2
                twitter_handle: binance
                url: https://www.binance.com/
                year_established: 2017
              schema:
                $ref: '#/components/schemas/Response39E58Aba19F7_ExchangesId'
          description: Exchange data
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  schemas:
    Response39E58Aba19F7_ExchangesId:
      properties:
        alert_notice:
          description: Alert notice
          type: string
        centralized:
          description: Whether the exchange is centralized
          type: boolean
        coins:
          description: Number of coins listed
          type: number
        country:
          description: Country where the exchange is based
          type:
            - string
            - 'null'
        description:
          description: Exchange description
          type: string
        facebook_url:
          description: Facebook URL
          type: string
        has_trading_incentive:
          description: Whether the exchange has trading incentive
          type: boolean
        image:
          description: Exchange logo URL
          type: string
        name:
          description: Exchange name
          type: string
        other_url_1:
          description: Other URL 1
          type: string
        other_url_2:
          description: Other URL 2
          type: string
        pairs:
          description: Number of trading pairs
          type: number
        public_notice:
          description: Public notice
          type: string
        reddit_url:
          description: Reddit URL
          type: string
        slack_url:
          description: Slack URL
          type: string
        status_updates:
          description: Status updates
          items:
            properties:
              category:
                description: Status update category
                type: string
              created_at:
                description: Status update creation time
                type: string
              description:
                description: Status update description
                type: string
              pin:
                description: Whether status update is pinned
                type: boolean
              project:
                description: Project information
                properties:
                  id:
                    description: Project ID
                    type: string
                  image:
                    description: Project image URLs
                    properties:
                      large:
                        type: string
                      small:
                        type: string
                      thumb:
                        type: string
                    type: object
                  name:
                    description: Project name
                    type: string
                  type:
                    description: Project type
                    type: string
                type: object
              user:
                description: Status update user
                type: string
              user_title:
                description: Status update user title
                type: string
            type: object
          type: array
        telegram_url:
          description: Telegram URL
          type: string
        tickers:
          description: Exchange tickers
          items:
            properties:
              base:
                description: Ticker base currency
                type: string
              bid_ask_spread_percentage:
                description: Bid-ask spread percentage
                type: number
              coin_id:
                description: Base currency coin ID
                type: string
              coin_mcap_usd:
                description: Coin market cap in USD
                type: number
              converted_last:
                description: Converted last price
                properties:
                  btc:
                    type: number
                  eth:
                    type: number
                  usd:
                    type: number
                type: object
              converted_volume:
                description: Converted trading volume
                properties:
                  btc:
                    type: number
                  eth:
                    type: number
                  usd:
                    type: number
                type: object
              is_anomaly:
                description: Whether ticker is anomalous
                type: boolean
              is_stale:
                description: Whether ticker is stale
                type: boolean
              last:
                description: Last price
                type: number
              last_fetch_at:
                description: Last fetch timestamp
                type: string
              last_traded_at:
                description: Last traded timestamp
                type: string
              market:
                description: Exchange information
                properties:
                  has_trading_incentive:
                    description: Exchange trading incentive
                    type: boolean
                  identifier:
                    description: Exchange identifier
                    type: string
                  name:
                    description: Exchange name
                    type: string
                type: object
              target:
                description: Ticker target currency
                type: string
              target_coin_id:
                description: Target currency coin ID
                type: string
              timestamp:
                description: Ticker timestamp
                type: string
              token_info_url:
                description: Token info URL
                type:
                  - string
                  - 'null'
              trade_url:
                description: Trade URL
                type: string
              trust_score:
                description: Trust score
                type:
                  - string
                  - 'null'
              volume:
                description: Trading volume
                type: number
            type: object
          type: array
        trade_volume_24h_btc:
          description: Exchange 24h trading volume in BTC
          type: number
        trust_score:
          description: Exchange trust score
          type:
            - number
            - 'null'
        trust_score_rank:
          description: Exchange trust score rank
          type:
            - number
            - 'null'
        twitter_handle:
          description: Twitter handle
          type: string
        url:
          description: Exchange website URL
          type: string
        year_established:
          description: Year the exchange was established
          type:
            - number
            - 'null'
      required:
        - name
        - year_established
        - country
        - description
        - url
        - image
        - facebook_url
        - reddit_url
        - telegram_url
        - slack_url
        - other_url_1
        - other_url_2
        - twitter_handle
        - has_trading_incentive
        - centralized
        - public_notice
        - alert_notice
        - trust_score
        - trust_score_rank
        - coins
        - pairs
        - trade_volume_24h_btc
        - tickers
        - status_updates
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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