Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

CoinGecko Exchanges List (ID Map)

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

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

Preis
$0.008USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
0 erforderlich · 1 optional

Playground

Eingabe
Filter by status of exchanges. Default: `active`
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

API-README

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.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
CoinGecko$0.008 pro AufrufJSON
CoinGecko$0.008 pro AufrufJSON
CoinGecko$0.008 pro AufrufJSON
CoinGecko$0.008 pro AufrufJSON
CoinGecko$0.008 pro AufrufJSON
CoinGecko$0.008 pro AufrufJSON

Fragen

FAQ

Wie verwende ich die CoinGecko Exchanges List (ID Map) API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/coingecko/exchanges-list mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die CoinGecko Exchanges List (ID Map) API?

$0.008 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die CoinGecko Exchanges List (ID Map) API?

Es sind keine Parameter erforderlich. Optional: status (eines von active, inactive). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die CoinGecko Exchanges List (ID Map) API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein CoinGecko-Entwicklerkonto oder einen API-Schlüssel?

Nein. CoinGecko Exchanges List (ID Map) läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für CoinGecko API beantragen.