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

CoinGecko Supported Currencies List

Dokumentacja API
https://api.sandbase.ai/v1/api/coingecko/simple-supported-vs-currencies

Supported Currencies List from CoinGecko. Returns the official CoinGecko API response unchanged.

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

Playground

Wejście
Brak dostępnego schematu wejścia
WyjścieGotowe

Twój wynik pojawi się tutaj

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

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 eth or btc is 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

FieldMeaning
[]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

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 Supported Currencies List?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/coingecko/simple-supported-vs-currencies 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 Supported Currencies List?

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

Jakie parametry przyjmuje API CoinGecko Supported Currencies List?

CoinGecko Supported Currencies List nie przyjmuje żadnych parametrów wejściowych; wyślij pustą treść JSON.

Co zwraca API CoinGecko Supported Currencies List?

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 Supported Currencies List 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.