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.
- Prezzo
- $0.008USD / chiamata
- Metodo
- POST
- Risposta
- JSON
- Parametri
- 0 obbligatori · 0 opzionali
Playground
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
README API
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.
Inizia a costruire
Invia la tua prima richiesta
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
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. Autenticazione
Imposta la tua SandBase API key nell'ambiente del server. Le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la tua key sul server. Non esporla nel codice del browser.
3. Parametri
Non è stato pubblicato alcuno schema dei parametri per questa API.
4. Risposta
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
Nessuna risposta salvata è stata pubblicata. Esegui l'API in Playground per ispezionarne la risposta.
Esplora altro
API correlate
| API | Prezzo | Risposta |
|---|---|---|
CoinGecko Supported Currencies ListQuesta API CoinGecko | $0.008 per chiamata | JSON |
CoinGecko | $0.008 per chiamata | JSON |
CoinGecko | $0.008 per chiamata | JSON |
CoinGecko | $0.008 per chiamata | JSON |
CoinGecko | $0.008 per chiamata | JSON |
CoinGecko | $0.008 per chiamata | JSON |
Domande
FAQ
Come uso l'API CoinGecko Supported Currencies List?
Invia una richiesta POST a https://api.sandbase.ai/v1/api/coingecko/simple-supported-vs-currencies con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.
Quanto costa l'API CoinGecko Supported Currencies List?
$0.008 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Quali parametri accetta l'API CoinGecko Supported Currencies List?
CoinGecko Supported Currencies List non accetta parametri di input; invia un body JSON vuoto.
Cosa restituisce l'API CoinGecko Supported Currencies List?
Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.
Mi serve un account sviluppatore o una chiave API CoinGecko?
No. CoinGecko Supported Currencies List funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API CoinGecko.
