get_leaderboard
Maker/taker leaderboard. Without params: cumulative leaderboard backed by MakerStats/TakerStats. With from/to/range: per-window indexer compute. Hard cap: 400-day window.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Window upper bound (exclusive). ISO-8601 or unix-seconds. Defaults to `now` when omitted but `from` is supplied. | |
| from | No | Window lower bound (inclusive). ISO-8601 (`2026-04-01T00:00:00Z`) or unix-seconds. Optional when `range` is supplied. | |
| limit | No | Max results per list (default: 20, max: 100). | |
| range | No | Unified date-range shortcut shared across analytics + explorer endpoints. Hard cap: 400-day window. When set, takes precedence over `from`/`to`. Legacy values (`3mtd`, `q1`-`q4`, `custom`) were retired on 2026-04-30; use the explicit shortcuts below. | |
| cursor | No | Pass the previous page's `next_cursor` to walk forward without offset drift. This is the supported pagination path on every list endpoint. | |
| offset | No | Deprecated. Use `cursor` instead — offset pagination is fragile under concurrent writes and slow at scale. Still accepted for backwards compatibility while integrators migrate. |