Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

CoinGecko Exchanges List (ID Map)

Documentazione API
https://api.sandbase.ai/v1/api/coingecko/exchanges-list

Exchanges List (ID Map) from CoinGecko. Returns the official CoinGecko API response unchanged.

Prezzo
$0.008USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
0 obbligatori · 1 opzionali

Playground

Input
Filter by status of exchanges. Default: `active`
OutputPronto

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

README API

CoinGecko Exchanges List (ID Map) API

Returns a list of CoinGecko exchanges, each with an id and a name. It takes one optional input, status, which filters the list to active or inactive exchanges. The default is active.

Use cases

  • Build a lookup table that maps exchange names to CoinGecko exchange IDs.
  • Fill an exchange picker in a dashboard with names, and store the id for later calls.
  • Check whether a given exchange id exists before you request its data.
  • Compare the active and inactive lists to find exchanges that CoinGecko no longer tracks as active.

Request

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

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

Parameters

NameTypeRequiredDescription
statusstringNoFilter by status of exchanges. Default: active

Example response

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

[
  {
    "id": "10kswap-starknet-alpha",
    "name": "10KSwap"
  }
]

Response fields

FieldMeaning
[].idCoinGecko exchange ID, for example 9inch. Use this value as the exchange identifier in other CoinGecko APIs.
[].nameDisplay name of the exchange, for example 9mm V3 (Pulsechain).

Notes

  • The response is a flat array of objects. This request has no pagination parameters.
  • Pass status as active or inactive. If you leave it out, the API returns active exchanges.
  • Pass an id to CoinGecko Exchange Data by ID for details on one exchange.
  • Call CoinGecko Exchanges List with Data when you need more than the ID and name.

Pricing

$0.008 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
CoinGecko$0.008 per chiamataJSON
CoinGecko$0.008 per chiamataJSON
CoinGecko$0.008 per chiamataJSON
CoinGecko$0.008 per chiamataJSON
CoinGecko$0.008 per chiamataJSON
CoinGecko$0.008 per chiamataJSON

Domande

FAQ

Come uso l'API CoinGecko Exchanges List (ID Map)?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/coingecko/exchanges-list 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 Exchanges List (ID Map)?

$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 Exchanges List (ID Map)?

Nessun parametro richiesto. Facoltativi: status (uno tra active, inactive). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API CoinGecko Exchanges List (ID Map)?

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 Exchanges List (ID Map) 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.