Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

CoinGecko Coins Categories List (ID Map)

Docs API
https://api.sandbase.ai/v1/api/coingecko/coins-categories-list

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

Prix
$0.008USD / appel
Méthode
POST
Réponse
JSON
Paramètres
0 obligatoires · 0 facultatifs

Bac à sable

Entrée
Aucun schéma d’entrée disponible
SortiePrêt

Votre sortie apparaîtra ici

Complétez les entrées, puis cliquez sur Exécuter.

README de l'API

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 name field as the label and category_id as 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_id to 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

FieldMeaning
[].category_idUnique ID of the category on CoinGecko. It is a lowercase, hyphenated string such as 0g-ecosystem.
[].nameDisplay name of the category, such as 4chan-Themed.

Notes

Pricing

$0.008 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
CoinGecko$0.008 par appelJSON
CoinGecko$0.008 par appelJSON
CoinGecko$0.008 par appelJSON
CoinGecko$0.008 par appelJSON
CoinGecko$0.008 par appelJSON
CoinGecko$0.008 par appelJSON

Questions

FAQ

Comment utiliser l’API CoinGecko Coins Categories List (ID Map) ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/coingecko/coins-categories-list avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API CoinGecko Coins Categories List (ID Map) ?

$0.008 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API CoinGecko Coins Categories List (ID Map) accepte-t-elle ?

CoinGecko Coins Categories List (ID Map) n’accepte aucun paramètre d’entrée ; envoyez un corps JSON vide.

Que renvoie l’API CoinGecko Coins Categories List (ID Map) ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API CoinGecko ?

Non. CoinGecko Coins Categories List (ID Map) fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API CoinGecko séparément.