Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

CoinGecko Coins Categories List with Market Data

เอกสาร API
https://api.sandbase.ai/v1/api/coingecko/coins-categories

Get all the coins categories with market data (market cap, volume, ...) on CoinGecko

ราคา
$0.008USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
0 จำเป็น · 1 ไม่บังคับ

Playground

อินพุต
Sort results by field. Default: `market_cap_desc`
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

CoinGecko Coins Categories List with Market Data API

Returns a list of CoinGecko coin categories with market data for each one. The list includes market cap, 24 hour volume, and the top 3 coins in the category. The only input is the optional order parameter, so you can call it with an empty body.

Use cases

  • Rank crypto sectors such as Layer 1 or Proof of Work by total market_cap.
  • Find categories with the biggest 24 hour market cap move by sorting with market_cap_change_24h_desc or market_cap_change_24h_asc.
  • Build a sector dashboard that shows volume and the leading coins for each category.
  • Collect category id values to use in other CoinGecko category filters.

Request

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

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

Parameters

NameTypeRequiredDescription
orderstringNoSort results by field. Default: market_cap_desc

Example response

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

[
  {
    "content": "Smart contract platforms are usually blockchains that host smart contracts or de…",
    "id": "smart-contract-platform",
    "market_cap": 2222866902946.95,
    "market_cap_change_24h": -1.807761056228854,
    "name": "Smart Contract Platform",
    "top_3_coins": [
      "https://coin-images.coingecko.com/coins/images/1/small/bitcoin.png"
    ],
    "top_3_coins_id": [
      "bitcoin"
    ],
    "updated_at": "2026-11-03T07:25:48.000Z",
    "volume_24h": 48445845979.916245
  }
]

Response fields

FieldMeaning
idCategory ID in slug form, for example layer-1. Use it to identify the category in other calls.
nameDisplay name of the category, for example Layer 1 (L1).
contentShort text that describes the category. Long text is cut in the sample, so the full value may be longer.
market_capTotal market cap of all coins in the category.
market_cap_change_24hChange in the category market cap over the last 24 hours. The values in the sample are small signed numbers such as -1.81.
volume_24hTrading volume of the category over the last 24 hours.
top_3_coins_idList of CoinGecko coin IDs for the three leading coins in the category, for example bitcoin.
top_3_coinsList of image URLs for the same three coins, in the same order as top_3_coins_id.
updated_atISO 8601 UTC timestamp of the last update of the category row.

Notes

  • order accepts market_cap_desc (default), market_cap_asc, name_desc, name_asc, market_cap_change_24h_desc and market_cap_change_24h_asc.
  • The response is a plain JSON array. The request has no pagination parameters.
  • Pass values from top_3_coins_id to CoinGecko Coin Data by ID to get full data for a coin.
  • Call CoinGecko Coins Categories List (ID Map) if you only need category IDs and names without market data.

Pricing

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

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
CoinGecko$0.008 ต่อการเรียกJSON
CoinGecko$0.008 ต่อการเรียกJSON
CoinGecko$0.008 ต่อการเรียกJSON
CoinGecko$0.008 ต่อการเรียกJSON
CoinGecko$0.008 ต่อการเรียกJSON
CoinGecko$0.008 ต่อการเรียกJSON

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ CoinGecko Coins Categories List with Market Data API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/coingecko/coins-categories โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

CoinGecko Coins Categories List with Market Data API ราคาเท่าไร?

$0.008 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

CoinGecko Coins Categories List with Market Data API รับพารามิเตอร์อะไรบ้าง?

ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: order (หนึ่งใน market_cap_desc, market_cap_asc, name_desc, name_asc, market_cap_change_24h_desc, market_cap_change_24h_asc). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

CoinGecko Coins Categories List with Market Data API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ CoinGecko ไหม?

ไม่จำเป็น CoinGecko Coins Categories List with Market Data ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง CoinGecko API แยกต่างหาก