CoinGecko
Cryptocurrency prices, market data and historical series.
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 更小也更快。
计费参考
- 计量方式:套餐资源单位。
- 参考请求估算:0.008 美元。
- 单位成本基准:0.0 美元。
- 资源单位:
provider_credit。 - 成本基准不构成最终客户价格,即使为零也不例外。
仅供参考的元数据,不是账户报价、保证价格或消费上限。资源额度不同于 Felo 额度。最终扣费以 Felo 计费记录为准。
查询参数
- 类型: string 枚举order
按字段对结果排序。 默认:
market_cap_desc值- market
_cap _desc - market
_cap _asc - name
_desc - name
_asc - market
_cap _change _24h _desc - market
_cap _change _24h _asc
响应
- 类型: array object[] · Response860C3Ae68Ea5_Categories200
带市场数据的代币分类列表
- content类型: string必填
类别描述
- id类型: string必填
类别 ID
- market类型: number
_cap 必填类别市值
- market类型: number
_cap _change _24h 必填类别市值 24 小时变化
- name类型: string必填
类别名称
- top类型: array string[]
_3 _coins 必填类别中前 3 个代币的图片 URL
- top类型: array string[]
_3 _coins _id 必填类别中前 3 个代币的 ID
- updated类型: string
_at 必填类别最后更新时间戳
- volume类型: number
_24h 必填类别 24 小时交易量
application/json - 400
无法处理该请求。请检查请求参数。
- 401
需要有效的 Felo API 密钥。
- 402
由于未满足计费要求,请求无法继续。
- 403
该账户无权执行此操作。
- 429
已达到请求或支出限额。
- 502
服务无法完成该请求。
- 503
API 或计费服务暂时不可用。
- 504
服务在处理请求时超时。
- default
错误响应;上游透传响应可能采用提供方格式
application/json
Request Example for get/v1/beta/coingecko/coins/categories
curl https://openapi.felo.ai/v1/beta/coingecko/coins/categories \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
[
{
"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"
}
]