GET /capi/api/coin/market
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/coinglass/capi/api/coin/marketCache cached 1s, never served stale past that windowCost per_call · weight 1 · standard rate classSource billing freeAggregate futures and spot market summary for one 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: {
"binanceLSInfo": "object(3)",
"futuresOiChangePercent": 0.21,
"futuresOiUsd": 39396530249.9737,
"futuresVolUsd": 77670860848.5,
"futuresVolUsdChangePercent": 0.04,
"logo": "https://cdn.coinglasscdn.com/static/img/coins/bitcoin-BTC.pn"
}
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/coin/market?symbol=BTC"