statusstring
Filter by status of exchanges. Default: `active`
Valores posibles: active, inactive
https://api.sandbase.ai/v1/api/coingecko/exchanges-listExchanges List (ID Map) from CoinGecko. Returns the official CoinGecko API response unchanged.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
Returns a list of CoinGecko exchanges, each with an id and a name. It takes one optional input, status, which filters the list to active or inactive exchanges. The default is active.
id for later calls.id exists before you request its data.active and inactive lists to find exchanges that CoinGecko no longer tracks as active.curl -X POST "https://api.sandbase.ai/v1/api/coingecko/exchanges-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
status | string | No | Filter by status of exchanges. Default: active |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
[
{
"id": "10kswap-starknet-alpha",
"name": "10KSwap"
}
]
| Field | Meaning |
|---|---|
[].id | CoinGecko exchange ID, for example 9inch. Use this value as the exchange identifier in other CoinGecko APIs. |
[].name | Display name of the exchange, for example 9mm V3 (Pulsechain). |
status as active or inactive. If you leave it out, the API returns active exchanges.id to CoinGecko Exchange Data by ID for details on one exchange.$0.008 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
curl -X POST "https://api.sandbase.ai/v1/api/coingecko/exchanges-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
statusstringFilter by status of exchanges. Default: `active`
Valores posibles: active, inactive
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
No se ha publicado ninguna respuesta guardada. Ejecute la API en Playground para inspeccionar su respuesta.
Explorar más
| API | Precio | Respuesta |
|---|---|---|
CoinGecko | $0.008 por llamada | JSON |
CoinGecko | $0.008 por llamada | JSON |
CoinGecko | $0.008 por llamada | JSON |
CoinGecko | $0.008 por llamada | JSON |
CoinGecko | $0.008 por llamada | JSON |
CoinGecko | $0.008 por llamada | JSON |
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/coingecko/exchanges-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.
$0.008 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
No se requieren parámetros. Opcionales: status (una de active, inactive). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.
No. CoinGecko Exchanges 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.