vs_currencystringzorunlu
Target currency of coins and market data. *refers to [`/simple/supported_vs_currencies`](/reference/simple-supported-currencies)
Varsayılan: "usd"
https://api.sandbase.ai/v1/api/coingecko/coins-marketsGet all the supported coins with price, market cap, volume and market related data
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
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.
ath_change_percentage.circulating_supply with max_supply across several coins.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.
| Name | Type | Required | Description |
|---|---|---|---|
vs_currency | string | Yes | Target currency of coins and market data. *refers to /simple/supported_vs_currencies |
category | string | No | Filter based on coins' category. *refers to /coins/categories/list |
ids | string | No | Coins' IDs, comma-separated if querying more than 1 coin. *refers to /coins/list |
include_rehypothecated | boolean | No | Include rehypothecated tokens in results. When true, returns market_cap_rank_with_rehypothecated field. Default: false |
include_tokens | string | No | For symbols lookups, specify all to include all matching tokens. Default top returns top-ranked tokens by market cap or volume. |
locale | string | No | Language background. Default: en |
names | string | No | Coins' names, comma-separated if querying more than 1 coin. |
order | string | No | Sort result by field. Default: market_cap_desc |
page | integer | No | Page through results. Default: 1 |
per_page | integer | No | Total results per page. Default: 100 Valid values: 1...250 |
precision | string | No | Decimal places for currency price value |
price_change_percentage | string | No | Include price change percentage timeframe, comma-separated if querying more than 1 timeframe. Valid values: 1h, 24h, 7d, 14d, 30d, 200d, 1y |
sparkline | boolean | No | Include sparkline 7-day data. Default: false |
symbols | string | No | Coins' symbols, comma-separated if querying more than 1 coin. |
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"
}
]
| Field | Meaning |
|---|---|
id / symbol / name | The coin identifier, its ticker in lowercase and its display name. Use id as the key for follow-up calls. |
market_cap / market_cap_rank | Market capitalization in the requested currency and the coin's rank by market cap. |
fully_diluted_valuation | Fully diluted valuation of the coin in the requested currency. |
total_volume | Total trading volume figure for the coin. |
high_24h / low_24h | Highest and lowest value seen in the last 24 hours. |
market_cap_change_24h / market_cap_change_percentage_24h | Absolute and percentage change in market cap over 24 hours. |
circulating_supply / total_supply / max_supply | Coins 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_percentage | All-time high value, the ISO 8601 date it happened, and the current percentage change from that high. |
atl / atl_date / atl_change_percentage | All-time low value, the ISO 8601 date it happened, and the current percentage change from that low. |
last_updated | ISO 8601 timestamp of the last update to this coin's data. |
page and per_page (1 to 250) to step through the list.ids, names or symbols as comma-separated values to limit the result to specific coins. Find valid IDs with CoinGecko Coins List (ID Map).vs_currency values with CoinGecko Supported Currencies List.id for full details on one coin.$0.008 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Geliştirmeye başlayın
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
curl -X POST "https://api.sandbase.ai/v1/api/coingecko/coins-markets" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"ids": "bitcoin",
"names": "Bitcoin",
"symbols": "btc",
"vs_currency": "usd"
}'SandBase API anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
vs_currencystringzorunluTarget currency of coins and market data. *refers to [`/simple/supported_vs_currencies`](/reference/simple-supported-currencies)
Varsayılan: "usd"
categorystringFilter based on coins' category. *refers to [`/coins/categories/list`](/reference/coins-categories-list)
idsstringCoins' IDs, comma-separated if querying more than 1 coin. *refers to [`/coins/list`](/reference/coins-list)
Varsayılan: "bitcoin"
include_rehypothecatedbooleanInclude rehypothecated tokens in results. When true, returns `market_cap_rank_with_rehypothecated` field. Default: false
include_tokensstringFor `symbols` lookups, specify `all` to include all matching tokens. Default `top` returns top-ranked tokens by market cap or volume.
Olası değerler: top, all
localestringLanguage background. Default: en
Olası değerler: 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
namesstringCoins' names, comma-separated if querying more than 1 coin.
Varsayılan: "Bitcoin"
orderstringSort result by field. Default: market_cap_desc
Olası değerler: market_cap_asc, market_cap_desc, volume_asc, volume_desc, id_asc, id_desc
pageintegerPage through results. Default: 1
per_pageintegerTotal results per page. Default: 100 Valid values: 1...250
precisionstringDecimal places for currency price value
Olası değerler: full, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
price_change_percentagestringInclude price change percentage timeframe, comma-separated if querying more than 1 timeframe. Valid values: `1h`, `24h`, `7d`, `14d`, `30d`, `200d`, `1y`
sparklinebooleanInclude sparkline 7-day data. Default: false
symbolsstringCoins' symbols, comma-separated if querying more than 1 coin.
Varsayılan: "btc"
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
Yayınlanmış bir kaydedilmiş yanıt yok. Yanıtını incelemek için API'yi Playground'da çalıştırın.
Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
CoinGecko | $0.008 çağrı başına | JSON |
CoinGecko | $0.008 çağrı başına | JSON |
CoinGecko | $0.008 çağrı başına | JSON |
CoinGecko | $0.008 çağrı başına | JSON |
CoinGecko | $0.008 çağrı başına | JSON |
CoinGecko | $0.008 çağrı başına | JSON |
Sorular
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/coingecko/coins-markets adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.008, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
Gerekli: vs_currency (string). İsteğe bağlı: category (string), ids (string), include_rehypothecated (boolean), include_tokens (top, all arasından biri), 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 arasından biri) ve names (string) ve 7 tane daha. Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.
Hayır. CoinGecko Coins List with Market Data, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. CoinGecko API erişimi için ayrıca başvuru yapmanız gerekmez.