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

CoinGecko Coins List with Market Data

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

Get all the supported coins with price, market cap, volume and market related data

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

Playground

อินพุต
Target currency of coins and market data. *refers to [`/simple/supported_vs_currencies`](/reference/simple-supported-currencies)
Filter based on coins' category. *refers to [`/coins/categories/list`](/reference/coins-categories-list)
Coins' IDs, comma-separated if querying more than 1 coin. *refers to [`/coins/list`](/reference/coins-list)
Include rehypothecated tokens in results. When true, returns `market_cap_rank_with_rehypothecated` field. Default: false
For `symbols` lookups, specify `all` to include all matching tokens. Default `top` returns top-ranked tokens by market cap or volume.
Language background. Default: en
Coins' names, comma-separated if querying more than 1 coin.
Sort result by field. Default: market_cap_desc
Page through results. Default: 1
Total results per page. Default: 100 Valid values: 1...250
Decimal places for currency price value
Include price change percentage timeframe, comma-separated if querying more than 1 timeframe. Valid values: `1h`, `24h`, `7d`, `14d`, `30d`, `200d`, `1y`
Include sparkline 7-day data. Default: false
Coins' symbols, comma-separated if querying more than 1 coin.
เอาต์พุตพร้อมใช้งาน

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

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

API README

CoinGecko Coins List with Market Data API

Returns a list of coins with market data, such as market cap, 24-hour trading volume, supply, and all-time high and low values. It needs vs_currency, the currency the values are quoted in, for example usd.

Use cases

  • Build a ranked table of the largest coins by market cap in a chosen currency.
  • Track how far a coin trades below its all-time high using ath_change_percentage.
  • Compare circulating_supply with max_supply across several coins.
  • Pull the 24-hour high, low and change for a watchlist of coin IDs.

Request

curl -X POST "https://api.sandbase.ai/v1/api/coingecko/coins-markets" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"vs_currency": "usd"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
vs_currencystringYesTarget currency of coins and market data. *refers to /simple/supported_vs_currencies
categorystringNoFilter based on coins' category. *refers to /coins/categories/list
idsstringNoCoins' IDs, comma-separated if querying more than 1 coin. *refers to /coins/list
include_rehypothecatedbooleanNoInclude rehypothecated tokens in results. When true, returns market_cap_rank_with_rehypothecated field. Default: false
include_tokensstringNoFor symbols lookups, specify all to include all matching tokens. Default top returns top-ranked tokens by market cap or volume.
localestringNoLanguage background. Default: en
namesstringNoCoins' names, comma-separated if querying more than 1 coin.
orderstringNoSort result by field. Default: market_cap_desc
pageintegerNoPage through results. Default: 1
per_pageintegerNoTotal results per page. Default: 100 Valid values: 1...250
precisionstringNoDecimal places for currency price value
price_change_percentagestringNoInclude price change percentage timeframe, comma-separated if querying more than 1 timeframe. Valid values: 1h, 24h, 7d, 14d, 30d, 200d, 1y
sparklinebooleanNoInclude sparkline 7-day data. Default: false
symbolsstringNoCoins' symbols, comma-separated if querying more than 1 coin.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

[
  {
    "ath": 126080,
    "ath_change_percentage": -39.17528,
    "ath_date": "2025-10-06T10:57:42.000Z",
    "atl": 67.81,
    "atl_change_percentage": 112993.7487,
    "atl_date": "2013-07-05T16:00:00.000Z",
    "circulating_supply": 20105365.0,
    "current_price": 76688,
    "fully_diluted_valuation": 1541835004796,
    "high_24h": 78287,
    "id": "bitcoin",
    "image": "https://coin-images.coingecko.com/coins/images/1/large/bitcoin.png?1696501400"
  }
]

Response fields

FieldMeaning
id / symbol / nameThe coin identifier, its ticker in lowercase and its display name. Use id as the key for follow-up calls.
market_cap / market_cap_rankMarket capitalization in the requested currency and the coin's rank by market cap.
fully_diluted_valuationFully diluted valuation of the coin in the requested currency.
total_volumeTotal trading volume figure for the coin.
high_24h / low_24hHighest and lowest value seen in the last 24 hours.
market_cap_change_24h / market_cap_change_percentage_24hAbsolute and percentage change in market cap over 24 hours.
circulating_supply / total_supply / max_supplyCoins in circulation, total coins that exist, and the supply cap. max_supply can be empty when no cap is set.
ath / ath_date / ath_change_percentageAll-time high value, the ISO 8601 date it happened, and the current percentage change from that high.
atl / atl_date / atl_change_percentageAll-time low value, the ISO 8601 date it happened, and the current percentage change from that low.
last_updatedISO 8601 timestamp of the last update to this coin's data.

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 Coins List with Market Data API ได้อย่างไร?

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

CoinGecko Coins List with Market Data API ราคาเท่าไร?

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

CoinGecko Coins List with Market Data API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: vs_currency (string). ตัวเลือก: category (string), ids (string), include_rehypothecated (boolean), include_tokens (หนึ่งใน top, all), locale (หนึ่งใน ar, bg, cs, da, de, el, en, es, fi, fr, he, hi, hr, hu, id, it, ja, ko, lt, nl, no, pl, pt, ro, ru, sk, sl, sv, th, tr, uk, vi, zh, zh-tw) และ names (string) และอีก 7 รายการ ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

CoinGecko Coins List with Market Data API ส่งคืนอะไร?

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

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

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