GET /fapi/api/futures/accountAndPosition

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/coinglass/fapi/api/futures/accountAndPositionCache cached 1s, never served stale past that windowCost per_call · weight 1 · standard rate classSource billing free

Top trader account and position long/short ratio snapshots across timeframes

Parameters

nameintypedescription
symbolquerystringrequiredBase coin ticker symbol, e.g. BTC or ETH
default: BTC
example: BTC

Response

type: object
pagination: none
sample: {
  "dataMap": "object(4)",
  "lsDataMap12h": "object(4)",
  "lsDataMap15m": "object(4)",
  "lsDataMap1h": "object(4)",
  "lsDataMap24h": "object(4)",
  "lsDataMap4h": "object(4)"
}

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?symbol=BTC"