Skip to main content
GET
Protocol series

Query Parameters

window
enum<string>
default:24h

Window: the last 24 hours, 7 days or 30 days before endTime, all time, or custom (startTime to endTime)

Available options:
24h,
7d,
30d,
all,
custom
Minimum string length: 1
startTime
integer<int64>

Custom window start as Unix milliseconds. Required with window=custom and rejected otherwise.

Required range: 0 <= x <= 4102444800000
endTime
integer<int64>

Window end as Unix milliseconds; defaults to now. Buckets starting at or before it count. A window counted in hours (2.5 days or shorter) must start within the last 90 days.

Required range: 0 <= x <= 4102444800000

Response

OK

window
object | null

The window the series covers

points
object[] | null

One point per bucket of the window, oldest first. A bucket without trades is present with zeros.