orderstring
Sort results by field. Default: `market_cap_desc`
Olası değerler: market_cap_desc, market_cap_asc, name_desc, name_asc, market_cap_change_24h_desc, market_cap_change_24h_asc
https://api.sandbase.ai/v1/api/coingecko/coins-categoriesGet all the coins categories with market data (market cap, volume, ...) on CoinGecko
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
Returns a list of CoinGecko coin categories with market data for each one. The list includes market cap, 24 hour volume, and the top 3 coins in the category. The only input is the optional order parameter, so you can call it with an empty body.
market_cap.market_cap_change_24h_desc or market_cap_change_24h_asc.id values to use in other CoinGecko category filters.curl -X POST "https://api.sandbase.ai/v1/api/coingecko/coins-categories" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
order | string | No | Sort results by field. Default: market_cap_desc |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
[
{
"content": "Smart contract platforms are usually blockchains that host smart contracts or de…",
"id": "smart-contract-platform",
"market_cap": 2222866902946.95,
"market_cap_change_24h": -1.807761056228854,
"name": "Smart Contract Platform",
"top_3_coins": [
"https://coin-images.coingecko.com/coins/images/1/small/bitcoin.png"
],
"top_3_coins_id": [
"bitcoin"
],
"updated_at": "2026-11-03T07:25:48.000Z",
"volume_24h": 48445845979.916245
}
]
| Field | Meaning |
|---|---|
id | Category ID in slug form, for example layer-1. Use it to identify the category in other calls. |
name | Display name of the category, for example Layer 1 (L1). |
content | Short text that describes the category. Long text is cut in the sample, so the full value may be longer. |
market_cap | Total market cap of all coins in the category. |
market_cap_change_24h | Change in the category market cap over the last 24 hours. The values in the sample are small signed numbers such as -1.81. |
volume_24h | Trading volume of the category over the last 24 hours. |
top_3_coins_id | List of CoinGecko coin IDs for the three leading coins in the category, for example bitcoin. |
top_3_coins | List of image URLs for the same three coins, in the same order as top_3_coins_id. |
updated_at | ISO 8601 UTC timestamp of the last update of the category row. |
order accepts market_cap_desc (default), market_cap_asc, name_desc, name_asc, market_cap_change_24h_desc and market_cap_change_24h_asc.top_3_coins_id to CoinGecko Coin Data by ID to get full data for a 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-categories" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'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.
orderstringSort results by field. Default: `market_cap_desc`
Olası değerler: market_cap_desc, market_cap_asc, name_desc, name_asc, market_cap_change_24h_desc, market_cap_change_24h_asc
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-categories 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 parametre yoktur. İsteğe bağlı: order (market_cap_desc, market_cap_asc, name_desc, name_asc, market_cap_change_24h_desc, market_cap_change_24h_asc arasından biri). 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 Categories 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.