数据 API / CoinGecko / Coins
Coins Markets
A ranked market table covering many coins in one call: one row per coin with current_price, market_cap, market_cap_rank, total_volume, high_24h, low_24h, price_change_percentage_24h, circulating_supply, total_supply, max_supply, ath and atl with their dates, and image. Page with per_page and page, sort with order (market cap, volume or id, ascending or descending), and narrow with ids or category. Passing price_change_percentage adds a matching price_change_percentage_24h_in_currency field. Use it for leaderboards and segment scans. For the price of a few known coins get_coingecko_simple_price is far lighter; for one coin in full use get_coingecko_coins_id.
参数
查询
vs_currencystring必填Target currency for price (e.g.,
usd,eur,btc). See/simple/supported_vs_currencies.idsstring可选Comma-separated CoinGecko coin IDs.
categorystring可选Filter by category (see
/coins/categories/list).orderstring可选允许值: market_cap_desc · market_cap_asc · volume_desc · volume_asc · id_asc · id_desc
per_pageinteger可选pageinteger可选sparklineboolean可选price_change_percentagestring可选Comma-separated windows:
1h,24h,7d,14d,30d,200d,1y.localestring可选Response language locale. Official values include
en,zh,zh-tw, and other supported CoinGecko locales.precisionstring可选fullor a value from0to18to specify decimal places for currency price values.include_rehypothecatedboolean可选Include rehypothecated tokens in market data when supported by CoinGecko.
请求示例
curl -G "https://openapi.felo.ai/v1/beta/coingecko/coins/markets" \
--data-urlencode "vs_currency=<string>" \
-H "Authorization: Bearer $FELO_API_KEY"响应
公开的 spec 里没有描述这个端点的响应。