# 附市場資料的分類

**API:** Data API

**Endpoint:** `GET /v1/beta/coingecko/coins/categories`

**Tags:** CoinGecko

約 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` 更小也更快。

### 定價參考

- 計量方式：方案資源單位。
- 參考請求預估：USD 0.008。
- 單位成本基礎：USD 0.0。
- 資源單位：`provider_credit`。
- 成本基礎不構成最終客戶價格，即使為零亦同。

僅供參考的中繼資料，並非帳戶報價、保證價格或消費上限。資源額度並非 Felo 額度。最終費用依 Felo 計費記錄為準。

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `order` | query | no | string, enum: "market_cap_desc", "market_cap_asc", "name_desc", "name_asc", "market_cap_change_24h_desc", "market_cap_change_24h_asc" | 依欄位排序結果。 預設：`market_cap_desc` |

## Responses

### 200 — 附市場資料的幣種分類列表

Headers:
- `X-Request-Id` (string) — 聯絡 Felo 支援時需提供的請求識別碼。

**application/json**

Schema: `Response860C3Ae68Ea5_Categories` (`#/components/schemas/Response860C3Ae68Ea5_Categories`)

Example:

```json
[
  {
    "id": "smart-contract-platform",
    "name": "Smart Contract Platform",
    "market_cap": 2176528015490.1301,
    "market_cap_change_24h": -0.4907335508040635,
    "content": "Smart contract platforms are usually blockchains that host smart contracts or decentralized applications.",
    "top_3_coins_id": [
      "bitcoin",
      "ethereum",
      "binancecoin"
    ],
    "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"
    ],
    "volume_24h": 45616943988.58024,
    "updated_at": "2026-05-26T10:02:24.777Z"
  },
  {
    "id": "layer-1",
    "name": "Layer 1 (L1)",
    "market_cap": 2152576804747.1516,
    "market_cap_change_24h": -0.538526079299288,
    "content": "Layer 1 serves as the primary and autonomous chain on which transactions are directly executed and confirmed.",
    "top_3_coins_id": [
      "bitcoin",
      "ethereum",
      "binancecoin"
    ],
    "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"
    ],
    "volume_24h": 44289945362.19749,
    "updated_at": "2026-05-26T10:01:55.213Z"
  }
]
```

### 400 — 無法處理該要求。請檢查請求參數。

### 401 — 需要有效的 Felo API 金鑰。

### 402 — 由於未符合計費要求，要求無法繼續。

### 403 — 該帳戶無權執行此操作。

### 429 — 已達到要求或支出上限。

### 502 — 服務無法完成該要求。

### 503 — API 或計費服務暫時無法使用。

### 504 — 服務在處理要求時逾時。

### default — 錯誤回應；上游透傳回應可能採用供應商格式

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response860C3Ae68Ea5_Categories

`#/components/schemas/Response860C3Ae68Ea5_Categories`

```json
{
  "type": "array",
  "items": {
    "type": "object",
    "required": [
      "id",
      "name",
      "market_cap",
      "market_cap_change_24h",
      "content",
      "top_3_coins_id",
      "top_3_coins",
      "volume_24h",
      "updated_at"
    ],
    "properties": {
      "id": {
        "type": "string",
        "description": "類別 ID"
      },
      "name": {
        "type": "string",
        "description": "類別名稱"
      },
      "market_cap": {
        "type": "number",
        "description": "類別市值"
      },
      "market_cap_change_24h": {
        "type": "number",
        "description": "類別市值 24 小時變化"
      },
      "content": {
        "type": "string",
        "description": "類別說明"
      },
      "top_3_coins_id": {
        "type": "array",
        "description": "類別中前 3 個代幣的 ID",
        "items": {
          "type": "string"
        }
      },
      "top_3_coins": {
        "type": "array",
        "description": "類別中前 3 個代幣的圖片 URL",
        "items": {
          "type": "string"
        }
      },
      "volume_24h": {
        "type": "number",
        "description": "類別 24 小時交易量"
      },
      "updated_at": {
        "type": "string",
        "description": "類別最後更新時間戳記"
      }
    }
  }
}
```
