GET /fapi/api/futures/longShortRate

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

Cross-exchange long/short ratio breakdown for a coin

Parameters

nameintypedescription
symbolquerystringrequiredBase coin ticker symbol, e.g. BTC or ETH
default: BTC
example: BTC
timeTypequeryintegeroptionalTimeframe code: 1=5m, 2=1h, 3=4h, 4=24h
default: 2
example: 2

Response

type: array
pagination: none
sample: [
  {
    "list": "list(22)",
    "longRate": 52.89,
    "longVolUsd": 3524613394.09096,
    "shortRate": 47.11,
    "shortVolUsd": 3139604800.688829,
    "symbol": "BTC"
  }
]

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/longShortRate?symbol=BTC&timeType=2"