> ## 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 Categories List with Market Data

> 带行情数据的加密板块——市值、24 小时涨跌、成交量和龙头币种。

约 749 个加密板块及其附带的行情数据：`id`、`name`、`market_cap`、`market_cap_change_24h`、`volume_24h`、`top_3_coins_id`、`top_3_coins`、`content` 和 `updated_at`。可用 `order` 按市值、名称或 24 小时市值涨跌排序。适合用于观察哪些板块在异动。如果只需要 `category` 过滤条件所需的纯标识符列表，[`get_coingecko_coins_categories_list`](https://aisa.one/docs/zh/api-reference/coingecko/get_coingecko-coins-categories-list) 更小更快。

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

## 请求规范

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

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

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

```json theme={null}
{
  "operationId": "get_coingecko_coins_categories",
  "method": "GET",
  "path": "/apis/v1/coingecko/coins/categories",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "description": "Sort results by field. \nDefault: `market_cap_desc`",
      "in": "query",
      "name": "order",
      "required": false,
      "schema": {
        "enum": [
          "market_cap_desc",
          "market_cap_asc",
          "name_desc",
          "name_asc",
          "market_cap_change_24h_desc",
          "market_cap_change_24h_asc"
        ],
        "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/categories
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/categories:
    get:
      tags:
        - default
      summary: Coins Categories List with Market Data
      description: >-
        To query all the coins categories with market data (market cap, volume,
        etc.) on CoinGecko


        This endpoint allows you to **query all the coins categories with market
        data (market cap, volume, ...) on CoinGecko**
      operationId: get_coingecko_coins_categories
      parameters:
        - description: |-
            Sort results by field. 
            Default: `market_cap_desc`
          in: query
          name: order
          required: false
          schema:
            enum:
              - market_cap_desc
              - market_cap_asc
              - name_desc
              - name_asc
              - market_cap_change_24h_desc
              - market_cap_change_24h_asc
            type: string
      responses:
        '200':
          content:
            application/json:
              example:
                - content: >-
                    Smart contract platforms are usually blockchains that host
                    smart contracts or decentralized applications.
                  id: smart-contract-platform
                  market_cap: 2176528015490.1301
                  market_cap_change_24h: -0.4907335508040635
                  name: Smart Contract Platform
                  top_3_coins:
                    - >-
                      https://coin-images.coingecko.com/coins/images/1/small/bitcoin.png
                    - >-
                      https://coin-images.coingecko.com/coins/images/279/small/ethereum.png
                    - >-
                      https://coin-images.coingecko.com/coins/images/825/small/bnb-icon2_2x.png
                  top_3_coins_id:
                    - bitcoin
                    - ethereum
                    - binancecoin
                  updated_at: '2026-05-26T10:02:24.777Z'
                  volume_24h: 45616943988.58024
                - content: >-
                    Layer 1 serves as the primary and autonomous chain on which
                    transactions are directly executed and confirmed.
                  id: layer-1
                  market_cap: 2152576804747.1516
                  market_cap_change_24h: -0.538526079299288
                  name: Layer 1 (L1)
                  top_3_coins:
                    - >-
                      https://coin-images.coingecko.com/coins/images/1/small/bitcoin.png
                    - >-
                      https://coin-images.coingecko.com/coins/images/279/small/ethereum.png
                    - >-
                      https://coin-images.coingecko.com/coins/images/825/small/bnb-icon2_2x.png
                  top_3_coins_id:
                    - bitcoin
                    - ethereum
                    - binancecoin
                  updated_at: '2026-05-26T10:01:55.213Z'
                  volume_24h: 44289945362.19749
              schema:
                $ref: '#/components/schemas/Response39E58Aba19F7_Categories'
          description: List of coin categories with market data
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  schemas:
    Response39E58Aba19F7_Categories:
      items:
        properties:
          content:
            description: Category description
            type: string
          id:
            description: Category ID
            type: string
          market_cap:
            description: Category market cap
            type: number
          market_cap_change_24h:
            description: Category market cap change in 24 hours
            type: number
          name:
            description: Category name
            type: string
          top_3_coins:
            description: Image URLs of top 3 coins in the category
            items:
              type: string
            type: array
          top_3_coins_id:
            description: IDs of top 3 coins in the category
            items:
              type: string
            type: array
          updated_at:
            description: Category last updated timestamp
            type: string
          volume_24h:
            description: Category trading volume in 24 hours
            type: number
        required:
          - id
          - name
          - market_cap
          - market_cap_change_24h
          - content
          - top_3_coins_id
          - top_3_coins
          - volume_24h
          - updated_at
        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.