# 按 ID 获取交易所数据

**API:** Data API

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

**Tags:** CoinGecko

单个交易所的完整概况：`name`、`year_established`、`country`、`description`、`url`、`image`、社交媒体账号、`centralized`、`trust_score`、`trust_score_rank`、`trade_volume_24h_btc`、`coins`、`pairs`，以及内嵌的 `tickers` 样本和 `status_updates`。用于交易场所尽职调查。需要多个交易场所的排名列表时，请使用 `get_coingecko_exchanges`；需要该场所完整的分页交易对列表时，请使用 `get_coingecko_exchanges_id_tickers`。

### 计费参考

- 计量方式：套餐资源单位。
- 参考请求估算：0.008 美元。
- 单位成本基准：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)。 |
| `dex_pair_format` | query | no | string, enum: "contract_address", "symbol" | 设为 `symbol` 可将 DEX 交易对的基础货币和目标货币显示为符号。 默认：`contract_address` |

## Responses

### 200 — 交易所数据

Headers:
- `X-Request-Id` (string) — 联系 Felo 支持时需提供的请求标识符。

**application/json**

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

Example:

```json
{
  "name": "Binance",
  "year_established": 2017,
  "country": "Cayman Islands",
  "description": "按成交量计，全球最大的加密货币交易所之一。",
  "url": "https://www.binance.com/",
  "image": "https://coin-images.coingecko.com/markets/images/52/small/binance.jpg?1706864274",
  "facebook_url": "https://www.facebook.com/binanceexchange",
  "reddit_url": "https://www.reddit.com/r/binance/",
  "telegram_url": "",
  "slack_url": "",
  "other_url_1": "https://medium.com/binanceexchange",
  "other_url_2": "https://steemit.com/@binanceexchange",
  "twitter_handle": "binance",
  "has_trading_incentive": false,
  "centralized": true,
  "public_notice": "",
  "alert_notice": "",
  "trust_score": 10,
  "trust_score_rank": 2,
  "coins": 435,
  "pairs": 1391,
  "trade_volume_24h_btc": 95073.68489926813,
  "tickers": [
    {
      "base": "USDC",
      "target": "USDT",
      "market": {
        "name": "Binance",
        "identifier": "binance",
        "has_trading_incentive": false
      },
      "last": 1.00087,
      "volume": 2089887585,
      "converted_last": {
        "btc": 0.00001301,
        "eth": 0.00047417,
        "usd": 0.999569
      },
      "converted_volume": {
        "btc": 27187,
        "eth": 990971,
        "usd": 2088986570
      },
      "trust_score": null,
      "bid_ask_spread_percentage": 0.010999,
      "timestamp": "2026-05-26T10:21:17+00:00",
      "last_traded_at": "2026-05-26T10:21:17+00:00",
      "last_fetch_at": "2026-05-26T10:23:00+00:00",
      "is_anomaly": false,
      "is_stale": false,
      "trade_url": "https://www.binance.com/en/trade/USDC_USDT?ref=37754157",
      "token_info_url": null,
      "coin_id": "usd-coin",
      "target_coin_id": "tether",
      "coin_mcap_usd": 76286248956.20789
    },
    {
      "base": "BTC",
      "target": "USDT",
      "market": {
        "name": "Binance",
        "identifier": "binance",
        "has_trading_incentive": false
      },
      "last": 76960,
      "volume": 9037.21995,
      "converted_last": {
        "btc": 1.000348,
        "eth": 36.491428,
        "usd": 76860
      },
      "converted_volume": {
        "btc": 9040,
        "eth": 329781,
        "usd": 694600292
      },
      "trust_score": null,
      "bid_ask_spread_percentage": 0.010013,
      "timestamp": "2026-05-26T10:21:39+00:00",
      "last_traded_at": "2026-05-26T10:21:39+00:00",
      "last_fetch_at": "2026-05-26T10:22:33+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": 1536007329547.9153
    }
  ],
  "status_updates": [
    {
      "description": "Juventus 和 Paris Saint-Germain 粉丝代币登陆 Binance Launchpool！",
      "category": "general",
      "created_at": "2020-12-14T11:18:49.085Z",
      "user": "Darc",
      "user_title": "Marketing",
      "pin": false,
      "project": {
        "type": "Market",
        "id": "binance",
        "name": "Binance",
        "image": {
          "thumb": "https://coin-images.coingecko.com/markets/images/52/thumb/binance.jpg?1706864274",
          "small": "https://coin-images.coingecko.com/markets/images/52/small/binance.jpg?1706864274",
          "large": "https://coin-images.coingecko.com/markets/images/52/large/binance.jpg?1706864274"
        }
      }
    }
  ]
}
```

### 400 — 无法处理该请求。请检查请求参数。

### 401 — 需要有效的 Felo API 密钥。

### 402 — 由于未满足计费要求，请求无法继续。

### 403 — 该账户无权执行此操作。

### 429 — 已达到请求或支出限额。

### 502 — 服务无法完成该请求。

### 503 — API 或计费服务暂时不可用。

### 504 — 服务在处理请求时超时。

### default — 错误响应；上游透传响应可能采用提供方格式

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response860C3Ae68Ea5_ExchangesId

`#/components/schemas/Response860C3Ae68Ea5_ExchangesId`

```json
{
  "type": "object",
  "required": [
    "name",
    "year_established",
    "country",
    "description",
    "url",
    "image",
    "facebook_url",
    "reddit_url",
    "telegram_url",
    "slack_url",
    "other_url_1",
    "other_url_2",
    "twitter_handle",
    "has_trading_incentive",
    "centralized",
    "public_notice",
    "alert_notice",
    "trust_score",
    "trust_score_rank",
    "coins",
    "pairs",
    "trade_volume_24h_btc",
    "tickers",
    "status_updates"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "交易所名称"
    },
    "year_established": {
      "type": [
        "number",
        "null"
      ],
      "description": "交易所成立年份"
    },
    "country": {
      "type": [
        "string",
        "null"
      ],
      "description": "交易所所在国家/地区"
    },
    "description": {
      "type": "string",
      "description": "交易所描述"
    },
    "url": {
      "type": "string",
      "description": "交易所网站 URL"
    },
    "image": {
      "type": "string",
      "description": "交易所徽标 URL"
    },
    "facebook_url": {
      "type": "string",
      "description": "Facebook URL"
    },
    "reddit_url": {
      "type": "string",
      "description": "Reddit URL"
    },
    "telegram_url": {
      "type": "string",
      "description": "Telegram URL"
    },
    "slack_url": {
      "type": "string",
      "description": "Slack URL"
    },
    "other_url_1": {
      "type": "string",
      "description": "其他 URL 1"
    },
    "other_url_2": {
      "type": "string",
      "description": "其他 URL 2"
    },
    "twitter_handle": {
      "type": "string",
      "description": "Twitter 用户名"
    },
    "has_trading_incentive": {
      "type": "boolean",
      "description": "表示交易所是否有交易激励"
    },
    "centralized": {
      "type": "boolean",
      "description": "表示交易所是否为中心化"
    },
    "public_notice": {
      "type": "string",
      "description": "公告"
    },
    "alert_notice": {
      "type": "string",
      "description": "警报通知"
    },
    "trust_score": {
      "type": [
        "number",
        "null"
      ],
      "description": "交易所信任评分"
    },
    "trust_score_rank": {
      "type": [
        "number",
        "null"
      ],
      "description": "交易所信任评分排名"
    },
    "coins": {
      "type": "number",
      "description": "已上线代币数量"
    },
    "pairs": {
      "type": "number",
      "description": "交易对数量"
    },
    "trade_volume_24h_btc": {
      "type": "number",
      "description": "交易所 24 小时交易量（BTC）"
    },
    "tickers": {
      "type": "array",
      "description": "交易所交易对",
      "items": {
        "type": "object",
        "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": "交易所交易激励"
              }
            }
          },
          "last": {
            "type": "number",
            "description": "最新价"
          },
          "volume": {
            "type": "number",
            "description": "交易量"
          },
          "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": "代币市值（美元）"
          }
        }
      }
    },
    "status_updates": {
      "type": "array",
      "description": "状态更新",
      "items": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "description": "状态更新描述"
          },
          "category": {
            "type": "string",
            "description": "状态更新类别"
          },
          "created_at": {
            "type": "string",
            "description": "状态更新创建时间"
          },
          "user": {
            "type": "string",
            "description": "状态更新用户"
          },
          "user_title": {
            "type": "string",
            "description": "状态更新用户头衔"
          },
          "pin": {
            "type": "boolean",
            "description": "表示状态更新是否置顶"
          },
          "project": {
            "type": "object",
            "description": "项目信息",
            "properties": {
              "type": {
                "type": "string",
                "description": "项目类型"
              },
              "id": {
                "type": "string",
                "description": "项目 ID"
              },
              "name": {
                "type": "string",
                "description": "项目名称"
              },
              "image": {
                "type": "object",
                "description": "项目图片 URL",
                "properties": {
                  "thumb": {
                    "type": "string"
                  },
                  "small": {
                    "type": "string"
                  },
                  "large": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
```
