Longs & Shorts
Estimated net longs and net shorts derived from taker orders & open interest.
Request
Add the parameter Authorization
to Headers,whose value is to concatenate the Token after the Bearer. Example:Authorization: Bearer ********************
Token URL: https://auth-api.dev.hyblockcapital.com/oauth2/token
Add parameter in header x-api-key
Example:x-api-key: ********************
or
Request Code Samples
curl --location --request GET 'https://api.dev.hyblockcapital.com/v2/netLongShort?coin&exchange&timeframe&limit&startTime&endTime&sort&marketTypes&advanceFilter' \
--header 'Authorization: Bearer <token>' \
--header 'x-api-key: <api-key>'
Responses
{
"data": [
{
"netLongs": 143148.06752739966,
"netShorts": 1380851.9324726004,
"openDate": 1691895600
}
],
"metadata": {
"exchanges": [
"bitmex_perp_coin",
"bybit_perp_coin",
"binance_perp_stable",
"binance_perp_coin"
]
}
}
Modified at 2025-12-31 05:42:54