Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

CoinGecko Coins List (ID Map)

Documentación de la API
https://api.sandbase.ai/v1/api/coingecko/coins-list

Get all the supported coins on CoinGecko with coins ID, name and symbol

Precio
$0.008USD / llamada
Método
POST
Respuesta
JSON
Parámetros
0 obligatorios · 2 opcionales

Entorno de pruebas

Entrada
Include platform and token's contract addresses. Default: false
Filter by status of coins. Default: active
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la API

CoinGecko Coins List (ID Map) API

Returns the list of coins that CoinGecko supports, as a flat array. Each entry has the coin id, name and symbol. No input is required. Optional parameters add contract addresses or switch to inactive coins.

Use cases

  • Build a lookup table that maps CoinGecko coin IDs to symbols and names.
  • Resolve a ticker symbol to a coin id before you call a coin data or market data API.
  • Check whether a coin is listed on CoinGecko by searching the list for its id or symbol.
  • Set status to inactive to find coins that are not active.

Request

curl -X POST "https://api.sandbase.ai/v1/api/coingecko/coins-list" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
include_platformbooleanNoInclude platform and token's contract addresses. Default: false
statusstringNoFilter by status of coins. Default: active

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

[
  {
    "id": "_",
    "name": "༼ つ ◕_◕ ༽つ",
    "symbol": "gib"
  }
]

Response fields

FieldMeaning
[].idCoinGecko coin ID, such as 000-capital. Pass this value to other CoinGecko APIs that ask for a coin ID.
[].nameDisplay name of the coin. It can contain digits or unusual characters.
[].symbolTicker symbol of the coin. It appears in lowercase in the response. Use id as the identifier when you call other APIs.

Notes

  • The request body can be empty ({}). By default the call returns coins with status set to active.
  • Set include_platform to true to add platform and token contract address data to each coin. The sample response was requested without it and shows only id, name and symbol.
  • Use the id value as the coin ID in CoinGecko Coin Data by ID.
  • To get market data for many coins in one call, use 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.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
CoinGecko$0.008 por llamadaJSON
CoinGecko$0.008 por llamadaJSON
CoinGecko$0.008 por llamadaJSON
CoinGecko$0.008 por llamadaJSON
CoinGecko$0.008 por llamadaJSON
CoinGecko$0.008 por llamadaJSON

Preguntas

FAQ

¿Cómo uso la API de CoinGecko Coins List (ID Map)?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/coingecko/coins-list con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de CoinGecko Coins List (ID Map)?

$0.008 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de CoinGecko Coins List (ID Map)?

No se requieren parámetros. Opcionales: include_platform (boolean) y status (una de active, inactive). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de CoinGecko Coins List (ID Map)?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de CoinGecko?

No. CoinGecko Coins List (ID Map) funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de CoinGecko por separado.