GET /capi/api/spot/coin/markets
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/coinglass/capi/api/spot/coin/marketsCache cached 1s, never served stale past that windowCost per_row · weight 2 · heavy rate classSource billing freePaginated spot trading pairs and orderbook depth across exchanges for a coin
Parameters
| name | in | type | description | |
|---|---|---|---|---|
symbol | query | string | required | Base coin ticker symbol, e.g. BTC or ETH default: BTCexample: BTC |
Response
type: object
pagination: none
sample: {
"total": 2533,
"pageSize": 20,
"list": "list(20)",
"pageNum": 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/coinglass/capi/api/spot/coin/markets?symbol=BTC"