statusstring
Filter by status of exchanges. Default: `active`
Valores possíveis: active, inactive
https://api.sandbase.ai/v1/api/coingecko/exchanges-listExchanges List (ID Map) from CoinGecko. Returns the official CoinGecko API response unchanged.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
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.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento 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 '{}'Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
statusstringFilter by status of exchanges. Default: `active`
Valores possíveis: active, inactive
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
| API | Preço | Resposta |
|---|---|---|
CoinGecko | $0.008 por chamada | JSON |
CoinGecko | $0.008 por chamada | JSON |
CoinGecko | $0.008 por chamada | JSON |
CoinGecko | $0.008 por chamada | JSON |
CoinGecko | $0.008 por chamada | JSON |
CoinGecko | $0.008 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/coingecko/exchanges-list com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
$0.008 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Nenhum parâmetro é obrigatório. Opcionais: status (um de active, inactive). A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.
Não. CoinGecko Exchanges List (ID Map) funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do CoinGecko separadamente.