int64).
In requests
Usefrom and to parameters to scope queries to a time range:
from and to also accept Unix seconds, ISO 8601 dates (2026-10-29, 2026-10-29T08:00:00Z; UTC when no zone is given) and relative times counted back from now: now, -30m, -24h, -7d, -2w (now-7d works too). Hyperliquid’s names startTime and endTime work as aliases. Responses always use milliseconds.
Converting to Unix milliseconds
Defaults
Whenfrom or to are omitted, the API uses sensible defaults:
History window
Your tier limits how far back you can query:
A range that starts before your history is served from the start of your history, with an
X-Ironflow-Notice header saying so. A range that ends before your history starts returns 402 HISTORY_OUT_OF_RANGE, since there is nothing in it to read. error.allowed_from is the earliest from you can send (Unix ms), and when a free dataset holds those rows, the error names it (error.dataset). A poller that keeps resending an old window should move on from allowed_from, or open the stream named in error.stream.