REST endpoints (GET)
Responses use one envelope:
limit has a maximum per endpoint, shown on each reference page (1000 on the fills endpoints).
HIP-4 endpoints answer {"status": "live", "count": n, "data": [...]} and page with limit / offset.
POST /info
Native Hyperliquid types return Hyperliquid’s own shape. The indexed types that page (fills, recentFills, orderCompletions, builderOrderUpdates, userNonFundingLedgerUpdates, allLedgerUpdates, …) keep the body unchanged and put the paging in response headers:
Pass an explicit time window (
startTime, and endTime where supported) on large indexed types: it keeps responses fast and bounded.
Credits
Every response carries its cost in theX-Credit-Cost header. A larger page costs more credits; see Rate Limits & Pricing.