CoinGecko Coins Categories List (ID Map)
https://api.sandbase.ai/v1/api/coingecko/coins-categories-listCoins Categories List (ID Map) 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 Coins Categories List (ID Map) API
Returns the list of all coin categories on CoinGecko as an ID map. Each item has a category_id and a display name. The API takes no input parameters.
Use cases
- Build a category picker in an app using the
namefield as the label andcategory_idas the value. - Validate a category ID before you pass it to another CoinGecko call.
- Sync a local table of CoinGecko categories, for example to find new ecosystem or theme groups.
- Map a stored
category_idto a readable name in reports.
Request
curl -X POST "https://api.sandbase.ai/v1/api/coingecko/coins-categories-list" \
-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.
[
{
"category_id": "0g-ecosystem",
"name": "0g Ecosystem"
}
]
Response fields
| Field | Meaning |
|---|---|
[].category_id | Unique ID of the category on CoinGecko. It is a lowercase, hyphenated string such as 0g-ecosystem. |
[].name | Display name of the category, such as 4chan-Themed. |
Notes
- The response is a top-level array. It has no wrapper object.
- The request needs no parameters. Send an empty JSON object
{}. - This list has no market data. Call CoinGecko Coins Categories List with Market Data for market data per category.
- To find coins themselves, call CoinGecko Coins List (ID Map).
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/coins-categories-list" \
-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 | $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 Coins Categories List (ID Map) API?
Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/coingecko/coins-categories-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 Coins Categories 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 Coins Categories List (ID Map) API?
CoinGecko Coins Categories List (ID Map) benötigt keine Eingabeparameter; senden Sie einen leeren JSON-Body.
Was gibt die CoinGecko Coins Categories 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 Coins Categories 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.
