币种市场
币种
币种市场
覆盖多个币种的排名行情表——一次调用即可获得价格、市值、成交量、供应量和历史最高价。
GET
币种市场
一次调用返回覆盖多个币种的排名行情表:每个币种一行,包含
current_price、market_cap、market_cap_rank、total_volume、high_24h、low_24h、price_change_percentage_24h、circulating_supply、total_supply、max_supply、带日期的 ath 和 atl,以及 image。用 per_page 和 page 分页,用 order 排序(按市值、成交量或 id,升序或降序),用 ids 或 category 收窄范围。传入 price_change_percentage 会额外返回对应的 price_change_percentage_24h_in_currency 字段。适合用于榜单和板块扫描。如果只需要少数已知币种的价格,get_coingecko_simple_price 更轻量;如需某一币种的完整信息,请使用 get_coingecko_coins_id。授权
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
查询参数
价格的目标货币(例如 usd、eur、btc)。请参阅 /simple/supported_vs_currencies。
以逗号分隔的 CoinGecko 代币 ID。
按类别筛选(参见 /coins/categories/list)。
可用选项:
market_cap_desc, market_cap_asc, volume_desc, volume_asc, id_asc, id_desc 必填范围:
1 <= x <= 250以逗号分隔的时间窗口:1h,24h,7d,14d,30d,200d,1y。
响应语言区域设置。官方值包括 en、zh、zh-tw 以及 CoinGecko 支持的其他区域设置。
使用 full 或 0 到 18 之间的值指定货币价格值的小数位数。
在 CoinGecko 支持时,将再质押词元纳入市场数据。
响应
200 - application/json
加密货币市场条目数组。