Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

CoinGecko Exchanges List (ID Map)

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

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

Cena
$0.008USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
0 wymaganych · 1 opcjonalnych

Playground

Wejście
Filter by status of exchanges. Default: `active`
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
CoinGecko$0.008 za wywołanieJSON
CoinGecko$0.008 za wywołanieJSON
CoinGecko$0.008 za wywołanieJSON
CoinGecko$0.008 za wywołanieJSON
CoinGecko$0.008 za wywołanieJSON
CoinGecko$0.008 za wywołanieJSON

Pytania

FAQ

Jak używać API CoinGecko Exchanges List (ID Map)?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/coingecko/exchanges-list z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API CoinGecko Exchanges List (ID Map)?

$0.008 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API CoinGecko Exchanges List (ID Map)?

Nie są wymagane żadne parametry. Opcjonalne: status (jedna z opcji: active, inactive). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API CoinGecko Exchanges List (ID Map)?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego CoinGecko lub klucza API?

Nie. CoinGecko Exchanges List (ID Map) działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API CoinGecko.