Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

CoinGecko Exchanges List (ID Map)

Dokumentasi API
https://api.sandbase.ai/v1/api/coingecko/exchanges-list

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

Harga
$0.008USD / panggilan
Metode
POST
Respons
JSON
Parameter
0 wajib · 1 opsional

Playground

Input
Filter by status of exchanges. Default: `active`
OutputSiap

Output Anda akan muncul di sini

Lengkapi input, lalu klik Run.

README API

CoinGecko Exchanges List (ID Map) API

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.

Use cases

  • Build a lookup table that maps exchange names to CoinGecko exchange IDs.
  • Fill an exchange picker in a dashboard with names, and store the id for later calls.
  • Check whether a given exchange id exists before you request its data.
  • Compare the active and inactive lists to find exchanges that CoinGecko no longer tracks as active.

Request

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.

Parameters

NameTypeRequiredDescription
statusstringNoFilter by status of exchanges. Default: active

Example response

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

[
  {
    "id": "10kswap-starknet-alpha",
    "name": "10KSwap"
  }
]

Response fields

FieldMeaning
[].idCoinGecko exchange ID, for example 9inch. Use this value as the exchange identifier in other CoinGecko APIs.
[].nameDisplay name of the exchange, for example 9mm V3 (Pulsechain).

Notes

  • The response is a flat array of objects. This request has no pagination parameters.
  • Pass status as active or inactive. If you leave it out, the API returns active exchanges.
  • Pass an id to CoinGecko Exchange Data by ID for details on one exchange.
  • Call CoinGecko Exchanges List with Data when you need more than the ID and name.

Pricing

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

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
CoinGecko$0.008 per panggilanJSON
CoinGecko$0.008 per panggilanJSON
CoinGecko$0.008 per panggilanJSON
CoinGecko$0.008 per panggilanJSON
CoinGecko$0.008 per panggilanJSON
CoinGecko$0.008 per panggilanJSON

Pertanyaan

FAQ

Bagaimana cara menggunakan API CoinGecko Exchanges List (ID Map)?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/coingecko/exchanges-list dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API CoinGecko Exchanges List (ID Map)?

$0.008 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.

Parameter apa yang diterima API CoinGecko Exchanges List (ID Map)?

Tidak ada parameter yang wajib. Opsional: status (salah satu dari active, inactive). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API CoinGecko Exchanges List (ID Map)?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.

Apakah saya memerlukan akun developer atau kunci API CoinGecko?

Tidak. CoinGecko Exchanges List (ID Map) berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API CoinGecko secara terpisah.