Exchanges
Exchange Tickers by ID
This endpoint allows you to query exchange's tickers based on exchange's ID
get/exchanges/{id}/tickers
Path parameters
idstring required
Example:binance
exchange ID *refers to /exchanges/list.
Query parameters
coin_idsstring
filter tickers by coin IDs, comma-separated if querying more than 1 coin *refers to /coins/list.
include_exchange_logoboolean
include exchange logo, default: false
pagenumber
page through results
depthboolean
include 2% orderbook depth (Example: cost_to_move_up_usd & cost_to_move_down_usd),default: false
order'market_cap_asc' | 'market_cap_desc' | 'trust_score_desc' | 'trust_score_asc' | 'volume_desc' | 'volume_asc' | 'base_target'
use this to sort the order of responses, default: trust_score_desc
dex_pair_format'contract_address' | 'symbol'
set to symbol to display DEX pair base and target as symbols, default: contract_address
Response
Get exchange tickers
Example response
{
"name": "Bitcoin",
"tickers": [
{
"base": "BTC",
"target": "USDT",
"market": {
"name": "Binance",
"identifier": "binance",
"has_trading_incentive": false,
"logo": "https://assets.coingecko.com/markets/images/52/small/binance.jpg?1706864274"
},
"last": 69476,
"volume": 20242.03975,
"cost_to_move_up_usd": 19320706.3958517,
"cost_to_move_down_usd": 16360235.3694131,
"converted_last": {
"btc": 1.000205,
"eth": 20.291404,
"usd": 69498
},
"converted_volume": {
"btc": 20249,
"eth": 410802,
"usd": 1406996874
},
"trust_score": "green",
"bid_ask_spread_percentage": 0.010014,
"timestamp": "2024-04-08T04:02:01+00:00",
"last_traded_at": "2024-04-08T04:02:01+00:00",
"last_fetch_at": "2024-04-08T04:03:00+00:00",
"is_anomaly": false,
"is_stale": false,
"trade_url": "https://www.binance.com/en/trade/BTC_USDT?ref=37754157",
"token_info_url": null,
"coin_id": "bitcoin",
"target_coin_id": "tether"
}
]
}