CoinGecko Supported Currencies List
https://api.sandbase.ai/v1/api/coingecko/simple-supported-vs-currenciesSupported Currencies List from CoinGecko. Returns the official CoinGecko API response unchanged.
- Fiyat
- $0.008USD / çağrı
- Yöntem
- POST
- Yanıt
- JSON
- Parametreler
- 0 gerekli · 0 isteğe bağlı
Oynatma Alanı
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
API README
CoinGecko Supported Currencies List API
Returns the list of currency codes that CoinGecko supports, as a flat JSON array of lowercase strings. The request takes no input.
Use cases
- Fill a currency dropdown with only the codes CoinGecko supports.
- Check that a code such as
ethorbtcis on the supported list before you send it in another CoinGecko request. - Compare the list with your own stored list to spot codes that were added or removed.
Request
curl -X POST "https://api.sandbase.ai/v1/api/coingecko/simple-supported-vs-currencies" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
[
"btc"
]
Response fields
| Field | Meaning |
|---|---|
[] | The full response is an array. Each item is one supported currency code as a lowercase string. |
[0] | The first code in the array. In the sample response it is btc. |
[1] / [2] | Further codes in the array. In the sample response they are eth and ltc. |
Notes
- The response is a JSON array of strings, not an object, so there are no named keys.
- To look up coin IDs, call CoinGecko Coins List (ID Map).
- To get market data for coins, call CoinGecko Coins List with Market Data.
Pricing
$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
İlk isteğinizi gönderin
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
curl -X POST "https://api.sandbase.ai/v1/api/coingecko/simple-supported-vs-currencies" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. Kimlik doğrulama
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.
3. Parametreler
Bu API için bir parametre şeması yayınlanmamış.
4. Yanıt
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
İlgili APIs
| 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
SSS
CoinGecko Supported Currencies List API'sini nasıl kullanırım?
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/coingecko/simple-supported-vs-currencies adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
CoinGecko Supported Currencies List API'sinin fiyatı nedir?
çağrı başına $0.008, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
CoinGecko Supported Currencies List API'si hangi parametreleri kabul eder?
CoinGecko Supported Currencies List hiçbir giriş parametresi almaz; boş bir JSON gövdesi gönderin.
CoinGecko Supported Currencies List API'si ne döndürür?
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.
Bir CoinGecko geliştirici hesabına veya API anahtarına ihtiyacım var mı?
Hayır. CoinGecko Supported Currencies List, 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.
