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

# Coins List with Market Data

> 覆盖多个币种的排名行情表——一次调用即可获得价格、市值、成交量、供应量和历史最高价。

一次调用返回覆盖多个币种的排名行情表：每个币种一行，包含 `current_price`、`market_cap`、`market_cap_rank`、`total_volume`、`high_24h`、`low_24h`、`price_change_percentage_24h`、`circulating_supply`、`total_supply`、`max_supply`、带日期的 `ath` 和 `atl`，以及 `image`。用 `per_page` 和 `page` 分页，用 `order` 排序（按市值、成交量或 id，升序或降序），用 `ids` 或 `category` 收窄范围。传入 `price_change_percentage` 会额外返回对应的 `price_change_percentage_24h_in_currency` 字段。适合用于榜单和板块扫描。如果只需要少数已知币种的价格，[`get_coingecko_simple_price`](https://aisa.one/docs/zh/api-reference/coingecko/get_coingecko-simple-price) 更轻量；如需某一币种的完整信息，请使用 [`get_coingecko_coins_id`](https://aisa.one/docs/zh/api-reference/coingecko/get_coingecko-coins-id)。

> [!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-markets)

## 请求规范

* **方法与路径:** GET /apis/v1/coingecko/coins/markets
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/coingecko/coins/markets`
* **category:** query; 可选
* **ids:** query; 可选
* **include\_rehypothecated:** query; 可选
* **include\_tokens:** query; 可选
* **locale:** query; 可选
* **names:** query; 可选
* **order:** query; 可选
* **page:** query; 可选
* **per\_page:** query; 可选
* **precision:** query; 可选
* **price\_change\_percentage:** query; 可选
* **sparkline:** query; 可选
* **symbols:** query; 可选
* **vs\_currency:** query; 必填

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

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

```json theme={null}
{
  "operationId": "get_coingecko_coins_markets",
  "method": "GET",
  "path": "/apis/v1/coingecko/coins/markets",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "description": "Filter based on coins' category. \n*refers to [`/coins/categories/list`](/reference/coins-categories-list)",
      "in": "query",
      "name": "category",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "Coins' IDs, comma-separated if querying more than 1 coin. \n*refers to [`/coins/list`](/reference/coins-list)",
      "in": "query",
      "name": "ids",
      "required": false,
      "schema": {
        "default": "bitcoin",
        "type": "string"
      }
    },
    {
      "description": "Include rehypothecated tokens in results. When true, returns `market_cap_rank_with_rehypothecated` field. \nDefault: false",
      "in": "query",
      "name": "include_rehypothecated",
      "required": false,
      "schema": {
        "type": "boolean"
      }
    },
    {
      "description": "For `symbols` lookups, specify `all` to include all matching tokens. \nDefault `top` returns top-ranked tokens by market cap or volume.",
      "in": "query",
      "name": "include_tokens",
      "required": false,
      "schema": {
        "enum": [
          "top",
          "all"
        ],
        "type": "string"
      }
    },
    {
      "description": "Language background. \nDefault: en",
      "in": "query",
      "name": "locale",
      "required": false,
      "schema": {
        "enum": [
          "ar",
          "bg",
          "cs",
          "da",
          "de",
          "el",
          "en",
          "es",
          "fi",
          "fr",
          "he",
          "hi",
          "hr",
          "hu",
          "id",
          "it",
          "ja",
          "ko",
          "lt",
          "nl",
          "no",
          "pl",
          "pt",
          "ro",
          "ru",
          "sk",
          "sl",
          "sv",
          "th",
          "tr",
          "uk",
          "vi",
          "zh",
          "zh-tw"
        ],
        "type": "string"
      }
    },
    {
      "description": "Coins' names, comma-separated if querying more than 1 coin.",
      "in": "query",
      "name": "names",
      "required": false,
      "schema": {
        "default": "Bitcoin",
        "type": "string"
      }
    },
    {
      "description": "Sort result by field. \nDefault: market_cap_desc",
      "in": "query",
      "name": "order",
      "required": false,
      "schema": {
        "enum": [
          "market_cap_asc",
          "market_cap_desc",
          "volume_asc",
          "volume_desc",
          "id_asc",
          "id_desc"
        ],
        "type": "string"
      }
    },
    {
      "description": "Page through results. \nDefault: 1",
      "in": "query",
      "name": "page",
      "required": false,
      "schema": {
        "type": "integer"
      }
    },
    {
      "description": "Total results per page. \nDefault: 100 \nValid values: 1...250",
      "in": "query",
      "name": "per_page",
      "required": false,
      "schema": {
        "type": "integer"
      }
    },
    {
      "description": "Decimal places for currency price value",
      "in": "query",
      "name": "precision",
      "required": false,
      "schema": {
        "enum": [
          "full",
          "0",
          "1",
          "2",
          "3",
          "4",
          "5",
          "6",
          "7",
          "8",
          "9",
          "10",
          "11",
          "12",
          "13",
          "14",
          "15",
          "16",
          "17",
          "18"
        ],
        "type": "string"
      }
    },
    {
      "description": "Include price change percentage timeframe, comma-separated if querying more than 1 timeframe. \nValid values: `1h`, `24h`, `7d`, `14d`, `30d`, `200d`, `1y`",
      "in": "query",
      "name": "price_change_percentage",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "Include sparkline 7-day data. \nDefault: false",
      "in": "query",
      "name": "sparkline",
      "required": false,
      "schema": {
        "type": "boolean"
      }
    },
    {
      "description": "Coins' symbols, comma-separated if querying more than 1 coin.",
      "in": "query",
      "name": "symbols",
      "required": false,
      "schema": {
        "default": "btc",
        "type": "string"
      }
    },
    {
      "description": "Target currency of coins and market data. \n*refers to [`/simple/supported_vs_currencies`](/reference/simple-supported-currencies)",
      "in": "query",
      "name": "vs_currency",
      "required": true,
      "schema": {
        "default": "usd",
        "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/markets
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/markets:
    get:
      tags:
        - default
      summary: Coins List with Market Data
      description: >-
        To query all the supported coins with price, market cap, volume and
        market related data


        This endpoint allows you to **query all the supported coins with price,
        market cap, volume and market related data**
      operationId: get_coingecko_coins_markets
      parameters:
        - description: >-
            Filter based on coins' category. 

            *refers to
            [`/coins/categories/list`](/reference/coins-categories-list)
          in: query
          name: category
          required: false
          schema:
            type: string
        - description: |-
            Coins' IDs, comma-separated if querying more than 1 coin. 
            *refers to [`/coins/list`](/reference/coins-list)
          in: query
          name: ids
          required: false
          schema:
            default: bitcoin
            type: string
        - description: >-
            Include rehypothecated tokens in results. When true, returns
            `market_cap_rank_with_rehypothecated` field. 

            Default: false
          in: query
          name: include_rehypothecated
          required: false
          schema:
            type: boolean
        - description: >-
            For `symbols` lookups, specify `all` to include all matching
            tokens. 

            Default `top` returns top-ranked tokens by market cap or volume.
          in: query
          name: include_tokens
          required: false
          schema:
            enum:
              - top
              - all
            type: string
        - description: |-
            Language background. 
            Default: en
          in: query
          name: locale
          required: false
          schema:
            enum:
              - ar
              - bg
              - cs
              - da
              - de
              - el
              - en
              - es
              - fi
              - fr
              - he
              - hi
              - hr
              - hu
              - id
              - it
              - ja
              - ko
              - lt
              - nl
              - 'no'
              - pl
              - pt
              - ro
              - ru
              - sk
              - sl
              - sv
              - th
              - tr
              - uk
              - vi
              - zh
              - zh-tw
            type: string
        - description: Coins' names, comma-separated if querying more than 1 coin.
          in: query
          name: names
          required: false
          schema:
            default: Bitcoin
            type: string
        - description: |-
            Sort result by field. 
            Default: market_cap_desc
          in: query
          name: order
          required: false
          schema:
            enum:
              - market_cap_asc
              - market_cap_desc
              - volume_asc
              - volume_desc
              - id_asc
              - id_desc
            type: string
        - description: |-
            Page through results. 
            Default: 1
          in: query
          name: page
          required: false
          schema:
            type: integer
        - description: |-
            Total results per page. 
            Default: 100 
            Valid values: 1...250
          in: query
          name: per_page
          required: false
          schema:
            type: integer
        - description: Decimal places for currency price value
          in: query
          name: precision
          required: false
          schema:
            enum:
              - full
              - '0'
              - '1'
              - '2'
              - '3'
              - '4'
              - '5'
              - '6'
              - '7'
              - '8'
              - '9'
              - '10'
              - '11'
              - '12'
              - '13'
              - '14'
              - '15'
              - '16'
              - '17'
              - '18'
            type: string
        - description: >-
            Include price change percentage timeframe, comma-separated if
            querying more than 1 timeframe. 

            Valid values: `1h`, `24h`, `7d`, `14d`, `30d`, `200d`, `1y`
          in: query
          name: price_change_percentage
          required: false
          schema:
            type: string
        - description: |-
            Include sparkline 7-day data. 
            Default: false
          in: query
          name: sparkline
          required: false
          schema:
            type: boolean
        - description: Coins' symbols, comma-separated if querying more than 1 coin.
          in: query
          name: symbols
          required: false
          schema:
            default: btc
            type: string
        - description: >-
            Target currency of coins and market data. 

            *refers to
            [`/simple/supported_vs_currencies`](/reference/simple-supported-currencies)
          in: query
          name: vs_currency
          required: true
          schema:
            default: usd
            type: string
      responses:
        '200':
          content:
            application/json:
              example:
                - ath: 126080
                  ath_change_percentage: -38.39571
                  ath_date: '2025-10-06T18:57:42.558Z'
                  atl: 67.81
                  atl_change_percentage: 114443.23093
                  atl_date: '2013-07-06T00:00:00.000Z'
                  circulating_supply: 20030493
                  current_price: 77671
                  fully_diluted_valuation: 1555914058873
                  high_24h: 78419
                  id: bitcoin
                  image: >-
                    https://coin-images.coingecko.com/coins/images/1/large/bitcoin.png?1696501400
                  last_updated: '2026-05-18T12:49:21.599Z'
                  low_24h: 76696
                  market_cap: 1555886872303
                  market_cap_change_24h: -15184401491.513184
                  market_cap_change_percentage_24h: -0.9665
                  market_cap_rank: 1
                  market_cap_rank_with_rehypothecated: 1
                  max_supply: 21000000
                  name: Bitcoin
                  price_change_24h: -747.3360347281705
                  price_change_percentage_14d_in_currency: -1.5720857443461431
                  price_change_percentage_1h_in_currency: 0.5823392426906319
                  price_change_percentage_1y_in_currency: -25.214612207475373
                  price_change_percentage_200d_in_currency: -29.452371850925864
                  price_change_percentage_24h: -0.95302
                  price_change_percentage_24h_in_currency: -0.9530164743774191
                  price_change_percentage_30d_in_currency: 1.9453890367549207
                  price_change_percentage_7d_in_currency: -4.042267423689584
                  roi: null
                  sparkline_in_7d:
                    price:
                      - 81045.84776489827
                      - 81001.73089268175
                      - 80898.20817826076
                  symbol: btc
                  total_supply: 20030843
                  total_volume: 33235034316
              schema:
                $ref: '#/components/schemas/Response39E58Aba19F7_CoinsMarkets'
          description: List of coins with market data
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  schemas:
    Response39E58Aba19F7_CoinsMarkets:
      items:
        properties:
          ath:
            description: All-time high price in target currency
            type:
              - number
              - 'null'
          ath_change_percentage:
            description: All-time high change percentage
            type:
              - number
              - 'null'
          ath_date:
            description: All-time high date
            format: date-time
            type:
              - string
              - 'null'
          atl:
            description: All-time low price in target currency
            type:
              - number
              - 'null'
          atl_change_percentage:
            description: All-time low change percentage
            type:
              - number
              - 'null'
          atl_date:
            description: All-time low date
            format: date-time
            type:
              - string
              - 'null'
          circulating_supply:
            description: Circulating supply
            type:
              - number
              - 'null'
          current_price:
            description: Current price in target currency
            type:
              - number
              - 'null'
          fully_diluted_valuation:
            description: Fully diluted valuation in target currency
            type:
              - number
              - 'null'
          high_24h:
            description: 24-hour price high in target currency
            type:
              - number
              - 'null'
          id:
            description: Coin ID
            type: string
          image:
            description: Coin image URL
            type: string
          last_updated:
            description: Last updated timestamp
            format: date-time
            type: string
          low_24h:
            description: 24-hour price low in target currency
            type:
              - number
              - 'null'
          market_cap:
            description: Market cap in target currency
            type:
              - number
              - 'null'
          market_cap_change_24h:
            description: 24-hour market cap change in target currency
            type:
              - number
              - 'null'
          market_cap_change_percentage_24h:
            description: 24-hour market cap change percentage
            type:
              - number
              - 'null'
          market_cap_rank:
            description: Market cap rank
            type:
              - integer
              - 'null'
          market_cap_rank_with_rehypothecated:
            description: Market cap rank including rehypothecated tokens
            type:
              - integer
              - 'null'
          max_supply:
            description: Max supply
            type:
              - number
              - 'null'
          name:
            description: Coin name
            type: string
          price_change_24h:
            description: 24-hour price change in target currency
            type:
              - number
              - 'null'
          price_change_percentage_14d_in_currency:
            description: 14-day price change percentage in target currency
            type:
              - number
              - 'null'
          price_change_percentage_1h_in_currency:
            description: 1-hour price change percentage in target currency
            type:
              - number
              - 'null'
          price_change_percentage_1y_in_currency:
            description: 1-year price change percentage in target currency
            type:
              - number
              - 'null'
          price_change_percentage_200d_in_currency:
            description: 200-day price change percentage in target currency
            type:
              - number
              - 'null'
          price_change_percentage_24h:
            description: 24-hour price change percentage
            type:
              - number
              - 'null'
          price_change_percentage_24h_in_currency:
            description: 24-hour price change percentage in target currency
            type:
              - number
              - 'null'
          price_change_percentage_30d_in_currency:
            description: 30-day price change percentage in target currency
            type:
              - number
              - 'null'
          price_change_percentage_7d_in_currency:
            description: 7-day price change percentage in target currency
            type:
              - number
              - 'null'
          roi:
            description: Return on investment data
            properties:
              currency:
                description: ROI currency
                type: string
              percentage:
                description: ROI percentage
                type: number
              times:
                description: ROI multiplier
                type: number
            type:
              - object
              - 'null'
          sparkline_in_7d:
            description: Sparkline price data for the last 7 days
            properties:
              price:
                description: Array of price values
                items:
                  type: number
                type: array
            type: object
          symbol:
            description: Coin symbol
            type: string
          total_supply:
            description: Total supply
            type:
              - number
              - 'null'
          total_volume:
            description: Total trading volume in target currency
            type:
              - number
              - 'null'
        required:
          - id
          - symbol
          - name
          - image
          - current_price
          - market_cap
          - market_cap_rank
          - fully_diluted_valuation
          - total_volume
          - high_24h
          - low_24h
          - price_change_24h
          - price_change_percentage_24h
          - market_cap_change_24h
          - market_cap_change_percentage_24h
          - circulating_supply
          - total_supply
          - max_supply
          - ath
          - ath_change_percentage
          - ath_date
          - atl
          - atl_change_percentage
          - atl_date
          - roi
          - last_updated
        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.