Hyperliquid Spot

Get Hyperliquid Spot L4 order book history

Get historical Hyperliquid Spot L4 order book reconstruction windows. Within each price level, bids and asks are ordered by true queue priority (ALO priority insertions included), not by placement time. Depth truncation is by order count, so the orders at a depth cut can differ from responses served before 2026-07-21.

get/v1/hyperliquid/spot/orderbook/{symbol}/l4/history

Request

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

Path parameters

symbolstring required
Example:HYPE-USDC

Hyperliquid Spot pair symbol, for example HYPE-USDC

Query parameters

startinteger
Example:1704067200000

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

endinteger
Example:1704070800000

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

cursorinteger

Timestamp cursor in Unix milliseconds from the previous response metadata.

limitinteger

Maximum number of records to return (default: 10, hard cap: 10).

Response

Typed L4 orderbook checkpoint array

successboolean required

Example response

{
  "success": true,
  "data": [
    {
      "coin": "BTC",
      "timestamp": "2026-03-12T00:00:00.000Z",
      "checkpoint_timestamp": "2026-03-12T00:00:00.000Z",
      "last_block_number": 1023882395,
      "bids": [
        {
          "oid": 18499128731,
          "user_address": "0x0000000000000000000000000000000000000000",
          "side": "B",
          "price": 105384.5,
          "size": 0.824,
          "timestamp": 1773273600123
        }
      ],
      "asks": [
        {
          "oid": 18499128731,
          "user_address": "0x0000000000000000000000000000000000000000",
          "side": "B",
          "price": 105384.5,
          "size": 0.824,
          "timestamp": 1773273600123
        }
      ],
      "bid_count": 12,
      "ask_count": 15,
      "total_bid_size": 102.34,
      "total_ask_size": 98.76,
      "is_crossed": true
    }
  ]
}

Changes

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