statusstring
Filter by status of exchanges. Default: `active`
Mögliche Werte: active, inactive
https://api.sandbase.ai/v1/api/coingecko/exchanges-listExchanges List (ID Map) from CoinGecko. Returns the official CoinGecko API response unchanged.
Ihre Ausgabe wird hier angezeigt
Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.
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.
id for later calls.id exists before you request its data.active and inactive lists to find exchanges that CoinGecko no longer tracks as active.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.
| Name | Type | Required | Description |
|---|---|---|---|
status | string | No | Filter by status of exchanges. Default: active |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
[
{
"id": "10kswap-starknet-alpha",
"name": "10KSwap"
}
]
| Field | Meaning |
|---|---|
[].id | CoinGecko exchange ID, for example 9inch. Use this value as the exchange identifier in other CoinGecko APIs. |
[].name | Display name of the exchange, for example 9mm V3 (Pulsechain). |
status as active or inactive. If you leave it out, the API returns active exchanges.id to CoinGecko Exchange Data by ID for details on one exchange.$0.008 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Jetzt loslegen
Plattform-API-Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
curl -X POST "https://api.sandbase.ai/v1/api/coingecko/exchanges-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Legen Sie Ihren SandBase API-Schlüssel in Ihrer Serverumgebung fest. Anfragen verwenden Bearer-Authentifizierung.
export SANDBASE_API_KEY="YOUR_API_KEY"Bewahren Sie Ihren Schlüssel auf dem Server auf. Geben Sie ihn nicht in Browser-Code preis.
statusstringFilter by status of exchanges. Default: `active`
Mögliche Werte: active, inactive
Gespeicherte Beispielantwort für diese API; beim Anzeigen wird keine Live-Anfrage gesendet.
Es wurde keine gespeicherte Antwort veröffentlicht. Führen Sie die API in Playground aus, um die Antwort zu prüfen.
Mehr entdecken
| API | Preis | Antwort |
|---|---|---|
CoinGecko Exchanges List (ID Map)Diese API CoinGecko | $0.008 pro Aufruf | JSON |
CoinGecko | $0.008 pro Aufruf | JSON |
CoinGecko | $0.008 pro Aufruf | JSON |
CoinGecko | $0.008 pro Aufruf | JSON |
CoinGecko | $0.008 pro Aufruf | JSON |
CoinGecko | $0.008 pro Aufruf | JSON |
Fragen
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.
$0.008 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.
Es sind keine Parameter erforderlich. Optional: status (eines von active, inactive). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.
Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.
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.