Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

CoinGecko Coin Tickers by ID

เอกสาร API
https://api.sandbase.ai/v1/api/coingecko/coins-tickers

Get the coin tickers on both centralized exchange (CEX) and decentralized exchange (DEX) based on a particular coin ID

ราคา
$0.008USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 6 ไม่บังคับ

Playground

อินพุต
Coin ID. *refers to [`/coins/list`](/reference/coins-list)
Include 2% orderbook depth, i.e. `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`
Exchange ID. *refers to [`/exchanges/list`](/reference/exchanges-list)
Sort the order of responses. Default: trust_score_desc
Page through results
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

CoinGecko Coin Tickers by ID API

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.

Use cases

  • Compare the value of one coin on different exchanges to spot gaps between markets.
  • Rank exchanges by converted trading volume for a coin to find where it trades most.
  • Filter out stale or anomalous tickers before you compute an average across exchanges.
  • Build a list of trade page links for a coin, one per exchange.

Request

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.

Parameters

NameTypeRequiredDescription
idstringYesCoin ID. *refers to /coins/list
depthbooleanNoInclude 2% orderbook depth, i.e. 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
exchange_idsstringNoExchange ID. *refers to /exchanges/list
include_exchange_logobooleanNoInclude exchange logo. Default: false
orderstringNoSort the order of responses. Default: trust_score_desc
pageintegerNoPage through results

Example response

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

Response fields

FieldMeaning
nameName of the coin the tickers belong to, for example Bitcoin.
tickers[].base / tickers[].targetThe 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.identifierDisplay name and ID of the exchange that lists the pair. For example, identifier is btcc for BTCC.
tickers[].last / tickers[].volumeLast 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.ethThe 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.ethThe trading volume converted to USD, BTC and ETH.
tickers[].bid_ask_spread_percentageGap between the best bid and best ask for the pair, given as a percentage.
tickers[].is_anomaly / tickers[].is_staleBoolean 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[].timestampISO 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_urlLink to the trading page for the pair 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.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
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

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ CoinGecko Coin Tickers by ID API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/coingecko/coins-tickers โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

CoinGecko Coin Tickers by ID API ราคาเท่าไร?

$0.008 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

CoinGecko Coin Tickers by ID API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: 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 และ Playground ในหน้านี้แสดงทุกฟิลด์

CoinGecko Coin Tickers by ID API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ CoinGecko ไหม?

ไม่จำเป็น CoinGecko Coin Tickers by ID ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง CoinGecko API แยกต่างหาก