Hyperliquid - L4 Order Book

Get Hyperliquid L4 orderbook diffs

Get per-order diff events for the L4 orderbook. Each diff represents an individual order placement, modification, fill, or cancellation. Diff items may include an optional insert_before field (order ID or null): for a new ALO order granted queue priority, it names the resting order this one is inserted ahead of within its price level. null or absent means tail append. Present on data from 2026-07-21 onward.

get/v1/hyperliquid/orderbook/{symbol}/l4/diffs

Request

  • Base URL: https://api.0xarchive.io
  • URL: https://api.0xarchive.io/v1/hyperliquid/orderbook/{symbol}/l4/diffs
  • Auth: API key in header X-API-Key

Path parameters

symbolstring required
Example:BTC

Trading pair symbol (e.g., BTC, ETH, SOL)

Query parameters

startinteger
Example:1767225600000

Start of the requested window as a Unix timestamp in milliseconds. ISO 8601 strings are rejected.

endinteger
Example:1767312000000

End of the requested window as a Unix timestamp in milliseconds. ISO 8601 strings are rejected.

cursorstring

Cursor for pagination (use the value from previous response's next_cursor)

limitinteger

Maximum number of results (default: 1000, max: 10000)

Response

L4 orderbook diff events

successboolean

Example response

{
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.