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

CoinGecko Coins Categories List (ID Map)

Dokumentasi 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.

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

Playground

Input
Tidak ada skema input yang tersedia
OutputSiap

Output Anda akan muncul di sini

Lengkapi input, lalu klik Run.

README 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.

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 Coins Categories List (ID Map)?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/coingecko/coins-categories-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 Coins Categories 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 Coins Categories List (ID Map)?

CoinGecko Coins Categories List (ID Map) tidak memiliki parameter input; kirim body JSON kosong.

Apa yang dikembalikan API CoinGecko Coins Categories 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 Coins Categories 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.