idstringआवश्यक
Coin ID. *refers to [`/coins/list`](/reference/coins-list)
डिफ़ॉल्ट: "bitcoin"
https://api.sandbase.ai/v1/api/coingecko/coins-tickersGet the coin tickers on both centralized exchange (CEX) and decentralized exchange (DEX) based on a particular coin ID
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Returns the list of trading pairs (tickers) for one coin across centralized and decentralized exchanges. Each ticker has the last traded value, volume, bid-ask spread, and the exchange it trades on. You pass a CoinGecko coin id such as bitcoin.
curl -X POST "https://api.sandbase.ai/v1/api/coingecko/coins-tickers" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id": "bitcoin"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Coin ID. *refers to /coins/list |
depth | boolean | No | Include 2% orderbook depth, i.e. 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 |
exchange_ids | string | No | Exchange ID. *refers to /exchanges/list |
include_exchange_logo | boolean | No | Include exchange logo. Default: false |
order | string | No | Sort the order of responses. Default: trust_score_desc |
page | integer | No | Page through results |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"name": "Bitcoin",
"tickers": [
{
"base": "BTC",
"bid_ask_spread_percentage": 0.010039,
"coin_id": "bitcoin",
"coin_mcap_usd": 1541835004795.5227,
"converted_last": {
"btc": 0.99969503,
"eth": 34.125454,
"usd": 76711
},
"converted_volume": {
"btc": 30669,
"eth": 1046928,
"usd": 2353403725
},
"is_anomaly": false,
"is_stale": false,
"last": 76819.99,
"last_fetch_at": "2026-11-03T07:27:50+00:00",
"last_traded_at": "2026-11-03T07:27:49+00:00",
"market": {
"has_trading_incentive": false,
"identifier": "coinup",
"name": "CoinUp.io"
}
}
]
}
| Field | Meaning |
|---|---|
name | Name of the coin the tickers belong to, for example Bitcoin. |
tickers[].base / tickers[].target | The two sides of the trading pair. base is the coin you asked for and target is the quote asset, such as USDT. |
tickers[].market.name / tickers[].market.identifier | Display name and ID of the exchange that lists the pair. For example, identifier is btcc for BTCC. |
tickers[].last / tickers[].volume | Last traded value of the pair, quoted in the target asset, and the trading volume reported for the pair on that exchange. |
tickers[].converted_last.usd / tickers[].converted_last.btc / tickers[].converted_last.eth | The last traded value converted to USD, BTC and ETH. Use these to compare tickers that quote in different assets. |
tickers[].converted_volume.usd / tickers[].converted_volume.btc / tickers[].converted_volume.eth | The trading volume converted to USD, BTC and ETH. |
tickers[].bid_ask_spread_percentage | Gap between the best bid and best ask for the pair, given as a percentage. |
tickers[].is_anomaly / tickers[].is_stale | Boolean flags that mark a ticker as an anomaly or as stale. Filter on these when you need clean data. |
tickers[].last_traded_at / tickers[].last_fetch_at / tickers[].timestamp | ISO 8601 timestamps with a UTC offset. They show when the last trade happened, when the ticker was last fetched, and the ticker timestamp. |
tickers[].trade_url | Link to the trading page for the pair on the exchange. |
id from CoinGecko Coins List (ID Map). Get exchange_ids values from CoinGecko Exchanges List (ID Map).page to get more tickers. Use order with trust_score_desc, trust_score_asc, volume_desc or volume_asc to change the sort.depth to true to add cost_to_move_up_usd and cost_to_move_down_usd. Set include_exchange_logo to true to add exchange logos.$0.008 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/coingecko/coins-tickers" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "bitcoin"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
idstringआवश्यकCoin ID. *refers to [`/coins/list`](/reference/coins-list)
डिफ़ॉल्ट: "bitcoin"
depthbooleanInclude 2% orderbook depth, i.e. `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
exchange_idsstringExchange ID. *refers to [`/exchanges/list`](/reference/exchanges-list)
include_exchange_logobooleanInclude exchange logo. Default: false
orderstringSort the order of responses. Default: trust_score_desc
संभावित मान: trust_score_desc, trust_score_asc, volume_desc, volume_asc
pageintegerPage through results
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए 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 |
प्रश्न
https://api.sandbase.ai/v1/api/coingecko/coins-tickers पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.008 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: id (string)। वैकल्पिक: depth (boolean), dex_pair_format (contract_address, symbol में से एक), exchange_ids (string), include_exchange_logo (boolean), order (trust_score_desc, trust_score_asc, volume_desc, volume_asc में से एक) और page (integer)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। CoinGecko Coin Tickers by ID SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से CoinGecko API access के लिए आवेदन करने की आवश्यकता नहीं है।