Token long/short ratio
GET /token/{id}/long-short-ratio
Starter
Description
Counts of unique long vs short callers over time for the token.
Path Parameters
id
string
Token identifier. Accepts internal token_id (integer) or coingecko_id (string, e.g. bitcoin).
Query Parameters
hours
integer
Lookback window in hours.
granularity
string
Optional bucket size override. If provided, response is aggregated at this interval regardless of lookback window.
Responses
OK
Media type: application/json
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.