Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

CoinGecko Exchange Tickers by ID

Docs da API
https://api.sandbase.ai/v1/api/coingecko/exchanges-tickers

Exchange Tickers by ID from CoinGecko. Returns the official CoinGecko API response unchanged.

Preço
$0.008USD / chamada
Método
POST
Resposta
JSON
Parâmetros
1 obrigatórios · 6 opcionais

Playground

Entrada
Exchange ID. *refers to [`/exchanges/list`](/reference/exchanges-list).
Filter tickers by coin IDs, comma-separated if querying more than 1 coin. *refers to [`/coins/list`](/reference/coins-list).
Include 2% orderbook depth (cost_to_move_up_usd and cost_to_move_down_usd). Default: false
Set to `symbol` to display DEX pair base and target as symbols. Default: `contract_address`
Sort the order of responses. Default: `trust_score_desc`
Page through results.
SaídaPronto

Sua saída aparecerá aqui

Preencha as entradas e clique em Executar.

README da API

CoinGecko Exchange Tickers by ID API

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.

Use cases

  • Compare the BTC/USDT quote on one exchange against the same pair on another exchange.
  • Rank an exchange's pairs by converted_volume.usd to find its most traded markets.
  • Filter an exchange to a few coins with coin_ids and track their spread and last trade time.
  • Build trade links to open a pair directly on the exchange.

Request

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.

Parameters

NameTypeRequiredDescription
idstringYesExchange ID. *refers to /exchanges/list.
coin_idsstringNoFilter tickers by coin IDs, comma-separated if querying more than 1 coin. *refers to /coins/list.
depthbooleanNoInclude 2% orderbook depth (cost_to_move_up_usd and cost_to_move_down_usd). Default: false
dex_pair_formatstringNoSet to symbol to display DEX pair base and target as symbols. Default: contract_address
include_exchange_logobooleanNoInclude exchange logo. Default: false
orderstringNoSort the order of responses. Default: trust_score_desc
pagenumberNoPage through results.

Example response

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"
      }
    }
  ]
}

Response fields

FieldMeaning
nameName of the exchange.
tickers[].base / tickers[].targetSymbols of the base and quote assets in the pair. For example BTC and USDT.
tickers[].coin_id / tickers[].target_coin_idCoinGecko IDs of the base coin and the target coin. Use them with other coin APIs.
tickers[].lastLast traded value of the pair, in units of the target asset.
tickers[].volumeTrading volume of the pair, in units of the base asset.
tickers[].converted_last.usd / tickers[].converted_last.btc / tickers[].converted_last.ethLast traded value converted to USD, BTC, and ETH.
tickers[].converted_volume.usd / tickers[].converted_volume.btc / tickers[].converted_volume.ethTrading volume converted to USD, BTC, and ETH.
tickers[].bid_ask_spread_percentageBid-ask spread of the pair, given as a percentage value.
tickers[].coin_mcap_usdMarket cap of the base coin in USD.
tickers[].last_traded_at / tickers[].last_fetch_at / tickers[].timestampISO 8601 timestamps for the last trade, the last data fetch, and the ticker record.
tickers[].is_anomaly / tickers[].is_staleBoolean flags that mark a ticker as anomalous or stale.
tickers[].trade_urlLink to the pair's trading page on the exchange.

Notes

Pricing

$0.008 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Explorar mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
CoinGecko$0.008 por chamadaJSON
CoinGecko$0.008 por chamadaJSON
CoinGecko$0.008 por chamadaJSON
CoinGecko$0.008 por chamadaJSON
CoinGecko$0.008 por chamadaJSON
CoinGecko$0.008 por chamadaJSON

Perguntas

FAQ

Como eu uso a API CoinGecko Exchange Tickers by ID?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/coingecko/exchanges-tickers com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.

Quanto custa a API CoinGecko Exchange Tickers by ID?

$0.008 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.

Quais parâmetros a API CoinGecko Exchange Tickers by ID aceita?

Obrigatórios: id (string). Opcionais: coin_ids (string), depth (boolean), dex_pair_format (um de contract_address, symbol), include_exchange_logo (boolean), order (um de market_cap_asc, market_cap_desc, trust_score_desc, trust_score_asc, volume_desc, volume_asc, base_target) e page (number). A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API CoinGecko Exchange Tickers by ID retorna?

Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.

Preciso de uma conta de desenvolvedor CoinGecko ou de uma chave de API?

Não. CoinGecko Exchange Tickers by ID funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do CoinGecko separadamente.