# 交易所交易對

**API:** Data API

**Endpoint:** `GET /v1/beta/coingecko/exchanges/{id}/tickers`

**Tags:** CoinGecko

單一交易所上列出的所有交易對（分頁）：`base`、`target`、`market`、`last`、`volume`、`converted_last`、`converted_volume`、`trust_score`、`bid_ask_spread_percentage`、`timestamp`、`trade_url` 以及 `is_anomaly`／`is_stale` 旗標。可用 `coin_ids` 縮小至特定資產、以 `order` 排序，並設定 `depth` 加入訂單簿移動成本。可用於稽核單一交易所的涵蓋範圍或流動性。若要看單一幣種在所有交易所的交易對，請改用 `get_coingecko_coins_id_tickers`。

### 定價參考

- 計量方式：方案資源單位。
- 參考請求預估：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 |
| --- | --- | --- | --- | --- |
| `id` | path | yes | string, default: "binance" | 交易所 ID。 *參見 [`/exchanges/list`](/reference/exchanges-list)。 |
| `coin_ids` | query | no | string | 依幣種 ID 篩選 ticker；查詢多個幣種時以逗號分隔。 *參見 [`/coins/list`](/reference/coins-list)。 |
| `depth` | query | no | boolean | 包含 2% 訂單簿深度（cost_to_move_up_usd 與 cost_to_move_down_usd）。 預設值：false |
| `dex_pair_format` | query | no | string, enum: "contract_address", "symbol" | 設為 `symbol` 可將 DEX 交易對的基礎貨幣與目標貨幣顯示為符號。 預設：`contract_address` |
| `include_exchange_logo` | query | no | boolean | 包含交易所標誌。 預設：false |
| `order` | query | no | string, enum: "market_cap_asc", "market_cap_desc", "trust_score_desc", "trust_score_asc", "volume_desc", "volume_asc", … | 設定回應的排序順序。 預設值：`trust_score_desc` |
| `page` | query | no | number | 分頁瀏覽結果。 |

## Responses

### 200 — 交易所交易對

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

**application/json**

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

Example:

```json
{
  "name": "Binance",
  "tickers": [
    {
      "base": "BTC",
      "target": "USDT",
      "market": {
        "name": "Binance",
        "identifier": "binance",
        "has_trading_incentive": false,
        "logo": "https://coin-images.coingecko.com/markets/images/52/small/binance.jpg?1706864274"
      },
      "last": 77172.88,
      "volume": 9243.62632,
      "cost_to_move_up_usd": 21983152.092277337,
      "cost_to_move_down_usd": 19695552.01703934,
      "converted_last": {
        "btc": 0.99912594,
        "eth": 36.349604,
        "usd": 77080
      },
      "converted_volume": {
        "btc": 9236,
        "eth": 336002,
        "usd": 712501236
      },
      "trust_score": null,
      "bid_ask_spread_percentage": 0.010013,
      "timestamp": "2026-05-26T10:32:37+00:00",
      "last_traded_at": "2026-05-26T10:32:37+00:00",
      "last_fetch_at": "2026-05-26T10:33:31+00:00",
      "is_anomaly": false,
      "is_stale": false,
      "trade_url": "https://www.binance.com/en/trade/BTC_USDT?ref=37754157",
      "token_info_url": null,
      "coin_id": "bitcoin",
      "target_coin_id": "tether",
      "coin_mcap_usd": 1545160286928.7285
    },
    {
      "base": "BTC",
      "target": "USDC",
      "market": {
        "name": "Binance",
        "identifier": "binance",
        "has_trading_incentive": false,
        "logo": "https://coin-images.coingecko.com/markets/images/52/small/binance.jpg?1706864274"
      },
      "last": 77189.96,
      "volume": 2736.40541,
      "cost_to_move_up_usd": 5747075.588603265,
      "cost_to_move_down_usd": 4869585.811774237,
      "converted_last": {
        "btc": 1.000158,
        "eth": 36.386207,
        "usd": 77159
      },
      "converted_volume": {
        "btc": 2737,
        "eth": 99567,
        "usd": 211138535
      },
      "trust_score": null,
      "bid_ask_spread_percentage": 0.010013,
      "timestamp": "2026-05-26T10:32:01+00:00",
      "last_traded_at": "2026-05-26T10:32:01+00:00",
      "last_fetch_at": "2026-05-26T10:33:30+00:00",
      "is_anomaly": false,
      "is_stale": false,
      "trade_url": "https://www.binance.com/en/trade/BTC_USDC?ref=37754157",
      "token_info_url": null,
      "coin_id": "bitcoin",
      "target_coin_id": "usd-coin",
      "coin_mcap_usd": 1545160286928.7285
    }
  ]
}
```

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

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

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

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

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

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

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

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

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

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response860C3Ae68Ea5_CoinsIdTickers

`#/components/schemas/Response860C3Ae68Ea5_CoinsIdTickers`

```json
{
  "type": "object",
  "required": [
    "name",
    "tickers"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "代幣名稱"
    },
    "tickers": {
      "type": "array",
      "description": "Ticker 清單",
      "items": {
        "type": "object",
        "required": [
          "base",
          "target",
          "market",
          "last",
          "volume",
          "converted_last",
          "converted_volume",
          "trust_score",
          "bid_ask_spread_percentage",
          "timestamp",
          "last_traded_at",
          "last_fetch_at",
          "is_anomaly",
          "is_stale",
          "trade_url",
          "token_info_url",
          "coin_id",
          "target_coin_id",
          "coin_mcap_usd"
        ],
        "properties": {
          "base": {
            "type": "string",
            "description": "Ticker 基礎貨幣"
          },
          "target": {
            "type": "string",
            "description": "Ticker 目標貨幣"
          },
          "market": {
            "type": "object",
            "description": "交易所資訊",
            "properties": {
              "name": {
                "type": "string",
                "description": "交易所名稱"
              },
              "identifier": {
                "type": "string",
                "description": "交易所識別碼"
              },
              "has_trading_incentive": {
                "type": "boolean",
                "description": "交易所交易獎勵"
              },
              "logo": {
                "type": "string",
                "description": "交易所標誌 URL"
              }
            }
          },
          "last": {
            "type": "number",
            "description": "最新價格"
          },
          "volume": {
            "type": "number",
            "description": "成交量"
          },
          "cost_to_move_up_usd": {
            "type": "number",
            "description": "讓價格上漲 2% 的成本（美元）"
          },
          "cost_to_move_down_usd": {
            "type": "number",
            "description": "讓價格下跌 2% 的成本（美元）"
          },
          "converted_last": {
            "type": "object",
            "description": "換算後最新價格",
            "properties": {
              "btc": {
                "type": "number"
              },
              "eth": {
                "type": "number"
              },
              "usd": {
                "type": "number"
              }
            }
          },
          "converted_volume": {
            "type": "object",
            "description": "換算後成交量",
            "properties": {
              "btc": {
                "type": "number"
              },
              "eth": {
                "type": "number"
              },
              "usd": {
                "type": "number"
              }
            }
          },
          "trust_score": {
            "type": [
              "string",
              "null"
            ],
            "description": "信任分數"
          },
          "bid_ask_spread_percentage": {
            "type": "number",
            "description": "買賣價差百分比"
          },
          "timestamp": {
            "type": "string",
            "description": "Ticker 時間戳"
          },
          "last_traded_at": {
            "type": "string",
            "description": "最後成交時間戳"
          },
          "last_fetch_at": {
            "type": "string",
            "description": "最後擷取時間戳"
          },
          "is_anomaly": {
            "type": "boolean",
            "description": "表示 Ticker 是否異常"
          },
          "is_stale": {
            "type": "boolean",
            "description": "表示 Ticker 資料是否過舊"
          },
          "trade_url": {
            "type": "string",
            "description": "交易 URL"
          },
          "token_info_url": {
            "type": [
              "string",
              "null"
            ],
            "description": "代幣資訊 URL"
          },
          "coin_id": {
            "type": "string",
            "description": "基礎貨幣代幣 ID"
          },
          "target_coin_id": {
            "type": "string",
            "description": "目標貨幣代幣 ID"
          },
          "coin_mcap_usd": {
            "type": "number",
            "description": "代幣市值（美元）"
          }
        }
      }
    }
  }
}
```
