GET /fapi/api/futures/accountAndPosition/list
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/coinglass/fapi/api/futures/accountAndPosition/listCache cached 1s, never served stale past that windowCost per_row · weight 2 · heavy rate classSource billing freeMulti-coin long/short volume and ratio table across 1h/4h/12h/24h
Parameters
| name | in | type | description | |
|---|---|---|---|---|
symbol | query | string | optional | Optional coin ticker symbol filter default: BTCexample: BTC |
Response
type: array
pagination: none
sample: [
{
"dataMap": "object(4)",
"h12LongVolUsd": 23805234298.25291,
"h12Ls": 0.9775,
"h12ShortVolUsd": 24352003887.549965,
"h1LongVolUsd": 3523363266.537612,
"h1Ls": 1.1231
}
]
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/fapi/api/futures/accountAndPosition/list?symbol=BTC"