GET /api/data-api/v3/cryptocurrency/info/batch-query-by-ids
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/cmc/api/data-api/v3/cryptocurrency/info/batch-query-by-idsCache cached 1s, never served stale past that windowCost per_call · weight 1 · standard rate classSource billing freeBatch coin info by ids: description, rank, listing flags, and dates.
name=info_batch. No price. category was COIN uppercase, unlike coin_detail.category.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
ids | query | str | required | Comma-separated CMC ids. example: 1,1027 |
Response
type: array
pagination: none
sample: {
"len": "2",
"[0]": "object",
"[0].id": "1",
"[0].name": "Bitcoin",
"[0].symbol": "BTC",
"[0].slug": "bitcoin",
"[0].category": "COIN",
"[0].is_active": "1"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/cmc/api/data-api/v3/cryptocurrency/info/batch-query-by-ids?ids=1%2C1027"