CoinGecko Supported Currencies List
https://api.sandbase.ai/v1/api/coingecko/simple-supported-vs-currenciesSupported Currencies List from CoinGecko. Returns the official CoinGecko API response unchanged.
- Preis
- $0.008USD / Aufruf
- Methode
- POST
- Antwort
- JSON
- Parameter
- 0 erforderlich · 0 optional
Playground
Ihre Ausgabe wird hier angezeigt
Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.
API-README
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
ethorbtcis 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
| Field | Meaning |
|---|---|
[] | 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
- The response is a JSON array of strings, not an object, so there are no named keys.
- To look up coin IDs, call CoinGecko Coins List (ID Map).
- To get market data for coins, call CoinGecko Coins List with Market Data.
Pricing
$0.008 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Jetzt loslegen
Senden Sie Ihre erste Anfrage
Plattform-API-Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
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 '{}'2. Authentifizierung
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.
3. Parameter
Für diese API wurde kein Parameterschema veröffentlicht.
4. Antwort
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
Verwandte APIs
| API | Preis | Antwort |
|---|---|---|
CoinGecko Supported Currencies ListDiese 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
FAQ
Wie verwende ich die CoinGecko Supported Currencies List API?
Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/coingecko/simple-supported-vs-currencies 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 Supported Currencies List 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 Supported Currencies List API?
CoinGecko Supported Currencies List benötigt keine Eingabeparameter; senden Sie einen leeren JSON-Body.
Was gibt die CoinGecko Supported Currencies List 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 Supported Currencies List 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.
