Hyperliquid - Full-Depth L2 Order Book

Get Hyperliquid full-depth L2 order book diffs

Get tick-level aggregate L2 diffs derived from L4 deltas for Hyperliquid.

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

Request

  • Base URL: https://api.0xarchive.io
  • URL: https://api.0xarchive.io/v1/hyperliquid/orderbook/{symbol}/l2/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

integer

Unix milliseconds.

OR
string date-time

RFC 3339 instant.

Example:1767225600000

Start timestamp. Defaults to 24h ago. Accepts Unix milliseconds or an RFC 3339 UTC string such as 2026-01-01T00:00:00Z.

integer

Unix milliseconds.

OR
string date-time

RFC 3339 instant.

Example:1767225600000

End timestamp. Defaults to now. Accepts Unix milliseconds or an RFC 3339 UTC string such as 2026-01-01T00:00:00Z.

cursorstring

Opaque pagination cursor: pass meta.next_cursor from the previous page unchanged, with the same filters. Omit it for the first page.

limitinteger

Maximum number of diff events (default: 100, max: 1000)

Response

Full-depth L2 diff events

successboolean

Example response

{
  "success": true,
  "data": [
    {
      "timestamp": "2026-06-05T13:53:33.971Z",
      "block_number": 1023882395,
      "side": "B",
      "price": 61088,
      "size": 0.40603,
      "count": 3
    }
  ],
  "meta": {
    "symbol": "BTC",
    "venue": "hyperliquid"
  }
}

Changes

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