HIP-4 Outcomes - Order Book

Get HIP-4 L4 orderbook diffs

Get per-order diff events for the HIP-4 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/hip4/orderbook/{symbol}/l4/diffs

Request

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

Path parameters

symbolstring required
Example:0

HIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). The #-prefixed form (#0, #1) is also accepted.

Query parameters

startinteger
Example:1777680000000

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

endinteger
Example:1777766400000

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.