Get current order book or snapshot at specific timestamp
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)timestampqueryUnix timestamp in ms for historical snapshotdepthqueryNumber of price levels per side. Tier limits: Free=20, Build=200, Pro=Full Depth, Enterprise=Full DepthRequest
/v1/hyperliquid/orderbook/BTC?timestamp=1704067200000&depth=20Response
{ "success": true, "data": { "symbol": "BTC", "timestamp": "2026-01-01T12:00:00Z", "bids": [ { "px": "42150.50", "sz": "2.5", "n": 5 } ], "asks": [ { "px": "42151.00", "sz": "1.8", "n": 3 } ], "mid_price": "42150.75", "spread": "0.50", "spread_bps": "1.19" }, "meta": { "request_id": "req_abc123", "count": 1 }}