idstring必填
Exchange ID. *refers to [`/exchanges/list`](/reference/exchanges-list).
預設:"binance"
https://api.sandbase.ai/v1/api/coingecko/exchanges-tickersExchange Tickers by ID from CoinGecko. Returns the official CoinGecko API response unchanged.
您的輸出會顯示在這裡
完成輸入後,點擊執行。
Returns the trading pairs (tickers) listed on one CoinGecko exchange, with last traded value, volume, spread, and converted values in BTC, ETH, and USD. It needs an exchange id such as binance.
BTC/USDT quote on one exchange against the same pair on another exchange.converted_volume.usd to find its most traded markets.coin_ids and track their spread and last trade time.curl -X POST "https://api.sandbase.ai/v1/api/coingecko/exchanges-tickers" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id": "binance"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Exchange ID. *refers to /exchanges/list. |
coin_ids | string | No | Filter tickers by coin IDs, comma-separated if querying more than 1 coin. *refers to /coins/list. |
depth | boolean | No | Include 2% orderbook depth (cost_to_move_up_usd and cost_to_move_down_usd). Default: false |
dex_pair_format | string | No | Set to symbol to display DEX pair base and target as symbols. Default: contract_address |
include_exchange_logo | boolean | No | Include exchange logo. Default: false |
order | string | No | Sort the order of responses. Default: trust_score_desc |
page | number | No | Page through results. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"name": "Binance",
"tickers": [
{
"base": "USDC",
"bid_ask_spread_percentage": 0.010999,
"coin_id": "usd-coin",
"coin_mcap_usd": 71013530626.33456,
"converted_last": {
"btc": 1.303e-05,
"eth": 0.00044409,
"usd": 0.99989
},
"converted_volume": {
"btc": 21722,
"eth": 740303,
"usd": 1666830578
},
"is_anomaly": false,
"is_stale": false,
"last": 1.00131,
"last_fetch_at": "2026-11-03T07:27:50+00:00",
"last_traded_at": "2026-11-03T07:27:53+00:00",
"market": {
"has_trading_incentive": false,
"identifier": "binance",
"name": "Binance"
}
}
]
}
| Field | Meaning |
|---|---|
name | Name of the exchange. |
tickers[].base / tickers[].target | Symbols of the base and quote assets in the pair. For example BTC and USDT. |
tickers[].coin_id / tickers[].target_coin_id | CoinGecko IDs of the base coin and the target coin. Use them with other coin APIs. |
tickers[].last | Last traded value of the pair, in units of the target asset. |
tickers[].volume | Trading volume of the pair, in units of the base asset. |
tickers[].converted_last.usd / tickers[].converted_last.btc / tickers[].converted_last.eth | Last traded value converted to USD, BTC, and ETH. |
tickers[].converted_volume.usd / tickers[].converted_volume.btc / tickers[].converted_volume.eth | Trading volume converted to USD, BTC, and ETH. |
tickers[].bid_ask_spread_percentage | Bid-ask spread of the pair, given as a percentage value. |
tickers[].coin_mcap_usd | Market cap of the base coin in USD. |
tickers[].last_traded_at / tickers[].last_fetch_at / tickers[].timestamp | ISO 8601 timestamps for the last trade, the last data fetch, and the ticker record. |
tickers[].is_anomaly / tickers[].is_stale | Boolean flags that mark a ticker as anomalous or stale. |
tickers[].trade_url | Link to the pair's trading page on the exchange. |
id values from CoinGecko Exchanges List (ID Map).coin_ids values from CoinGecko Coins List (ID Map).page to step through results, and order to sort them. For example, use volume_desc to put the highest volume first.depth to true to add 2% orderbook depth (cost_to_move_up_usd and cost_to_move_down_usd). Call CoinGecko Exchange Data by ID for exchange-level details.$0.008 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
開始建置
具備統一驗證與用量追蹤的平台 API 端點。
curl -X POST "https://api.sandbase.ai/v1/api/coingecko/exchanges-tickers" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "binance"
}'請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
idstring必填Exchange ID. *refers to [`/exchanges/list`](/reference/exchanges-list).
預設:"binance"
coin_idsstringFilter tickers by coin IDs, comma-separated if querying more than 1 coin. *refers to [`/coins/list`](/reference/coins-list).
depthbooleanInclude 2% orderbook depth (cost_to_move_up_usd and cost_to_move_down_usd). Default: false
dex_pair_formatstringSet to `symbol` to display DEX pair base and target as symbols. Default: `contract_address`
可能值:contract_address, symbol
include_exchange_logobooleanInclude exchange logo. Default: false
orderstringSort the order of responses. Default: `trust_score_desc`
可能值:market_cap_asc, market_cap_desc, trust_score_desc, trust_score_asc, volume_desc, volume_asc, base_target
pagenumberPage through results.
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
尚未發布已儲存回應。請在 Playground 中執行 API 以檢視其回應。
探索更多
| API | 價格 | 回應 |
|---|---|---|
CoinGecko | 每次呼叫 $0.008 | JSON |
CoinGecko | 每次呼叫 $0.008 | JSON |
CoinGecko | 每次呼叫 $0.008 | JSON |
CoinGecko | 每次呼叫 $0.008 | JSON |
CoinGecko | 每次呼叫 $0.008 | JSON |
CoinGecko | 每次呼叫 $0.008 | JSON |
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/coingecko/exchanges-tickers。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.008,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
必要:id (string)。 選填:coin_ids (string), depth (boolean), dex_pair_format(contract_address, symbol 之一), include_exchange_logo (boolean), order(market_cap_asc, market_cap_desc, trust_score_desc, trust_score_asc, volume_desc, volume_asc, base_target 之一) 和 page (number)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
不需要。CoinGecko Exchange Tickers by ID 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 CoinGecko API 存取權。