Token long/short ratio
GET
GetTokenIdLongShortRatio
/token/{id}/long-short-ratio
Counts of unique long vs short callers over time for the token.
Parameters
Token identifier. Accepts internal token_id (integer) or coingecko_id (string, e.g. bitcoin).
Example:bitcoin
Lookback window in hours.
Example:168
Optional bucket size override. If provided, response is aggregated at this interval regardless of lookback window.
Allowed values
1h2h4h12h1d
Example:1h
cURL Example
curl --request GET \
--url 'https://nebula-api.hiddensystems.ai/api/v1/public/token/bitcoin/long-short-ratio' \
--header 'X-API-Key: YOUR_API_KEY'
Responses
200
OK
400
Bad Request
ErrorResponse
Media type application/json
data
array<object>
Time series of long/short caller counts.
data
array<object>
Time series of long/short caller counts.
data[].long_callers
integer (int64)
Unique callers with bullish/long stance in the bucket.
data[].short_callers
integer (int64)
Unique callers with bearish/short stance in the bucket.
data[].time
string (date-time)
UTC timestamp for the data point.
{
"data": [
{
"long_callers": 0,
"short_callers": 0,
"time": "2026-01-15T12:00:00Z"
}
]
}