CoinGecko
Cryptocurrency prices, market data and historical series.
交易所交易对
单个交易所上列出的每个交易对,分页返回: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。
计费参考
- 计量方式:套餐资源单位。
- 参考请求估算:0.008 美元。
- 单位成本基准:0.0 美元。
- 资源单位:
provider_credit。 - 成本基准不构成最终客户价格,即使为零也不例外。
仅供参考的元数据,不是账户报价、保证价格或消费上限。资源额度不同于 Felo 额度。最终扣费以 Felo 计费记录为准。
- 类型: stringid必填
交易所 ID。 *参见
/exchanges/list。
- 类型: stringcoin
_ids 按币种 ID 筛选 ticker;查询多个币种时以逗号分隔。 *参见
/coins/list。 - 类型: booleandepth
包含 2% 订单簿深度(cost_to_move_up_usd 和 cost_to_move_down_usd)。 默认值:false
- 类型: string 枚举dex
_pair _format 设为
symbol可将 DEX 交易对的基础货币和目标货币显示为符号。 默认:contract_address值- contract
_address - symbol
- 类型: booleaninclude
_exchange _logo 包含交易所徽标。 默认:false
- 类型: string 枚举order
设置响应的排序顺序。 默认值:
trust_score_desc值- market
_cap _asc - market
_cap _desc - trust
_score _desc - trust
_score _asc - volume
_desc - volume
_asc - base
_target
- 类型: numberpage
分页浏览结果。
- 类型: object · Response860C3Ae68Ea5_CoinsIdTickers200
交易所交易对
- 类型: stringname必填
代币名称
- 类型: array object[]tickers必填
Ticker 列表
- base类型: string必填
Ticker 基础货币
- bid类型: number
_ask _spread _percentage 必填买卖价差百分比
- coin类型: string
_id 必填基础货币代币 ID
- coin类型: number
_mcap _usd 必填代币市值(美元)
- converted类型: object
_last 必填换算后最新价
- btc类型: number
- eth类型: number
- usd类型: number
- converted类型: object
_volume 必填换算后交易量
- btc类型: number
- eth类型: number
- usd类型: number
- is类型: boolean
_anomaly 必填表示 Ticker 是否异常
- is类型: boolean
_stale 必填表示 Ticker 数据是否陈旧
- last类型: number必填
最新价
- last类型: string
_fetch _at 必填最后抓取时间戳
- last类型: string
_traded _at 必填最后成交时间戳
- market类型: object必填
交易所信息
- has类型: boolean
_trading _incentive 交易所交易激励
- identifier类型: string
交易所标识符
- logo类型: string
交易所徽标 URL
- name类型: string
交易所名称
- target类型: string必填
Ticker 目标货币
- target类型: string
_coin _id 必填目标货币代币 ID
- timestamp类型: string必填
Ticker 时间戳
- token类型: string | null
_info _url 必填代币信息 URL
- trade类型: string
_url 必填交易 URL
- trust类型: string | null
_score 必填信任评分
- volume类型: number必填
交易量
- cost类型: number
_to _move _down _usd 使价格下跌 2% 的成本(美元)
- cost类型: number
_to _move _up _usd 使价格上涨 2% 的成本(美元)
application/json - 400
无法处理该请求。请检查请求参数。
- 401
需要有效的 Felo API 密钥。
- 402
由于未满足计费要求,请求无法继续。
- 403
该账户无权执行此操作。
- 429
已达到请求或支出限额。
- 502
服务无法完成该请求。
- 503
API 或计费服务暂时不可用。
- 504
服务在处理请求时超时。
- default
错误响应;上游透传响应可能采用提供方格式
application/json
curl https://openapi.felo.ai/v1/beta/coingecko/exchanges/binance/tickers \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"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
}
]
}