Skip to main content
GET
https://api.0xarchive.io
/
v1
/
hyperliquid
/
hip3
/
orderbook
/
{symbol}
/
l2
Get HIP-3 full-depth L2 order book
curl --request GET \
  --url https://api.0xarchive.io/v1/hyperliquid/hip3/orderbook/{symbol}/l2 \
  --header 'X-API-Key: <api-key>'
{
  "success": true,
  "data": {
    "symbol": "BTC",
    "coin": "BTC",
    "timestamp": "2025-01-21T10:30:45.123Z",
    "bids": [
      {
        "px": "42150.00",
        "sz": "1.5",
        "n": 15
      }
    ],
    "asks": [
      {
        "px": "42150.00",
        "sz": "1.5",
        "n": 15
      }
    ],
    "mid_price": "42150.50",
    "spread": "1.00",
    "spread_bps": "2.37",
    "bid_levels": 9842,
    "ask_levels": 10318,
    "total_bid_size": 10234.56,
    "total_ask_size": 9876.54
  },
  "meta": {
    "count": 123,
    "next_cursor": "<string>",
    "request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}

Authorizations

X-API-Key
string
header
required

API key for authentication. Get yours at https://www.0xarchive.io/dashboard/

Path Parameters

symbol
string
required

HIP-3 symbol (case-sensitive, e.g., hyna:BTC, km:US500)

Example:

"km:US500"

Query Parameters

timestamp
integer<int64>

Unix timestamp in milliseconds. If not provided, returns the latest full-depth L2 snapshot.

Example:

1767225600000

depth
integer

Requested full-depth L2 price levels per side. Plan caps apply: Free 20 where available, Build 200, Pro/Enterprise full depth.

Example:

200

Response

Full-depth L2 order book snapshot

success
boolean
Example:

true

data
object

0xArchive full-depth aggregated L2 order book snapshot derived from L4 data

meta
object

Response metadata

Last modified on June 11, 2026