# 幣種列表（ID 對照）

**API:** Data API

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

**Tags:** CoinGecko

完整的 CoinGecko 識別碼對照表：所有已收錄幣種的 `id`、`symbol` 與 `name`。先呼叫一次，把代號解析成其他所有 CoinGecko 工具所需的 `id`——例如 `bitcoin`，而非 BTC。設定 `include_platform` 可一併取得各幣種在各鏈上的合約地址。留意資料量：這會傳回約 18,000 筆，耗時數秒，請快取而非每次查詢都呼叫。若已知 id 且只要數字，直接呼叫 `get_coingecko_simple_price`；若要改從合約地址辨識幣種，請用 `get_coingecko_token_data`。

### 定價參考

- 計量方式：方案資源單位。
- 參考請求預估：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 |
| --- | --- | --- | --- | --- |
| `include_platform` | query | no | boolean | 包含平台與代幣的合約地址。 預設：false |
| `status` | query | no | string, enum: "active", "inactive" | 依幣種狀態篩選。 預設：active |

## Responses

### 200 — 幣種列表

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

**application/json**

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

Example:

```json
[
  {
    "id": "official-trump",
    "symbol": "trump",
    "name": "Official Trump",
    "platforms": {
      "solana": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN"
    }
  },
  {
    "id": "ondo-finance",
    "symbol": "ondo",
    "name": "Ondo",
    "platforms": {
      "ethereum": "0xfaba6f8e4a5e8ab82f62fe7c39859fa577269be3"
    }
  }
]
```

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

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

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

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

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

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

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

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

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

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response860C3Ae68Ea5_CoinsList

`#/components/schemas/Response860C3Ae68Ea5_CoinsList`

```json
{
  "type": "array",
  "items": {
    "type": "object",
    "required": [
      "id",
      "symbol",
      "name"
    ],
    "properties": {
      "id": {
        "type": "string",
        "description": "代幣 ID"
      },
      "symbol": {
        "type": "string",
        "description": "代幣符號"
      },
      "name": {
        "type": "string",
        "description": "代幣名稱"
      },
      "platforms": {
        "type": "object",
        "description": "資產平台與合約地址",
        "additionalProperties": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    }
  }
}
```
