Token long/short ratio

GET /token/{id}/long-short-ratio

Description

Counts of unique long vs short callers over time for the token.

Path Parameters

id
stringrequired

Token identifier. Accepts internal token_id (integer) or coingecko_id (string, e.g. bitcoin).

Query Parameters

hours
integeroptional

Lookback window in hours.

granularity
stringoptionalenum: 1h, 2h, 4h, 12h, 1d

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> optional

Time series of long/short caller counts.

data[].long_callers
integer (int64) optional

Unique callers with bullish/long stance in the bucket.

data[].short_callers
integer (int64) optional

Unique callers with bearish/short stance in the bucket.

data[].time
string (date-time) optional

UTC timestamp for the data point.