orderstring
Sort results by field. Default: `market_cap_desc`
가능한 값: market_cap_desc, market_cap_asc, name_desc, name_asc, market_cap_change_24h_desc, market_cap_change_24h_asc
https://api.sandbase.ai/v1/api/coingecko/coins-categoriesGet all the coins categories with market data (market cap, volume, ...) on CoinGecko
출력이 여기에 표시됩니다
입력을 완료한 다음 Run을 클릭하세요.
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.
market_cap.market_cap_change_24h_desc or market_cap_change_24h_asc.id values to use in other CoinGecko category filters.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.
| Name | Type | Required | Description |
|---|---|---|---|
order | string | No | Sort results by field. Default: market_cap_desc |
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
}
]
| Field | Meaning |
|---|---|
id | Category ID in slug form, for example layer-1. Use it to identify the category in other calls. |
name | Display name of the category, for example Layer 1 (L1). |
content | Short text that describes the category. Long text is cut in the sample, so the full value may be longer. |
market_cap | Total market cap of all coins in the category. |
market_cap_change_24h | Change in the category market cap over the last 24 hours. The values in the sample are small signed numbers such as -1.81. |
volume_24h | Trading volume of the category over the last 24 hours. |
top_3_coins_id | List of CoinGecko coin IDs for the three leading coins in the category, for example bitcoin. |
top_3_coins | List of image URLs for the same three coins, in the same order as top_3_coins_id. |
updated_at | ISO 8601 UTC timestamp of the last update of the category row. |
order accepts market_cap_desc (default), market_cap_asc, name_desc, name_asc, market_cap_change_24h_desc and market_cap_change_24h_asc.top_3_coins_id to CoinGecko Coin Data by ID to get full data for a coin.$0.008 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
빌드를 시작하세요
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
curl -X POST "https://api.sandbase.ai/v1/api/coingecko/coins-categories" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
orderstringSort results by field. Default: `market_cap_desc`
가능한 값: market_cap_desc, market_cap_asc, name_desc, name_asc, market_cap_change_24h_desc, market_cap_change_24h_asc
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
저장된 응답이 게시되지 않았습니다. Playground에서 API를 실행해 응답을 확인하세요.
더 살펴보기
| 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 |
질문
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/coingecko/coins-categories에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.008, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
필수 매개변수는 없습니다. 선택: order(market_cap_desc, market_cap_asc, name_desc, name_asc, market_cap_change_24h_desc, market_cap_change_24h_asc 중 하나). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. CoinGecko Coins Categories List with Market Data은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. CoinGecko API 액세스를 별도로 신청할 필요는 없습니다.