Coverage
REST API: Hyperliquid perps and spot, Lighter.xyz, HIP-3, and HIP-4
Endpoint reference for Hyperliquid perps and spot, Lighter.xyz, HIP-3, and HIP-4 outcome markets: 105 documented routes covering order books, trades, candles, liquidations, outcomes, TWAP, freshness, credits, parameters, and example requests.
Overview
Hyperliquid, Lighter.xyz, HIP-3, and HIP-4 REST endpoints for order books, trades, candles, order flow, liquidations, outcomes, freshness, and coverage.
Use the venue atlas to jump to the right route family. Every route shows parameters, credits, request shape, and response shape without hidden disclosures.
Hyperliquid
37 Hyperliquid routes
Lighter.xyz
16 Lighter routes
HIP-3
25 HIP-3 routes
HIP-4
19 HIP-4 routes
Hyperliquid Spot
12 Spot routes
Data Quality
8 monitoring routes
Pair the reference with these docs pages
Hyperliquid
Core perp routes for market state, history, order flow, liquidations, and monitoring.
Hyperliquid - Order Book
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 }}Get historical order book snapshots with pagination.
Get historical order book snapshots with pagination. Returns sub-second L1 snapshots (~1.2s native cadence) — for tick-level order changes use /orderbook/:symbol/l4/diffs (Pro+) or /orderbook/:symbol/l2/diffs. Data available from April 2023.
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in mscursorqueryPagination cursor from previous responselimitqueryMax results (default: 100, max: 1000)depthqueryNumber of price levels per side. Tier limits: Free=20, Build=200, Pro=Full Depth, Enterprise=Full DepthRequest
/v1/hyperliquid/orderbook/BTC/history?start=1704067200000&end=1704153600000&limit=100Response
{ "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" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Hyperliquid - Trades
Get trade history with cursor pagination.
Get trade history with cursor pagination. Data available from April 2023 (pre-March 2025 fills are taker-only). Use next_cursor from response to fetch subsequent pages.
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in mscursorqueryCursor from previous response (next_cursor)limitqueryMax results (default: 100, max: 1000)Request
/v1/hyperliquid/trades/ETH?start=1704067200000&end=1704153600000&limit=1000Response
{ "success": true, "data": [ { "symbol": "BTC", "timestamp": "2026-01-01T12:00:00Z", "side": "B", "price": "42150.50", "size": "0.25", "trade_id": 12345678, "direction": "Open Long" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Hyperliquid - Market Data
List all available Hyperliquid trading instruments
Request
/v1/hyperliquid/instrumentsResponse
{ "success": true, "data": [ { "symbol": "BTC", "exchange": "hyperliquid", "quote": "USDC", "active": true }, { "symbol": "ETH", "exchange": "hyperliquid", "quote": "USDC", "active": true } ], "meta": { "request_id": "req_abc123", "count": 2 }}Get a single Hyperliquid instrument by symbol, including the latest venue metadata and trading state.
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)Request
/v1/hyperliquid/instruments/BTCResponse
{ "success": true, "data": { "symbol": "BTC", "exchange": "hyperliquid", "base": "BTC", "quote": "USDC", "active": true, "tick_size": "0.5", "lot_size": "0.001" }, "meta": { "request_id": "req_abc123", "count": 1 }}Get historical open interest data with market context.
Get historical open interest data with market context. Data available from May 2023.
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in mscursorqueryCursor from previous response (next_cursor)limitqueryMax results (default: 100, max: 1000)intervalqueryAggregation interval: 5m, 15m, 30m, 1h, 4h, 1d. When omitted, returns raw ~1 min data.Request
/v1/hyperliquid/openinterest/BTC?start=1704067200000&end=1704153600000&limit=100Response
{ "success": true, "data": [ { "symbol": "BTC", "timestamp": "2026-01-01T12:00:00Z", "open_interest": "12500.5", "mark_price": "42150.75" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Get current open interest for a symbol
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)Request
/v1/hyperliquid/openinterest/BTC/currentResponse
{ "success": true, "data": { "symbol": "BTC", "timestamp": "2026-01-01T12:00:00Z", "open_interest": "12500.5", "mark_price": "42150.75" }, "meta": { "request_id": "req_abc123", "count": 1 }}Get historical funding rates.
Get historical funding rates. Data available from May 2023.
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in mscursorqueryCursor from previous response (next_cursor)limitqueryMax results (default: 100, max: 1000)intervalqueryAggregation interval: 5m, 15m, 30m, 1h, 4h, 1d. When omitted, returns raw ~1 min data.Request
/v1/hyperliquid/funding/BTC?start=1704067200000&end=1704153600000&limit=100Response
{ "success": true, "data": [ { "symbol": "BTC", "timestamp": "2026-01-01T12:00:00Z", "funding_rate": "0.0001", "premium": "0.00005" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Get current funding rate for a symbol
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)Request
/v1/hyperliquid/funding/BTC/currentResponse
{ "success": true, "data": { "symbol": "BTC", "timestamp": "2026-01-01T12:00:00Z", "funding_rate": "0.0001", "premium": "0.00005" }, "meta": { "request_id": "req_abc123", "count": 1 }}Get liquidation events for a symbol.
Get liquidation events for a symbol. Data available from December 2025+.
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in mscursorqueryCursor from previous response (format: timestamp_tradeId)limitqueryMax results (default: 100, max: 1000)Request
/v1/hyperliquid/liquidations/BTC?start=1704067200000&end=1704153600000&limit=100Response
{ "success": true, "data": [ { "symbol": "BTC", "timestamp": "2026-01-01T12:00:00Z", "liquidated_user": "0x1234...abcd", "side": "B", "price": "42150.50", "size": "1.5", "direction": "Close Long" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Get liquidation events for a user address.
Get liquidation events for a user address. Returns liquidations where the user was liquidated. Data available from December 2025.
Parameters
userpathrequiredUser wallet address (e.g., 0x...)startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in mssymbolqueryOptional symbol filter (e.g., BTC)cursorqueryCursor from previous responselimitqueryMax results (default: 100, max: 1000)Request
/v1/hyperliquid/liquidations/user/0x84eec0068b37919cc8f13d7454073ac167374cc0?start=1704067200000&end=1704153600000Response
{ "success": true, "data": [ { "symbol": "BTC", "timestamp": "2026-01-01T12:00:00Z", "liquidated_user": "0x1234...abcd", "side": "B", "price": "42150.50", "size": "1.5", "direction": "Close Long" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Get pre-aggregated liquidation volumes in time-bucketed intervals.
Get pre-aggregated liquidation volumes in time-bucketed intervals. Returns total, long, and short USD liquidation volumes with counts. Much more efficient than fetching individual liquidation records. Data available from December 2025+.
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)startqueryStart timestamp (Unix ms or ISO 8601). Defaults to 24h ago.endqueryEnd timestamp (Unix ms or ISO 8601). Defaults to now.intervalqueryAggregation interval: 5m, 15m, 30m, 1h (default), 4h, 1dlimitqueryMax results (default: 100, max: 1000)cursorqueryPagination cursor from previous responseRequest
/v1/hyperliquid/liquidations/BTC/volume?start=1704067200000&end=1704153600000&interval=1h&limit=100Response
{ "success": true, "data": [ { "symbol": "BTC", "timestamp": "2026-01-01T12:00:00Z", "interval": "1h", "long_volume": "125000.50", "short_volume": "98000.25", "count": 14 } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Check when data was last updated for each data type for a specific symbol.
Check when data was last updated for each data type for a specific symbol. Useful for agents and automated systems to verify data currency before pulling large datasets.
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)Request
/v1/hyperliquid/freshness/BTCResponse
{ "success": true, "data": { "symbol": "BTC", "exchange": "hyperliquid", "latest_timestamp": "2026-01-01T12:00:00Z", "lag_ms": 1200, "status": "fresh" }, "meta": { "request_id": "req_abc123", "count": 1 }}Get a combined market summary for a symbol in a single API call.
Get a combined market summary for a symbol in a single API call. Returns latest price, funding rate, open interest, 24h volume, and 24h liquidation volumes — replacing what would otherwise require 4-5 separate API calls.
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)Request
/v1/hyperliquid/summary/BTCResponse
{ "success": true, "data": { "symbol": "BTC", "mark_price": "42150.75", "mid_price": "42150.75", "open_interest": "12500.5", "volume_24h": "1250000000", "timestamp": "2026-01-01T12:00:00Z" }, "meta": { "request_id": "req_abc123", "count": 1 }}Get mark and oracle price history for a symbol.
Get mark and oracle price history for a symbol. This route returns price fields only and supports time aggregation intervals.
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)startqueryStart timestamp (Unix ms or ISO 8601). Defaults to 24h ago.endqueryEnd timestamp (Unix ms or ISO 8601). Defaults to now.intervalqueryAggregation interval: 5m, 15m, 30m, 1h, 4h, 1d. When omitted, returns raw data.limitqueryMax results (default: 100, max: 1000)cursorqueryPagination cursor from previous responseRequest
/v1/hyperliquid/prices/BTC?start=1704067200000&end=1704153600000&interval=1h&limit=100Response
{ "success": true, "data": [ { "symbol": "BTC", "timestamp": "2026-01-01T12:00:00Z", "mark_price": "42150.75", "oracle_price": "42148.50", "mid_price": "42150.75" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Hyperliquid - Candles
Get OHLCV candle data aggregated from trades.
Get OHLCV candle data aggregated from trades. Data available from March 2025. Supports cursor pagination for large datasets.
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in msintervalqueryCandle interval: 1m, 5m, 15m, 30m, 1h (default), 4h, 1d, 1wcursorqueryPagination cursor from previous responselimitqueryMax results (default: 100, max: 1000)Request
/v1/hyperliquid/candles/BTC?start=1704067200000&end=1704153600000&interval=1h&limit=100Response
{ "success": true, "data": [ { "symbol": "BTC", "timestamp": "2026-01-01T12:00:00Z", "interval": "1h", "open": "42100.00", "high": "42200.00", "low": "42050.00", "close": "42180.00", "volume": "125.5" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Hyperliquid - L4 Order Book (Node-Level)
Get order history with user attribution from Hyperliquid node data.
Get order history with user attribution from Hyperliquid node data. Includes order placements, cancellations, and fills. Requires Pro tier or higher.
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in msuserqueryFilter by user wallet address (e.g., 0x...)statusqueryFilter by order status (e.g., open, filled, cancelled)order_typequeryFilter by order type (e.g., limit, market)cursorqueryPagination cursor from previous responselimitqueryMax results (default: 100, max: 1000)Request
/v1/hyperliquid/orders/BTC/history?start=1704067200000&end=1704153600000&limit=100Response
{ "success": true, "data": [ { "symbol": "BTC", "timestamp": "2026-01-01T12:00:00Z", "order_id": "0xabc", "user_address": "0x1234...abcd", "status": "filled", "side": "B", "price": "42150.50", "size": "1.2" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Get aggregated order flow data showing buy/sell pressure over time intervals.
Get aggregated order flow data showing buy/sell pressure over time intervals. Useful for analyzing market microstructure. Requires Pro tier or higher.
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in msintervalqueryAggregation interval (e.g., 1m, 5m, 15m, 1h)limitqueryMax results (default: 100, max: 1000)Request
/v1/hyperliquid/orders/BTC/flow?start=1704067200000&end=1704153600000&interval=5m&limit=100Response
{ "success": true, "data": [ { "symbol": "BTC", "timestamp": "2026-01-01T12:00:00Z", "interval": "5m", "new_orders": 1250, "cancels": 1180, "fills": 340, "net_size": "42.5" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Get take-profit and stop-loss order history with user attribution.
Get take-profit and stop-loss order history with user attribution. Shows triggered and untriggered TP/SL orders. Requires Pro tier or higher.
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in msuserqueryFilter by user wallet address (e.g., 0x...)triggeredqueryFilter by triggered status (true/false)cursorqueryPagination cursor from previous responselimitqueryMax results (default: 100, max: 1000)Request
/v1/hyperliquid/orders/BTC/tpsl?start=1704067200000&end=1704153600000&limit=100Response
{ "success": true, "data": [ { "symbol": "BTC", "timestamp": "2026-01-01T12:00:00Z", "order_id": "0xabc", "trigger_price": "42000.00", "order_type": "stop_market", "side": "A", "size": "0.5" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Reconstruct the L4 orderbook at a specific point in time, showing individual orders with user attribution at each price level.
Reconstruct the L4 orderbook at a specific point in time, showing individual orders with user attribution at each price level. Requires Pro tier or higher. Data available from March 11, 2026.
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)timestampqueryrequiredUnix timestamp in ms for reconstruction pointdepthqueryNumber of price levels per side (default: 20)Request
/v1/hyperliquid/orderbook/BTC/l4?timestamp=1704067200000&depth=20Response
{ "success": true, "data": { "symbol": "BTC", "timestamp": "2026-03-11T12:00:00Z", "bids": [ { "price": "42150.50", "orders": [ { "order_id": "0xabc", "user_address": "0x1234...abcd", "size": "2.5" } ] } ], "asks": [ { "price": "42151.00", "orders": [ { "order_id": "0xdef", "user_address": "0x5678...efgh", "size": "1.8" } ] } ] }, "meta": { "request_id": "req_abc123", "count": 1 }}Get L4 orderbook diffs showing individual order changes with user attribution.
Get L4 orderbook diffs showing individual order changes with user attribution. Each diff represents an order placement, cancellation, or fill. Requires Pro tier or higher. Data available from March 10, 2026.
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in mscursorqueryPagination cursor from previous responselimitqueryMax results (default: 100, max: 1000)Request
/v1/hyperliquid/orderbook/BTC/l4/diffs?start=1704067200000&end=1704153600000&limit=100Response
{ "success": true, "data": [ { "symbol": "BTC", "timestamp": "2026-03-11T12:00:00Z", "bids": [ { "price": "42150.50", "orders": [ { "order_id": "0xabc", "user_address": "0x1234...abcd", "size": "2.5" } ] } ], "asks": [ { "price": "42151.00", "orders": [ { "order_id": "0xdef", "user_address": "0x5678...efgh", "size": "1.8" } ] } ] } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Get L4 orderbook checkpoints (full snapshots) with user attribution at each price level.
Get L4 orderbook checkpoints (full snapshots) with user attribution at each price level. Useful for periodic state verification. Requires Build tier or higher. Data available from March 11, 2026.
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in mscursorqueryPagination cursor from previous responselimitqueryMax results (default: 100, max: 1000)Request
/v1/hyperliquid/orderbook/BTC/l4/history?start=1704067200000&end=1704153600000&limit=100Response
{ "success": true, "data": [ { "symbol": "BTC", "timestamp": "2026-03-11T12:00:00Z", "bids": [ { "price": "42150.50", "orders": [ { "order_id": "0xabc", "user_address": "0x1234...abcd", "size": "2.5" } ] } ], "asks": [ { "price": "42151.00", "orders": [ { "order_id": "0xdef", "user_address": "0x5678...efgh", "size": "1.8" } ] } ] } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Hyperliquid - L2 Full-Depth Order Book (Derived from L4)
Get the full-depth L2 orderbook at a specific point in time, derived from L4 data.
Get the full-depth L2 orderbook at a specific point in time, derived from L4 data. Returns aggregated price levels (price, total size, order count per level). If no timestamp is provided, returns the current state. Requires Build tier or higher. Data available from April 1, 2026.
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)timestampqueryUnix timestamp in ms (omit for current state)depthqueryNumber of price levels per side (omit for full depth)Request
/v1/hyperliquid/orderbook/BTC/l2?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" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Get paginated L2 full-depth checkpoints over a time range.
Get paginated L2 full-depth checkpoints over a time range. Each checkpoint is a complete orderbook snapshot with all price levels. Requires Build tier or higher. Data available from April 1, 2026.
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in mscursorqueryPagination cursor from previous responselimitqueryMax results (default: 100, max: 1000)Request
/v1/hyperliquid/orderbook/BTC/l2/history?start=1704067200000&end=1704153600000&limit=100Response
{ "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" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Get tick-level L2 orderbook deltas showing price-level changes over time.
Get tick-level L2 orderbook deltas showing price-level changes over time. Each delta contains price, new size, and side. Requires Pro tier or higher. Data available from April 1, 2026.
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in mscursorqueryPagination cursor from previous responselimitqueryMax results (default: 100, max: 1000)Request
/v1/hyperliquid/orderbook/BTC/l2/diffs?start=1704067200000&end=1704153600000&limit=100Response
{ "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" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Hyperliquid Spot - Pair Metadata (294 pairs: PURR-USDC, HYPE-USDC, HFUN-USDC, ...)
List all 294 spot pairs with base/quote tokens and dashed symbols.
List all 294 spot pairs with base/quote tokens and dashed symbols. No tier restriction. Symbols use the dashed form (e.g., PURR-USDC); the server resolves the wire format (PURR/USDC, @<index>) internally.
Request
/v1/hyperliquid/spot/pairsResponse
{ "success": true, "data": [ { "symbol": "PURR-USDC", "base": "PURR", "quote": "USDC", "wire": "PURR/USDC", "pair_index": 107 }, { "symbol": "HYPE-USDC", "base": "HYPE", "quote": "USDC", "wire": "HYPE/USDC", "pair_index": 150 }, { "symbol": "HFUN-USDC", "base": "HFUN", "quote": "USDC", "wire": "HFUN/USDC", "pair_index": 161 } ], "meta": { "request_id": "req_abc123", "count": 3 }}Get metadata for a single spot pair, including base/quote tokens and the underlying wire-format identifier.
Parameters
symbolpathrequiredSpot symbol in dashed form (e.g., PURR-USDC, HYPE-USDC, HFUN-USDC). Raw @<index> identifiers are not accepted; use the named pair.Request
/v1/hyperliquid/spot/pairs/PURR-USDCResponse
{ "success": true, "data": { "symbol": "PURR-USDC", "base": "PURR", "quote": "USDC", "wire": "PURR/USDC", "pair_index": 107 }, "meta": { "request_id": "req_abc123", "count": 1 }}Data freshness for a spot pair: latest timestamps and lag for orderbook, trades, L4, and TWAP.
Parameters
symbolpathrequiredSpot symbol (e.g., PURR-USDC, HYPE-USDC).Request
/v1/hyperliquid/spot/freshness/PURR-USDCResponse
{ "success": true, "data": { "symbol": "PURR-USDC", "exchange": "hyperliquid_spot", "latest_timestamp": "2026-01-01T12:00:00Z", "lag_ms": 1200, "status": "fresh" }, "meta": { "request_id": "req_abc123", "count": 1 }}Hyperliquid Spot - Order Book (Build+)
Get current L2 order book for a Hyperliquid Spot pair.
Get current L2 order book for a Hyperliquid Spot pair. Build+ tier required. Live-only from 2026-05-05 (Hyperliquid does not publish historical spot orderbook data).
Parameters
symbolpathrequiredSpot symbol (e.g., PURR-USDC, HYPE-USDC).depthqueryPrice levels per side (max 20).Request
/v1/hyperliquid/spot/orderbook/PURR-USDC?depth=10Response
{ "success": true, "data": { "symbol": "PURR-USDC", "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 }}Get historical L2 spot orderbook snapshots with cursor pagination.
Get historical L2 spot orderbook snapshots with cursor pagination. Available from 2026-05-05. Build+ tier required.
Parameters
symbolpathrequiredSpot symbol (e.g., HYPE-USDC).startqueryrequiredStart timestamp in ms.endqueryrequiredEnd timestamp in ms.depthqueryPrice levels per side (max 20).cursorqueryPagination cursor from previous response.limitqueryMax results (1-1000).Request
/v1/hyperliquid/spot/orderbook/HYPE-USDC/history?start=1746489600000&end=1746576000000&limit=100Response
{ "success": true, "data": [ { "symbol": "PURR-USDC", "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" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Full-depth L4 order book reconstruction with user attribution.
Full-depth L4 order book reconstruction with user attribution. Pro+ tier required. Live-only from 2026-05-05.
Parameters
symbolpathrequiredSpot symbol (e.g., PURR-USDC).timestampqueryReconstruct at this Unix ms timestamp; defaults to latest.Request
/v1/hyperliquid/spot/orderbook/PURR-USDC/l4?timestamp=1746576000000Response
{ "success": true, "data": { "symbol": "PURR-USDC", "timestamp": "2026-03-11T12:00:00Z", "bids": [ { "price": "42150.50", "orders": [ { "order_id": "0xabc", "user_address": "0x1234...abcd", "size": "2.5" } ] } ], "asks": [ { "price": "42151.00", "orders": [ { "order_id": "0xdef", "user_address": "0x5678...efgh", "size": "1.8" } ] } ] }, "meta": { "request_id": "req_abc123", "count": 1 }}L4 order-level changes (place, cancel, modify, fill) with user attribution.
L4 order-level changes (place, cancel, modify, fill) with user attribution. Pro+ tier required. Live-only from 2026-05-05.
Parameters
symbolpathrequiredSpot symbol (e.g., PURR-USDC).startqueryrequiredStart timestamp in ms.endqueryrequiredEnd timestamp in ms.cursorqueryPagination cursor.limitqueryMax results (1-1000).Request
/v1/hyperliquid/spot/orderbook/PURR-USDC/l4/diffs?start=1746489600000&end=1746576000000&limit=500Response
{ "success": true, "data": [ { "symbol": "PURR-USDC", "timestamp": "2026-03-11T12:00:00Z", "bids": [ { "price": "42150.50", "orders": [ { "order_id": "0xabc", "user_address": "0x1234...abcd", "size": "2.5" } ] } ], "asks": [ { "price": "42151.00", "orders": [ { "order_id": "0xdef", "user_address": "0x5678...efgh", "size": "1.8" } ] } ] } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}L4 checkpoint history.
L4 checkpoint history. Build+ tier required. Live-only from 2026-05-05.
Parameters
symbolpathrequiredSpot symbol (e.g., PURR-USDC).startqueryrequiredStart timestamp in ms.endqueryrequiredEnd timestamp in ms.cursorqueryPagination cursor.limitqueryMax results (1-1000).Request
/v1/hyperliquid/spot/orderbook/PURR-USDC/l4/history?start=1746489600000&end=1746576000000&limit=100Response
{ "success": true, "data": [ { "symbol": "PURR-USDC", "timestamp": "2026-03-11T12:00:00Z", "bids": [ { "price": "42150.50", "orders": [ { "order_id": "0xabc", "user_address": "0x1234...abcd", "size": "2.5" } ] } ], "asks": [ { "price": "42151.00", "orders": [ { "order_id": "0xdef", "user_address": "0x5678...efgh", "size": "1.8" } ] } ] } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Hyperliquid Spot - Trades (Build+)
Get spot trade history with verbose schema: builder_address, builder_fee, twap_id, fee_token (open-set: USDC, PURR, HYPE, KHYPE, USOL, ...), and real EVM tx_hash (~69% non-zero for spot, vs all-zero for perps).
Get spot trade history with verbose schema: builder_address, builder_fee, twap_id, fee_token (open-set: USDC, PURR, HYPE, KHYPE, USOL, ...), and real EVM tx_hash (~69% non-zero for spot, vs all-zero for perps). Backfilled from 2025-03-22; pre-March 2025 spot history is unrecoverable from any free public archive.
Parameters
symbolpathrequiredSpot symbol (e.g., PURR-USDC, HYPE-USDC).startqueryrequiredStart timestamp in ms.endqueryrequiredEnd timestamp in ms.cursorqueryPagination cursor.limitqueryMax results (1-1000).Request
/v1/hyperliquid/spot/trades/PURR-USDC?start=1742601600000&end=1742688000000&limit=500Response
{ "success": true, "data": [ { "symbol": "PURR-USDC", "timestamp": "2026-01-01T12:00:00Z", "side": "B", "price": "42150.50", "size": "0.25", "trade_id": 12345678, "direction": "Open Long" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Hyperliquid Spot - Order Lifecycle (Build+)
Order lifecycle events (place, cancel, modify, fill) for a spot pair.
Order lifecycle events (place, cancel, modify, fill) for a spot pair. Build+ tier required. Live-only from 2026-05-05.
Parameters
symbolpathrequiredSpot symbol (e.g., HYPE-USDC).startqueryrequiredStart timestamp in ms.endqueryrequiredEnd timestamp in ms.userqueryFilter by user wallet address.cursorqueryPagination cursor.limitqueryMax results (1-1000).Request
/v1/hyperliquid/spot/orders/HYPE-USDC/history?start=1746489600000&end=1746576000000&limit=200Response
{ "success": true, "data": [ { "symbol": "PURR-USDC", "timestamp": "2026-01-01T12:00:00Z", "order_id": "0xabc", "user_address": "0x1234...abcd", "status": "filled", "side": "B", "price": "42150.50", "size": "1.2" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Hyperliquid Spot - TWAP (Build+)
TWAP execution events for a spot pair, with parent twap_id, fill schedule, and counter-party attribution.
TWAP execution events for a spot pair, with parent twap_id, fill schedule, and counter-party attribution. Build+ tier required. Live-only from 2026-05-05.
Parameters
symbolpathrequiredSpot symbol (e.g., HYPE-USDC).startqueryrequiredStart timestamp in ms.endqueryrequiredEnd timestamp in ms.cursorqueryPagination cursor.limitqueryMax results (1-1000).Request
/v1/hyperliquid/spot/twap/HYPE-USDC?start=1746489600000&end=1746576000000&limit=200Response
{ "success": true, "data": [ { "coin": "HYPE/USDC", "symbol": "HYPE-USDC", "twap_id": 7732, "user_address": "0x44ad...8b9c", "side": "A", "slice_price": "24.875", "slice_size": "12.3", "timestamp": "2026-05-05T17:13:25.119Z", "parent_total_size": "120.0", "completed_size": "36.9", "status": "progressing" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}TWAP execution events filtered by user wallet across all spot pairs.
TWAP execution events filtered by user wallet across all spot pairs. Build+ tier required.
Parameters
userpathrequiredUser wallet address (0x...).startqueryStart timestamp in ms.endqueryEnd timestamp in ms.cursorqueryPagination cursor.limitqueryMax results (1-1000).Request
/v1/hyperliquid/spot/twap/user/0x023a3d058020fb76cca98f01b3c48c8938a22355?limit=100Response
{ "success": true, "data": [ { "coin": "HYPE/USDC", "symbol": "HYPE-USDC", "twap_id": 7732, "user_address": "0x44ad...8b9c", "side": "A", "slice_price": "24.875", "slice_size": "12.3", "timestamp": "2026-05-05T17:13:25.119Z", "parent_total_size": "120.0", "completed_size": "36.9", "status": "progressing" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Lighter.xyz
Lighter routes for market state, history, L3 depth, and reconstruction-heavy jobs.
Lighter.xyz - Order Book
Get current order book snapshot
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/lighter/orderbook/BTC?depth=50Response
{ "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 }}Get historical order book data with pagination.
Get historical order book data with pagination. Returns either tick-level events or sub-second snapshots depending on the granularity parameter — checkpoint (1-min, default), 30s, 10s, 1s, or tick (Enterprise; returns checkpoint + deltas for client-side reconstruction). Data available from January 2026.
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in mscursorqueryPagination cursor from previous responselimitqueryMax results (default: 100, max: 1000)depthqueryNumber of price levels per side. Tier limits: Free=20, Build=200, Pro=Full Depth, Enterprise=Full DepthgranularityqueryData resolution: checkpoint (1min, default), 30s, 10s, 1s, tick. Higher resolutions require higher tier plans. When granularity=tick (Enterprise only), response returns checkpoint + deltas for client-side reconstruction.Request
/v1/lighter/orderbook/BTC/history?start=1704067200000&end=1704153600000&limit=100&granularity=10s&depth=50Response
{ "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" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Lighter.xyz - Trades
Get trade history with cursor pagination.
Get trade history with cursor pagination. Data available from August 2025.
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in mscursorqueryCursor from previous response (next_cursor)limitqueryMax results (default: 100, max: 1000)Request
/v1/lighter/trades/ETH?start=1704067200000&end=1704153600000&limit=1000Response
{ "success": true, "data": [ { "symbol": "BTC", "timestamp": "2026-01-01T12:00:00Z", "side": "B", "price": "42150.50", "size": "0.25", "trade_id": 12345678, "direction": "Open Long" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Get most recent trades
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)limitqueryNumber of trades to return (default: 100, max: 1000)Request
/v1/lighter/trades/BTC/recent?limit=50Response
{ "success": true, "data": [ { "symbol": "BTC", "timestamp": "2026-01-01T12:00:00Z", "side": "B", "price": "42150.50", "size": "0.25", "trade_id": 12345678, "direction": "Open Long" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Lighter.xyz - Market Data
List all available Lighter.xyz trading instruments
Request
/v1/lighter/instrumentsResponse
{ "success": true, "data": [ { "symbol": "BTC", "exchange": "lighter", "quote": "USDC", "active": true }, { "symbol": "ETH", "exchange": "lighter", "quote": "USDC", "active": true } ], "meta": { "request_id": "req_abc123", "count": 2 }}Get a single Lighter.xyz instrument by symbol
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)Request
/v1/lighter/instruments/BTCResponse
{ "success": true, "data": { "symbol": "BTC", "exchange": "lighter", "base": "BTC", "quote": "USDC", "active": true, "tick_size": "0.5", "lot_size": "0.001" }, "meta": { "request_id": "req_abc123", "count": 1 }}Get historical open interest data.
Get historical open interest data. Data available from August 2025.
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in mscursorqueryCursor from previous response (next_cursor)limitqueryMax results (default: 100, max: 1000)intervalqueryAggregation interval: 5m, 15m, 30m, 1h, 4h, 1d. When omitted, returns raw ~1 min data.Request
/v1/lighter/openinterest/BTC?start=1704067200000&end=1704153600000&limit=100Response
{ "success": true, "data": [ { "symbol": "BTC", "timestamp": "2026-01-01T12:00:00Z", "open_interest": "12500.5", "mark_price": "42150.75" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Get current open interest for a symbol
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)Request
/v1/lighter/openinterest/BTC/currentResponse
{ "success": true, "data": { "symbol": "BTC", "timestamp": "2026-01-01T12:00:00Z", "open_interest": "12500.5", "mark_price": "42150.75" }, "meta": { "request_id": "req_abc123", "count": 1 }}Get historical funding rates.
Get historical funding rates. Data available from August 2025.
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in mscursorqueryCursor from previous response (next_cursor)limitqueryMax results (default: 100, max: 1000)intervalqueryAggregation interval: 5m, 15m, 30m, 1h, 4h, 1d. When omitted, returns raw ~1 min data.Request
/v1/lighter/funding/BTC?start=1704067200000&end=1704153600000&limit=100Response
{ "success": true, "data": [ { "symbol": "BTC", "timestamp": "2026-01-01T12:00:00Z", "funding_rate": "0.0001", "premium": "0.00005" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Get current funding rate for a symbol
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)Request
/v1/lighter/funding/BTC/currentResponse
{ "success": true, "data": { "symbol": "BTC", "timestamp": "2026-01-01T12:00:00Z", "funding_rate": "0.0001", "premium": "0.00005" }, "meta": { "request_id": "req_abc123", "count": 1 }}Lighter.xyz - Candles
Get OHLCV candle data aggregated from trades.
Get OHLCV candle data aggregated from trades. Data available from August 2025. Supports cursor pagination for large datasets.
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in msintervalqueryCandle interval: 1m, 5m, 15m, 30m, 1h (default), 4h, 1d, 1wcursorqueryPagination cursor from previous responselimitqueryMax results (default: 100, max: 1000)Request
/v1/lighter/candles/BTC?start=1704067200000&end=1704153600000&interval=15m&limit=100Response
{ "success": true, "data": [ { "symbol": "BTC", "timestamp": "2026-01-01T12:00:00Z", "interval": "1h", "open": "42100.00", "high": "42200.00", "low": "42050.00", "close": "42180.00", "volume": "125.5" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Lighter.xyz - Convenience
Check when data was last updated for each data type (orderbook, trades, funding, OI) for a specific Lighter.xyz coin.
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)Request
/v1/lighter/freshness/BTCResponse
{ "success": true, "data": { "symbol": "BTC", "exchange": "lighter", "latest_timestamp": "2026-01-01T12:00:00Z", "lag_ms": 1200, "status": "fresh" }, "meta": { "request_id": "req_abc123", "count": 1 }}Get a combined market summary for a Lighter.xyz symbol in a single API call.
Get a combined market summary for a Lighter.xyz symbol in a single API call. Returns latest price, funding rate, and open interest.
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)Request
/v1/lighter/summary/BTCResponse
{ "success": true, "data": { "symbol": "BTC", "mark_price": "42150.75", "mid_price": "42150.75", "open_interest": "12500.5", "volume_24h": "1250000000", "timestamp": "2026-01-01T12:00:00Z" }, "meta": { "request_id": "req_abc123", "count": 1 }}Get mark and oracle price history for a Lighter.xyz symbol.
Get mark and oracle price history for a Lighter.xyz symbol. Lightweight projection of open interest data. Supports time aggregation intervals.
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)startqueryStart timestamp (Unix ms or ISO 8601). Defaults to 24h ago.endqueryEnd timestamp (Unix ms or ISO 8601). Defaults to now.intervalqueryAggregation interval: 5m, 15m, 30m, 1h, 4h, 1d. When omitted, returns raw data.limitqueryMax results (default: 100, max: 1000)cursorqueryPagination cursor from previous responseRequest
/v1/lighter/prices/BTC?start=1704067200000&end=1704153600000&interval=1h&limit=100Response
{ "success": true, "data": [ { "symbol": "BTC", "timestamp": "2026-01-01T12:00:00Z", "mark_price": "42150.75", "oracle_price": "42148.50", "mid_price": "42150.75" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Lighter.xyz - L3 Order Book (Order-Level)
Get current L3 order-level orderbook showing individual orders at each price level with order IDs and sizes.
Get current L3 order-level orderbook showing individual orders at each price level with order IDs and sizes. Requires Pro tier or higher.
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)depthqueryNumber of price levels per side (default: 20)Request
/v1/lighter/l3orderbook/BTC?depth=20Response
{ "success": true, "data": { "symbol": "BTC", "timestamp": "2026-01-01T12:00:00Z", "status": "ok" }, "meta": { "request_id": "req_abc123", "count": 1 }}Get historical L3 orderbook snapshots showing individual orders at each price level.
Get historical L3 orderbook snapshots showing individual orders at each price level. Data available from March 2026. Requires Pro tier or higher.
Parameters
symbolpathrequiredTrading pair (e.g., BTC, ETH)startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in mscursorqueryPagination cursor from previous responselimitqueryMax results (default: 100, max: 1000)depthqueryNumber of price levels per side (default: 20)Request
/v1/lighter/l3orderbook/BTC/history?start=1704067200000&end=1704153600000&limit=100&depth=20Response
{ "success": true, "data": { "symbol": "BTC", "timestamp": "2026-01-01T12:00:00Z", "status": "ok" }, "meta": { "request_id": "req_abc123", "count": 1 }}HIP-3
Builder-perp routes inside the Hyperliquid namespace, including depth, liquidations, and order flow.
Hyperliquid HIP-3 - Instruments (125+ markets: xyz, flx, hyna, km, vntl, cash)
List all available HIP-3 builder-deployed perpetuals with latest market data (mark price, open interest, mid price).
List all available HIP-3 builder-deployed perpetuals with latest market data (mark price, open interest, mid price). No tier restriction - useful for market inventory.
Request
/v1/hyperliquid/hip3/instrumentsResponse
{ "success": true, "data": [ { "symbol": "km:US500", "exchange": "hyperliquid_hip3", "quote": "USDC", "active": true }, { "symbol": "xyz:XYZ100", "exchange": "hyperliquid_hip3", "quote": "USDC", "active": true } ], "meta": { "request_id": "req_abc123", "count": 2 }}Get a specific HIP-3 instrument by symbol.
Get a specific HIP-3 instrument by symbol. Returns latest market data.
Parameters
symbolpathrequiredHIP-3 symbol (e.g., km:US500, xyz:XYZ100). Case-sensitive.Request
/v1/hyperliquid/hip3/instruments/km:US500Response
{ "success": true, "data": { "symbol": "km:US500", "exchange": "hyperliquid_hip3", "base": "US500", "quote": "USDC", "active": true, "tick_size": "0.5", "lot_size": "0.001" }, "meta": { "request_id": "req_abc123", "count": 1 }}Hyperliquid HIP-3 - Order Book (Free: km:US500, Build+: all)
Get current order book or snapshot at specific timestamp for HIP-3 builder-deployed perpetuals.
Get current order book or snapshot at specific timestamp for HIP-3 builder-deployed perpetuals. Free tier: km:US500 only. Build+: all symbols.
Parameters
symbolpathrequiredHIP-3 symbol (e.g., xyz:XYZ100, km:US500)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/hip3/orderbook/xyz:XYZ100?depth=50Response
{ "success": true, "data": { "symbol": "km:US500", "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 }}Get historical order book snapshots with cursor pagination.
Get historical order book snapshots with cursor pagination. Returns sub-second L1 snapshots — for tick-level order changes use /hip3/orderbook/:symbol/l4/diffs (Pro+) or /hip3/orderbook/:symbol/l2/diffs. Data available from February 2026. Free tier: km:US500 only. Build+: all symbols.
Parameters
symbolpathrequiredHIP-3 symbol (e.g., xyz:XYZ100, km:US500)startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in mscursorqueryPagination cursor from previous responselimitqueryMax results (default: 100, max: 1000)depthqueryNumber of price levels per side. Tier limits: Free=20, Build=200, Pro=Full Depth, Enterprise=Full DepthRequest
/v1/hyperliquid/hip3/orderbook/xyz:XYZ100/history?start=1739750400000&end=1739836800000&limit=100Response
{ "success": true, "data": [ { "symbol": "km:US500", "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" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Hyperliquid HIP-3 - Trades (Free: km:US500, Build+: all)
Get trade history with cursor pagination.
Get trade history with cursor pagination. Data available from February 2026. Free tier: km:US500 only. Build+: all symbols.
Parameters
symbolpathrequiredHIP-3 symbol (e.g., xyz:XYZ100, km:US500)startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in mscursorqueryCursor from previous response (next_cursor)limitqueryMax results (default: 100, max: 1000)Request
/v1/hyperliquid/hip3/trades/xyz:XYZ100?start=1739750400000&end=1739836800000&limit=1000Response
{ "success": true, "data": [ { "symbol": "km:US500", "timestamp": "2026-01-01T12:00:00Z", "side": "B", "price": "42150.50", "size": "0.25", "trade_id": 12345678, "direction": "Open Long" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Get most recent trades for a HIP-3 symbol.
Get most recent trades for a HIP-3 symbol. Data available from February 2026. No tier restriction.
Parameters
symbolpathrequiredHIP-3 symbol (e.g., xyz:XYZ100, km:US500)limitqueryNumber of trades to return (default: 100, max: 1000)Request
/v1/hyperliquid/hip3/trades/xyz:XYZ100/recent?limit=50Response
{ "success": true, "data": [ { "symbol": "km:US500", "timestamp": "2026-01-01T12:00:00Z", "side": "B", "price": "42150.50", "size": "0.25", "trade_id": 12345678, "direction": "Open Long" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Hyperliquid HIP-3 - Candles (Free: km:US500, Build+: all)
Get OHLCV candle data aggregated from HIP-3 trades.
Get OHLCV candle data aggregated from HIP-3 trades. Data available from February 2026. Free tier: km:US500 only. Build+: all symbols.
Parameters
symbolpathrequiredHIP-3 symbol (e.g., km:US500, xyz:XYZ100). Case-sensitive.startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in msintervalqueryCandle interval: 1m, 5m, 15m, 30m, 1h (default), 4h, 1d, 1wcursorqueryPagination cursor from previous responselimitqueryMax results (default: 100, max: 1000)Request
/v1/hyperliquid/hip3/candles/km:US500?start=1739750400000&end=1739836800000&interval=1h&limit=100Response
{ "success": true, "data": [ { "symbol": "km:US500", "timestamp": "2026-01-01T12:00:00Z", "interval": "1h", "open": "42100.00", "high": "42200.00", "low": "42050.00", "close": "42180.00", "volume": "125.5" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Hyperliquid HIP-3 - Market Data (Free: km:US500, Build+: all)
Get historical open interest data.
Get historical open interest data. Data available from February 2026. Free tier: km:US500 only. Build+: all symbols.
Parameters
symbolpathrequiredHIP-3 symbol (e.g., xyz:XYZ100, km:US500)startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in mscursorqueryCursor from previous response (next_cursor)limitqueryMax results (default: 100, max: 1000)intervalqueryAggregation interval: 5m, 15m, 30m, 1h, 4h, 1d. When omitted, returns raw ~1 min data.Request
/v1/hyperliquid/hip3/openinterest/xyz:XYZ100?start=1739750400000&end=1739836800000&limit=100Response
{ "success": true, "data": [ { "symbol": "km:US500", "timestamp": "2026-01-01T12:00:00Z", "open_interest": "12500.5", "mark_price": "42150.75" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Get current open interest for a HIP-3 symbol.
Get current open interest for a HIP-3 symbol. No tier restriction.
Parameters
symbolpathrequiredHIP-3 symbol (e.g., xyz:XYZ100, km:US500)Request
/v1/hyperliquid/hip3/openinterest/xyz:XYZ100/currentResponse
{ "success": true, "data": { "symbol": "km:US500", "timestamp": "2026-01-01T12:00:00Z", "open_interest": "12500.5", "mark_price": "42150.75" }, "meta": { "request_id": "req_abc123", "count": 1 }}Get historical funding rates.
Get historical funding rates. Data available from February 2026. Free tier: km:US500 only. Build+: all symbols.
Parameters
symbolpathrequiredHIP-3 symbol (e.g., xyz:XYZ100, km:US500)startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in mscursorqueryCursor from previous response (next_cursor)limitqueryMax results (default: 100, max: 1000)intervalqueryAggregation interval: 5m, 15m, 30m, 1h, 4h, 1d. When omitted, returns raw ~1 min data.Request
/v1/hyperliquid/hip3/funding/xyz:XYZ100?start=1739750400000&end=1739836800000&limit=100Response
{ "success": true, "data": [ { "symbol": "km:US500", "timestamp": "2026-01-01T12:00:00Z", "funding_rate": "0.0001", "premium": "0.00005" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Get current funding rate for a HIP-3 symbol.
Get current funding rate for a HIP-3 symbol. No tier restriction.
Parameters
symbolpathrequiredHIP-3 symbol (e.g., xyz:XYZ100, km:US500)Request
/v1/hyperliquid/hip3/funding/xyz:XYZ100/currentResponse
{ "success": true, "data": { "symbol": "km:US500", "timestamp": "2026-01-01T12:00:00Z", "funding_rate": "0.0001", "premium": "0.00005" }, "meta": { "request_id": "req_abc123", "count": 1 }}Hyperliquid HIP-3 - Liquidations (Build+)
Get liquidation-related fills for a HIP-3 symbol.
Get liquidation-related fills for a HIP-3 symbol. Returns the liquidated user plus counterparty/liquidator attribution when present, alongside price, size, side, and direction labels. Data available from February 2026+.
Parameters
symbolpathrequiredHIP-3 symbol (e.g., km:US500, xyz:XYZ100). Case-sensitive.startqueryrequiredStart timestamp in msendqueryEnd timestamp in ms. Defaults to now.cursorqueryCursor from previous response (format: timestamp_tradeId)limitqueryMax results (default: 1000, max: 1000)Request
/v1/hyperliquid/hip3/liquidations/km:US500?start=1739750400000&end=1739836800000&limit=100Response
{ "success": true, "data": [ { "symbol": "km:US500", "timestamp": "2026-01-01T12:00:00Z", "liquidated_user": "0x1234...abcd", "side": "B", "price": "42150.50", "size": "1.5", "direction": "Close Long" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Get pre-aggregated liquidation-related volume in time-bucketed intervals for HIP-3 symbols.
Get pre-aggregated liquidation-related volume in time-bucketed intervals for HIP-3 symbols. total_* covers all liquidation rows; long_* and short_* are directional-family subtotals and may not sum to total when upstream emits unclassified directions. Data available from February 2026+.
Parameters
symbolpathrequiredHIP-3 symbol (e.g., km:US500, xyz:XYZ100). Case-sensitive.startqueryrequiredStart timestamp in msendqueryEnd timestamp in ms. Defaults to now.intervalqueryAggregation interval: 5m, 15m, 30m, 1h (default), 4h, 1dlimitqueryMax results (default: 1000, max: 1000)cursorqueryPagination cursor from previous responseRequest
/v1/hyperliquid/hip3/liquidations/km:US500/volume?start=1739750400000&end=1739836800000&interval=1h&limit=100Response
{ "success": true, "data": [ { "symbol": "km:US500", "timestamp": "2026-01-01T12:00:00Z", "interval": "1h", "long_volume": "125000.50", "short_volume": "98000.25", "count": 14 } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Hyperliquid HIP-3 - Convenience
Check when data was last updated for each data type (orderbook, trades, funding, OI) for a specific HIP-3 symbol.
Check when data was last updated for each data type (orderbook, trades, funding, OI) for a specific HIP-3 symbol. Symbol names are case-sensitive.
Parameters
symbolpathrequiredHIP-3 symbol (e.g., km:US500, xyz:XYZ100)Request
/v1/hyperliquid/hip3/freshness/km:US500Response
{ "success": true, "data": { "symbol": "km:US500", "exchange": "hyperliquid_hip3", "latest_timestamp": "2026-01-01T12:00:00Z", "lag_ms": 1200, "status": "fresh" }, "meta": { "request_id": "req_abc123", "count": 1 }}Get a combined market summary for a HIP-3 symbol in a single API call.
Get a combined market summary for a HIP-3 symbol in a single API call. Returns latest price, mid price, funding rate, and open interest.
Parameters
symbolpathrequiredHIP-3 symbol (e.g., km:US500, xyz:XYZ100)Request
/v1/hyperliquid/hip3/summary/km:US500Response
{ "success": true, "data": { "symbol": "km:US500", "mark_price": "42150.75", "mid_price": "42150.75", "open_interest": "12500.5", "volume_24h": "1250000000", "timestamp": "2026-01-01T12:00:00Z" }, "meta": { "request_id": "req_abc123", "count": 1 }}Get mark, oracle, and mid price history for a HIP-3 symbol.
Get mark, oracle, and mid price history for a HIP-3 symbol. Lightweight projection of open interest data. Supports time aggregation intervals. Symbol names are case-sensitive.
Parameters
symbolpathrequiredHIP-3 symbol (e.g., km:US500, xyz:XYZ100)startqueryStart timestamp (Unix ms or ISO 8601). Defaults to 24h ago.endqueryEnd timestamp (Unix ms or ISO 8601). Defaults to now.intervalqueryAggregation interval: 5m, 15m, 30m, 1h, 4h, 1d. When omitted, returns raw data.limitqueryMax results (default: 100, max: 1000)cursorqueryPagination cursor from previous responseRequest
/v1/hyperliquid/hip3/prices/km:US500?start=1739750400000&end=1739836800000&interval=1h&limit=100Response
{ "success": true, "data": [ { "symbol": "km:US500", "timestamp": "2026-01-01T12:00:00Z", "mark_price": "42150.75", "oracle_price": "42148.50", "mid_price": "42150.75" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Hyperliquid HIP-3 - L4 Order Book (Node-Level)
Get HIP-3 order history with user attribution from Hyperliquid node data.
Get HIP-3 order history with user attribution from Hyperliquid node data. Includes order placements, cancellations, and fills. Requires Pro tier or higher.
Parameters
symbolpathrequiredHIP-3 symbol (e.g., xyz:XYZ100, km:US500)startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in msuserqueryFilter by user wallet address (e.g., 0x...)statusqueryFilter by order status (e.g., open, filled, cancelled)order_typequeryFilter by order type (e.g., limit, market)cursorqueryPagination cursor from previous responselimitqueryMax results (default: 100, max: 1000)Request
/v1/hyperliquid/hip3/orders/km:US500/history?start=1739750400000&end=1739836800000&limit=100Response
{ "success": true, "data": [ { "symbol": "km:US500", "timestamp": "2026-01-01T12:00:00Z", "order_id": "0xabc", "user_address": "0x1234...abcd", "status": "filled", "side": "B", "price": "42150.50", "size": "1.2" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Get aggregated order flow data for HIP-3 markets showing buy/sell pressure over time intervals.
Get aggregated order flow data for HIP-3 markets showing buy/sell pressure over time intervals. Requires Pro tier or higher.
Parameters
symbolpathrequiredHIP-3 symbol (e.g., xyz:XYZ100, km:US500)startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in msintervalqueryAggregation interval (e.g., 1m, 5m, 15m, 1h)limitqueryMax results (default: 100, max: 1000)Request
/v1/hyperliquid/hip3/orders/km:US500/flow?start=1739750400000&end=1739836800000&interval=5m&limit=100Response
{ "success": true, "data": [ { "symbol": "km:US500", "timestamp": "2026-01-01T12:00:00Z", "interval": "5m", "new_orders": 1250, "cancels": 1180, "fills": 340, "net_size": "42.5" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Get HIP-3 take-profit and stop-loss order history with user attribution.
Get HIP-3 take-profit and stop-loss order history with user attribution. Shows triggered and untriggered TP/SL orders. Requires Pro tier or higher.
Parameters
symbolpathrequiredHIP-3 symbol (e.g., xyz:XYZ100, km:US500)startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in msuserqueryFilter by user wallet address (e.g., 0x...)triggeredqueryFilter by triggered status (true/false)cursorqueryPagination cursor from previous responselimitqueryMax results (default: 100, max: 1000)Request
/v1/hyperliquid/hip3/orders/km:US500/tpsl?start=1739750400000&end=1739836800000&limit=100Response
{ "success": true, "data": [ { "symbol": "km:US500", "timestamp": "2026-01-01T12:00:00Z", "order_id": "0xabc", "trigger_price": "42000.00", "order_type": "stop_market", "side": "A", "size": "0.5" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Reconstruct the HIP-3 L4 orderbook at a specific point in time, showing individual orders with user attribution at each price level.
Reconstruct the HIP-3 L4 orderbook at a specific point in time, showing individual orders with user attribution at each price level. Requires Pro tier or higher. Data available from March 11, 2026.
Parameters
symbolpathrequiredHIP-3 symbol (e.g., xyz:XYZ100, km:US500)timestampqueryrequiredUnix timestamp in ms for reconstruction pointdepthqueryNumber of price levels per side (default: 20)Request
/v1/hyperliquid/hip3/orderbook/km:US500/l4?timestamp=1739750400000&depth=20Response
{ "success": true, "data": { "symbol": "km:US500", "timestamp": "2026-03-11T12:00:00Z", "bids": [ { "price": "42150.50", "orders": [ { "order_id": "0xabc", "user_address": "0x1234...abcd", "size": "2.5" } ] } ], "asks": [ { "price": "42151.00", "orders": [ { "order_id": "0xdef", "user_address": "0x5678...efgh", "size": "1.8" } ] } ] }, "meta": { "request_id": "req_abc123", "count": 1 }}Get HIP-3 L4 orderbook diffs showing individual order changes with user attribution.
Get HIP-3 L4 orderbook diffs showing individual order changes with user attribution. Each diff represents an order placement, cancellation, or fill. Requires Pro tier or higher. Data available from March 10, 2026.
Parameters
symbolpathrequiredHIP-3 symbol (e.g., xyz:XYZ100, km:US500)startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in mscursorqueryPagination cursor from previous responselimitqueryMax results (default: 100, max: 1000)Request
/v1/hyperliquid/hip3/orderbook/km:US500/l4/diffs?start=1739750400000&end=1739836800000&limit=100Response
{ "success": true, "data": [ { "symbol": "km:US500", "timestamp": "2026-03-11T12:00:00Z", "bids": [ { "price": "42150.50", "orders": [ { "order_id": "0xabc", "user_address": "0x1234...abcd", "size": "2.5" } ] } ], "asks": [ { "price": "42151.00", "orders": [ { "order_id": "0xdef", "user_address": "0x5678...efgh", "size": "1.8" } ] } ] } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Get HIP-3 L4 orderbook checkpoints (full snapshots) with user attribution at each price level.
Get HIP-3 L4 orderbook checkpoints (full snapshots) with user attribution at each price level. Useful for periodic state verification. Requires Build tier or higher. Data available from March 11, 2026.
Parameters
symbolpathrequiredHIP-3 symbol (e.g., xyz:XYZ100, km:US500)startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in mscursorqueryPagination cursor from previous responselimitqueryMax results (default: 100, max: 1000)Request
/v1/hyperliquid/hip3/orderbook/km:US500/l4/history?start=1739750400000&end=1739836800000&limit=100Response
{ "success": true, "data": [ { "symbol": "km:US500", "timestamp": "2026-03-11T12:00:00Z", "bids": [ { "price": "42150.50", "orders": [ { "order_id": "0xabc", "user_address": "0x1234...abcd", "size": "2.5" } ] } ], "asks": [ { "price": "42151.00", "orders": [ { "order_id": "0xdef", "user_address": "0x5678...efgh", "size": "1.8" } ] } ] } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Hyperliquid HIP-3 - L2 Full-Depth Order Book (Derived from L4)
Get the HIP-3 full-depth L2 orderbook at a specific point in time, derived from L4 data.
Get the HIP-3 full-depth L2 orderbook at a specific point in time, derived from L4 data. Returns aggregated price levels. If no timestamp is provided, returns the current state. Requires Build tier or higher. Data available from April 1, 2026.
Parameters
symbolpathrequiredHIP-3 symbol (e.g., xyz:CL, km:US500)timestampqueryUnix timestamp in ms (omit for current state)depthqueryNumber of price levels per side (omit for full depth)Request
/v1/hyperliquid/hip3/orderbook/km:US500/l2?depth=20Response
{ "success": true, "data": [ { "symbol": "km:US500", "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" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Get paginated HIP-3 L2 full-depth checkpoints over a time range.
Get paginated HIP-3 L2 full-depth checkpoints over a time range. Each checkpoint is a complete orderbook snapshot. Requires Build tier or higher. Data available from April 1, 2026.
Parameters
symbolpathrequiredHIP-3 symbol (e.g., xyz:CL, km:US500)startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in mscursorqueryPagination cursor from previous responselimitqueryMax results (default: 100, max: 1000)Request
/v1/hyperliquid/hip3/orderbook/km:US500/l2/history?start=1739750400000&end=1739836800000&limit=100Response
{ "success": true, "data": [ { "symbol": "km:US500", "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" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Get tick-level HIP-3 L2 orderbook deltas showing price-level changes over time.
Get tick-level HIP-3 L2 orderbook deltas showing price-level changes over time. Each delta contains price, new size, and side. Requires Pro tier or higher. Data available from April 1, 2026.
Parameters
symbolpathrequiredHIP-3 symbol (e.g., xyz:CL, km:US500)startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in mscursorqueryPagination cursor from previous responselimitqueryMax results (default: 100, max: 1000)Request
/v1/hyperliquid/hip3/orderbook/km:US500/l2/diffs?start=1739750400000&end=1739836800000&limit=100Response
{ "success": true, "data": [ { "symbol": "km:US500", "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" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}HIP-4
Outcome-market routes inside the Hyperliquid namespace: /outcomes discovery, per-side L2/L4 books, trades, OI, and order lifecycle. Coins are referenced by numeric id (0, 1, 10, 11, ...); the #-prefixed form is also accepted for callers integrating from on-chain SDKs.
Hyperliquid HIP-4 - Outcomes (Build+)
List HIP-4 outcome markets (binary prediction events).
List HIP-4 outcome markets (binary prediction events). Each outcome has Yes (side 0) and No (side 1) sides. Filter by `is_settled` to scope to live or settled markets. Cursor pagination. Response excludes `aggregated_oi` (call /outcomes/:outcome_id for OI snapshots). Requires Build tier or higher.
Parameters
is_settledqueryFilter by settlement status: true or falsecursorqueryPagination cursor from previous responselimitqueryMax results (default: 100, max: 1000)Request
/v1/hyperliquid/hip4/outcomes?is_settled=false&limit=100Response
{ "success": true, "data": [ { "outcome_id": 0, "name": "BTC >= 78213 by 2026-05-03 06:00 UTC", "class": "priceBinary", "underlying": "BTC", "expiry": "2026-05-03T06:00:00Z", "target_price": 78213, "period": "1d", "side_specs": [ { "side": 0, "name": "Yes", "coin": "#0", "asset_id": 100000000 }, { "side": 1, "name": "No", "coin": "#1", "asset_id": 100000001 } ], "is_settled": false, "status": "live", "source_seen_at": "2026-05-02T20:25:00Z" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Get a single HIP-4 outcome market by id, including the latest both-sides aggregated OI snapshot (display, paired-set supply, parity flag).
Get a single HIP-4 outcome market by id, including the latest both-sides aggregated OI snapshot (display, paired-set supply, parity flag). Requires Build tier or higher.
Parameters
outcome_idpathrequiredOutcome id (integer, e.g., 0)Request
/v1/hyperliquid/hip4/outcomes/0Response
{ "success": true, "data": { "outcome_id": 0, "name": "BTC >= 78213 by 2026-05-03 06:00 UTC", "description_raw": "class:priceBinary|underlying:BTC|expiry:20260503-0600|targetPrice:78213|period:1d", "class": "priceBinary", "underlying": "BTC", "expiry": "2026-05-03T06:00:00Z", "target_price": 78213, "period": "1d", "side_specs": [ { "side": 0, "name": "Yes", "coin": "#0", "asset_id": 100000000 }, { "side": 1, "name": "No", "coin": "#1", "asset_id": 100000001 } ], "is_settled": false, "status": "live", "source_seen_at": "2026-05-02T20:25:00Z", "aggregated_oi": { "side0_open_interest_contracts": 568048, "side1_open_interest_contracts": 568048, "outcome_display_open_interest_contracts": 1136096, "paired_set_supply_contracts": 568048, "side_supply_parity": true, "currency": "USDH", "as_of": "2026-05-02T20:27:21Z", "side0_as_of": "2026-05-02T20:27:21Z", "side1_as_of": "2026-05-02T20:27:21Z" } }, "meta": { "request_id": "req_abc123", "count": 1 }}Hyperliquid HIP-4 - Instruments (Build+)
List per-side HIP-4 instruments (one row per `#N` coin).
List per-side HIP-4 instruments (one row per `#N` coin). Each outcome contributes two rows (Yes side `#0`, No side `#1` etc.). Requires Build tier or higher.
Request
/v1/hyperliquid/hip4/instrumentsResponse
{ "success": true, "data": [ { "outcome_id": 0, "side": 0, "asset_id": 100000000, "coin": "#0", "symbol": "#0", "side_name": "Yes", "is_settled": false }, { "outcome_id": 0, "side": 1, "asset_id": 100000001, "coin": "#1", "symbol": "#1", "side_name": "No", "is_settled": false } ], "meta": { "request_id": "req_abc123", "count": 2 }}Get a specific HIP-4 instrument by coin id.
Get a specific HIP-4 instrument by coin id. Requires Build tier or higher.
Parameters
symbolpathrequiredHIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). Encoding: 10*outcome_id + side. #-prefixed form also accepted.Request
/v1/hyperliquid/hip4/instruments/0Response
{ "success": true, "data": { "outcome_id": 0, "side": 0, "asset_id": 100000000, "coin": "#0", "symbol": "#0", "name": "BTC >= 78213 by 2026-05-03 06:00 UTC - Yes", "description": "class:priceBinary|underlying:BTC|expiry:20260503-0600|targetPrice:78213|period:1d", "side_name": "Yes", "recurring_class": "priceBinary", "recurring_underlying": "BTC", "recurring_expiry": "2026-05-03T06:00:00Z", "recurring_target_px": 78213, "recurring_period": "1d", "builder_address": "0x1234...abcd", "is_settled": false, "first_seen_at": "2026-05-02T07:47:00Z", "last_updated_at": "2026-05-02T20:25:00Z" }, "meta": { "request_id": "req_abc123", "count": 1 }}Hyperliquid HIP-4 - Order Book (Pro+ for L2/L4)
Get current L2 order book snapshot for a HIP-4 outcome side.
Get current L2 order book snapshot for a HIP-4 outcome side. Requires Pro tier or higher.
Parameters
symbolpathrequiredHIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). #-prefixed form also accepted.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/hip4/orderbook/0?depth=20Response
{ "success": true, "data": { "symbol": "#0", "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 }}Get historical HIP-4 L2 order book snapshots with cursor pagination.
Get historical HIP-4 L2 order book snapshots with cursor pagination. Returns sub-second L1 snapshots. Data available from 2026-05-02. Requires Pro tier or higher.
Parameters
symbolpathrequiredHIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). #-prefixed form also accepted.startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in mscursorqueryPagination cursor from previous responselimitqueryMax results (default: 100, max: 1000)depthqueryNumber of price levels per side. Tier limits: Free=20, Build=200, Pro=Full Depth, Enterprise=Full DepthRequest
/v1/hyperliquid/hip4/orderbook/0/history?start=1746144000000&end=1746230400000&limit=100Response
{ "success": true, "data": [ { "symbol": "#0", "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" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Reconstruct the HIP-4 L4 orderbook for a side at a specific point in time, showing individual orders with user attribution at each price level.
Reconstruct the HIP-4 L4 orderbook for a side at a specific point in time, showing individual orders with user attribution at each price level. Requires Pro tier or higher. Data available from 2026-05-02.
Parameters
symbolpathrequiredHIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). #-prefixed form also accepted.timestampqueryrequiredUnix timestamp in ms for reconstruction pointdepthqueryNumber of price levels per side (default: 20)Request
/v1/hyperliquid/hip4/orderbook/0/l4?timestamp=1746144000000&depth=20Response
{ "success": true, "data": { "symbol": "#0", "timestamp": "2026-03-11T12:00:00Z", "bids": [ { "price": "42150.50", "orders": [ { "order_id": "0xabc", "user_address": "0x1234...abcd", "size": "2.5" } ] } ], "asks": [ { "price": "42151.00", "orders": [ { "order_id": "0xdef", "user_address": "0x5678...efgh", "size": "1.8" } ] } ] }, "meta": { "request_id": "req_abc123", "count": 1 }}Get HIP-4 L4 orderbook diffs (event stream) showing individual order changes with user attribution.
Get HIP-4 L4 orderbook diffs (event stream) showing individual order changes with user attribution. ASC + cursor pagination. Requires Pro tier or higher. Data available from 2026-05-02.
Parameters
symbolpathrequiredHIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). #-prefixed form also accepted.startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in mscursorqueryPagination cursor from previous responselimitqueryMax results (default: 100, max: 1000)Request
/v1/hyperliquid/hip4/orderbook/0/l4/diffs?start=1746144000000&end=1746230400000&limit=100Response
{ "success": true, "data": [ { "symbol": "#0", "timestamp": "2026-03-11T12:00:00Z", "bids": [ { "price": "42150.50", "orders": [ { "order_id": "0xabc", "user_address": "0x1234...abcd", "size": "2.5" } ] } ], "asks": [ { "price": "42151.00", "orders": [ { "order_id": "0xdef", "user_address": "0x5678...efgh", "size": "1.8" } ] } ] } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Get HIP-4 L4 orderbook checkpoints (full snapshots) with user attribution.
Get HIP-4 L4 orderbook checkpoints (full snapshots) with user attribution. Hard cap `limit=10`. Requires Build tier or higher. Data available from 2026-05-02.
Parameters
symbolpathrequiredHIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). #-prefixed form also accepted.startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in mscursorqueryPagination cursor from previous responselimitqueryMax results (default: 10, max: 10)Request
/v1/hyperliquid/hip4/orderbook/0/l4/history?start=1746144000000&end=1746230400000&limit=10Response
{ "success": true, "data": [ { "symbol": "#0", "timestamp": "2026-03-11T12:00:00Z", "bids": [ { "price": "42150.50", "orders": [ { "order_id": "0xabc", "user_address": "0x1234...abcd", "size": "2.5" } ] } ], "asks": [ { "price": "42151.00", "orders": [ { "order_id": "0xdef", "user_address": "0x5678...efgh", "size": "1.8" } ] } ] } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Hyperliquid HIP-4 - Trades (Build+)
Get HIP-4 fills history (full) with cursor pagination.
Get HIP-4 fills history (full) with cursor pagination. Requires Build tier or higher.
Parameters
symbolpathrequiredHIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). #-prefixed form also accepted.startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in mscursorqueryCursor from previous response (next_cursor)limitqueryMax results (default: 100, max: 1000)Request
/v1/hyperliquid/hip4/trades/0?start=1746144000000&end=1746230400000&limit=100Response
{ "success": true, "data": [ { "symbol": "#0", "timestamp": "2026-01-01T12:00:00Z", "side": "B", "price": "42150.50", "size": "0.25", "trade_id": 12345678, "direction": "Open Long" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Get last N HIP-4 fills, latest first.
Get last N HIP-4 fills, latest first. Requires Build tier or higher.
Parameters
symbolpathrequiredHIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). #-prefixed form also accepted.limitqueryNumber of trades to return (default: 100, max: 1000)Request
/v1/hyperliquid/hip4/trades/0/recent?limit=50Response
{ "success": true, "data": [ { "symbol": "#0", "timestamp": "2026-01-01T12:00:00Z", "side": "B", "price": "42150.50", "size": "0.25", "trade_id": 12345678, "direction": "Open Long" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Hyperliquid HIP-4 - Market Data (Build+)
Get historical HIP-4 side open interest with cursor pagination.
Get historical HIP-4 side open interest with cursor pagination. Mirrors HIP-3 OI byte-for-byte (single-table, no joins). For both-sides display/paired/parity fields use /outcomes/:outcome_id. Requires Build tier or higher.
Parameters
symbolpathrequiredHIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). #-prefixed form also accepted.startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in mscursorqueryCursor from previous response (next_cursor)limitqueryMax results (default: 100, max: 1000)Request
/v1/hyperliquid/hip4/openinterest/0?start=1746144000000&end=1746230400000&limit=100Response
{ "success": true, "data": [ { "coin": "#0", "symbol": "#0", "outcome_id": 0, "side": 0, "timestamp": "2026-05-02T20:27:21Z", "open_interest": "568048", "mark_price": "0.6502", "mid_price": "0.65038" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Get the latest HIP-4 side open interest row.
Get the latest HIP-4 side open interest row. `mark_price` for HIP-4 is an implied probability in [0,1], not USD. Requires Build tier or higher.
Parameters
symbolpathrequiredHIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). #-prefixed form also accepted.Request
/v1/hyperliquid/hip4/openinterest/0/currentResponse
{ "success": true, "data": { "coin": "#0", "symbol": "#0", "outcome_id": 0, "side": 0, "timestamp": "2026-05-02T20:27:21Z", "open_interest": "568048", "mark_price": "0.6502", "mid_price": "0.65038" }, "meta": { "request_id": "req_abc123", "count": 1 }}Get HIP-4 mid-price history for a side.
Get HIP-4 mid-price history for a side. `mark_price` is an implied probability in [0,1], not USD. No oracle price feed for HIP-4. Requires Build tier or higher.
Parameters
symbolpathrequiredHIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). #-prefixed form also accepted.startqueryStart timestamp (Unix ms or ISO 8601). Defaults to 24h ago.endqueryEnd timestamp (Unix ms or ISO 8601). Defaults to now.intervalqueryAggregation interval: 5m, 15m, 30m, 1h, 4h, 1d. When omitted, returns raw data.limitqueryMax results (default: 100, max: 1000)cursorqueryPagination cursor from previous responseRequest
/v1/hyperliquid/hip4/prices/0?start=1746144000000&end=1746230400000&interval=1h&limit=100Response
{ "success": true, "data": [ { "coin": "#0", "symbol": "#0", "timestamp": "2026-05-02T20:27:21Z", "mark_price": "0.6502", "mid_price": "0.65038" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Get a 24h aggregate (price, volume, OI) for a HIP-4 side.
Get a 24h aggregate (price, volume, OI) for a HIP-4 side. `mark_price` is an implied probability. Requires Build tier or higher.
Parameters
symbolpathrequiredHIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). #-prefixed form also accepted.Request
/v1/hyperliquid/hip4/summary/0Response
{ "success": true, "data": { "coin": "#0", "symbol": "#0", "outcome_id": 0, "side": 0, "mark_price": "0.6502", "mid_price": "0.65038", "open_interest": "568048", "volume_24h": "1250000", "timestamp": "2026-05-02T20:27:21Z" }, "meta": { "request_id": "req_abc123", "count": 1 }}Get per-data-type lag breakdown for a HIP-4 side (orderbook, trades, OI).
Get per-data-type lag breakdown for a HIP-4 side (orderbook, trades, OI). Requires Build tier or higher.
Parameters
symbolpathrequiredHIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). #-prefixed form also accepted.Request
/v1/hyperliquid/hip4/freshness/0Response
{ "success": true, "data": { "symbol": "#0", "exchange": "hyperliquid_hip4", "latest_timestamp": "2026-01-01T12:00:00Z", "lag_ms": 1200, "status": "fresh" }, "meta": { "request_id": "req_abc123", "count": 1 }}Hyperliquid HIP-4 - Order Lifecycle (Pro+)
Get HIP-4 order lifecycle events with user attribution from Hyperliquid node data.
Get HIP-4 order lifecycle events with user attribution from Hyperliquid node data. Includes order placements, cancellations, and fills. Requires Pro tier or higher.
Parameters
symbolpathrequiredHIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). #-prefixed form also accepted.startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in msuserqueryFilter by user wallet address (e.g., 0x...)statusqueryFilter by order status (e.g., open, filled, cancelled)order_typequeryFilter by order type (e.g., limit, market)cursorqueryPagination cursor from previous responselimitqueryMax results (default: 100, max: 1000)Request
/v1/hyperliquid/hip4/orders/0/history?start=1746144000000&end=1746230400000&limit=100Response
{ "success": true, "data": [ { "symbol": "#0", "timestamp": "2026-01-01T12:00:00Z", "order_id": "0xabc", "user_address": "0x1234...abcd", "status": "filled", "side": "B", "price": "42150.50", "size": "1.2" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Get time-bucketed HIP-4 order-flow aggregates showing buy/sell pressure over intervals.
Get time-bucketed HIP-4 order-flow aggregates showing buy/sell pressure over intervals. Requires Pro tier or higher.
Parameters
symbolpathrequiredHIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). #-prefixed form also accepted.startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in msintervalqueryAggregation interval (e.g., 1m, 5m, 15m, 1h, 1d)limitqueryMax results (default: 100, max: 1000)Request
/v1/hyperliquid/hip4/orders/0/flow?start=1746144000000&end=1746230400000&interval=1h&limit=100Response
{ "success": true, "data": [ { "symbol": "#0", "timestamp": "2026-01-01T12:00:00Z", "interval": "5m", "new_orders": 1250, "cancels": 1180, "fills": 340, "net_size": "42.5" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Get HIP-4 take-profit and stop-loss orders for the symbol with user attribution.
Get HIP-4 take-profit and stop-loss orders for the symbol with user attribution. Requires Pro tier or higher.
Parameters
symbolpathrequiredHIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). #-prefixed form also accepted.startqueryrequiredStart timestamp in msendqueryrequiredEnd timestamp in msuserqueryFilter by user wallet address (e.g., 0x...)triggeredqueryFilter by triggered status (true/false)cursorqueryPagination cursor from previous responselimitqueryMax results (default: 100, max: 1000)Request
/v1/hyperliquid/hip4/orders/0/tpsl?start=1746144000000&end=1746230400000&limit=100Response
{ "success": true, "data": [ { "symbol": "#0", "timestamp": "2026-01-01T12:00:00Z", "order_id": "0xabc", "trigger_price": "42000.00", "order_type": "stop_market", "side": "A", "size": "0.5" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Hyperliquid Spot
13 routes under /v1/hyperliquid/spot covering 294 dashed pairs (PURR-USDC, HYPE-USDC, HFUN-USDC, ...): L2/L4 orderbook, trades with builder/twap fields, TWAP by symbol or by user, order lifecycle, pair metadata, and freshness. Spot trades carry fee_token (open-set: USDC, PURR, HYPE, KHYPE, USOL, ...), real EVM tx_hash on roughly 69% of fills, and parent twap_id on TWAP slices. No funding, OI, liquidations, or candles by design (build OHLCV client-side from spot trades).
Hyperliquid Spot - Pair Metadata (294 pairs: PURR-USDC, HYPE-USDC, HFUN-USDC, ...)
List all 294 spot pairs with base/quote tokens and dashed symbols.
List all 294 spot pairs with base/quote tokens and dashed symbols. No tier restriction. Symbols use the dashed form (e.g., PURR-USDC); the server resolves the wire format (PURR/USDC, @<index>) internally.
Request
/v1/hyperliquid/spot/pairsResponse
{ "success": true, "data": [ { "symbol": "PURR-USDC", "base": "PURR", "quote": "USDC", "wire": "PURR/USDC", "pair_index": 107 }, { "symbol": "HYPE-USDC", "base": "HYPE", "quote": "USDC", "wire": "HYPE/USDC", "pair_index": 150 }, { "symbol": "HFUN-USDC", "base": "HFUN", "quote": "USDC", "wire": "HFUN/USDC", "pair_index": 161 } ], "meta": { "request_id": "req_abc123", "count": 3 }}Get metadata for a single spot pair, including base/quote tokens and the underlying wire-format identifier.
Parameters
symbolpathrequiredSpot symbol in dashed form (e.g., PURR-USDC, HYPE-USDC, HFUN-USDC). Raw @<index> identifiers are not accepted; use the named pair.Request
/v1/hyperliquid/spot/pairs/PURR-USDCResponse
{ "success": true, "data": { "symbol": "PURR-USDC", "base": "PURR", "quote": "USDC", "wire": "PURR/USDC", "pair_index": 107 }, "meta": { "request_id": "req_abc123", "count": 1 }}Data freshness for a spot pair: latest timestamps and lag for orderbook, trades, L4, and TWAP.
Parameters
symbolpathrequiredSpot symbol (e.g., PURR-USDC, HYPE-USDC).Request
/v1/hyperliquid/spot/freshness/PURR-USDCResponse
{ "success": true, "data": { "symbol": "PURR-USDC", "exchange": "hyperliquid_spot", "latest_timestamp": "2026-01-01T12:00:00Z", "lag_ms": 1200, "status": "fresh" }, "meta": { "request_id": "req_abc123", "count": 1 }}Hyperliquid Spot - Order Book (Build+)
Get current L2 order book for a Hyperliquid Spot pair.
Get current L2 order book for a Hyperliquid Spot pair. Build+ tier required. Live-only from 2026-05-05 (Hyperliquid does not publish historical spot orderbook data).
Parameters
symbolpathrequiredSpot symbol (e.g., PURR-USDC, HYPE-USDC).depthqueryPrice levels per side (max 20).Request
/v1/hyperliquid/spot/orderbook/PURR-USDC?depth=10Response
{ "success": true, "data": { "symbol": "PURR-USDC", "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 }}Get historical L2 spot orderbook snapshots with cursor pagination.
Get historical L2 spot orderbook snapshots with cursor pagination. Available from 2026-05-05. Build+ tier required.
Parameters
symbolpathrequiredSpot symbol (e.g., HYPE-USDC).startqueryrequiredStart timestamp in ms.endqueryrequiredEnd timestamp in ms.depthqueryPrice levels per side (max 20).cursorqueryPagination cursor from previous response.limitqueryMax results (1-1000).Request
/v1/hyperliquid/spot/orderbook/HYPE-USDC/history?start=1746489600000&end=1746576000000&limit=100Response
{ "success": true, "data": [ { "symbol": "PURR-USDC", "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" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Full-depth L4 order book reconstruction with user attribution.
Full-depth L4 order book reconstruction with user attribution. Pro+ tier required. Live-only from 2026-05-05.
Parameters
symbolpathrequiredSpot symbol (e.g., PURR-USDC).timestampqueryReconstruct at this Unix ms timestamp; defaults to latest.Request
/v1/hyperliquid/spot/orderbook/PURR-USDC/l4?timestamp=1746576000000Response
{ "success": true, "data": { "symbol": "PURR-USDC", "timestamp": "2026-03-11T12:00:00Z", "bids": [ { "price": "42150.50", "orders": [ { "order_id": "0xabc", "user_address": "0x1234...abcd", "size": "2.5" } ] } ], "asks": [ { "price": "42151.00", "orders": [ { "order_id": "0xdef", "user_address": "0x5678...efgh", "size": "1.8" } ] } ] }, "meta": { "request_id": "req_abc123", "count": 1 }}L4 order-level changes (place, cancel, modify, fill) with user attribution.
L4 order-level changes (place, cancel, modify, fill) with user attribution. Pro+ tier required. Live-only from 2026-05-05.
Parameters
symbolpathrequiredSpot symbol (e.g., PURR-USDC).startqueryrequiredStart timestamp in ms.endqueryrequiredEnd timestamp in ms.cursorqueryPagination cursor.limitqueryMax results (1-1000).Request
/v1/hyperliquid/spot/orderbook/PURR-USDC/l4/diffs?start=1746489600000&end=1746576000000&limit=500Response
{ "success": true, "data": [ { "symbol": "PURR-USDC", "timestamp": "2026-03-11T12:00:00Z", "bids": [ { "price": "42150.50", "orders": [ { "order_id": "0xabc", "user_address": "0x1234...abcd", "size": "2.5" } ] } ], "asks": [ { "price": "42151.00", "orders": [ { "order_id": "0xdef", "user_address": "0x5678...efgh", "size": "1.8" } ] } ] } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}L4 checkpoint history.
L4 checkpoint history. Build+ tier required. Live-only from 2026-05-05.
Parameters
symbolpathrequiredSpot symbol (e.g., PURR-USDC).startqueryrequiredStart timestamp in ms.endqueryrequiredEnd timestamp in ms.cursorqueryPagination cursor.limitqueryMax results (1-1000).Request
/v1/hyperliquid/spot/orderbook/PURR-USDC/l4/history?start=1746489600000&end=1746576000000&limit=100Response
{ "success": true, "data": [ { "symbol": "PURR-USDC", "timestamp": "2026-03-11T12:00:00Z", "bids": [ { "price": "42150.50", "orders": [ { "order_id": "0xabc", "user_address": "0x1234...abcd", "size": "2.5" } ] } ], "asks": [ { "price": "42151.00", "orders": [ { "order_id": "0xdef", "user_address": "0x5678...efgh", "size": "1.8" } ] } ] } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Hyperliquid Spot - Trades (Build+)
Get spot trade history with verbose schema: builder_address, builder_fee, twap_id, fee_token (open-set: USDC, PURR, HYPE, KHYPE, USOL, ...), and real EVM tx_hash (~69% non-zero for spot, vs all-zero for perps).
Get spot trade history with verbose schema: builder_address, builder_fee, twap_id, fee_token (open-set: USDC, PURR, HYPE, KHYPE, USOL, ...), and real EVM tx_hash (~69% non-zero for spot, vs all-zero for perps). Backfilled from 2025-03-22; pre-March 2025 spot history is unrecoverable from any free public archive.
Parameters
symbolpathrequiredSpot symbol (e.g., PURR-USDC, HYPE-USDC).startqueryrequiredStart timestamp in ms.endqueryrequiredEnd timestamp in ms.cursorqueryPagination cursor.limitqueryMax results (1-1000).Request
/v1/hyperliquid/spot/trades/PURR-USDC?start=1742601600000&end=1742688000000&limit=500Response
{ "success": true, "data": [ { "symbol": "PURR-USDC", "timestamp": "2026-01-01T12:00:00Z", "side": "B", "price": "42150.50", "size": "0.25", "trade_id": 12345678, "direction": "Open Long" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Hyperliquid Spot - Order Lifecycle (Build+)
Order lifecycle events (place, cancel, modify, fill) for a spot pair.
Order lifecycle events (place, cancel, modify, fill) for a spot pair. Build+ tier required. Live-only from 2026-05-05.
Parameters
symbolpathrequiredSpot symbol (e.g., HYPE-USDC).startqueryrequiredStart timestamp in ms.endqueryrequiredEnd timestamp in ms.userqueryFilter by user wallet address.cursorqueryPagination cursor.limitqueryMax results (1-1000).Request
/v1/hyperliquid/spot/orders/HYPE-USDC/history?start=1746489600000&end=1746576000000&limit=200Response
{ "success": true, "data": [ { "symbol": "PURR-USDC", "timestamp": "2026-01-01T12:00:00Z", "order_id": "0xabc", "user_address": "0x1234...abcd", "status": "filled", "side": "B", "price": "42150.50", "size": "1.2" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Hyperliquid Spot - TWAP (Build+)
TWAP execution events for a spot pair, with parent twap_id, fill schedule, and counter-party attribution.
TWAP execution events for a spot pair, with parent twap_id, fill schedule, and counter-party attribution. Build+ tier required. Live-only from 2026-05-05.
Parameters
symbolpathrequiredSpot symbol (e.g., HYPE-USDC).startqueryrequiredStart timestamp in ms.endqueryrequiredEnd timestamp in ms.cursorqueryPagination cursor.limitqueryMax results (1-1000).Request
/v1/hyperliquid/spot/twap/HYPE-USDC?start=1746489600000&end=1746576000000&limit=200Response
{ "success": true, "data": [ { "coin": "HYPE/USDC", "symbol": "HYPE-USDC", "twap_id": 7732, "user_address": "0x44ad...8b9c", "side": "A", "slice_price": "24.875", "slice_size": "12.3", "timestamp": "2026-05-05T17:13:25.119Z", "parent_total_size": "120.0", "completed_size": "36.9", "status": "progressing" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}TWAP execution events filtered by user wallet across all spot pairs.
TWAP execution events filtered by user wallet across all spot pairs. Build+ tier required.
Parameters
userpathrequiredUser wallet address (0x...).startqueryStart timestamp in ms.endqueryEnd timestamp in ms.cursorqueryPagination cursor.limitqueryMax results (1-1000).Request
/v1/hyperliquid/spot/twap/user/0x023a3d058020fb76cca98f01b3c48c8938a22355?limit=100Response
{ "success": true, "data": [ { "coin": "HYPE/USDC", "symbol": "HYPE-USDC", "twap_id": 7732, "user_address": "0x44ad...8b9c", "side": "A", "slice_price": "24.875", "slice_size": "12.3", "timestamp": "2026-05-05T17:13:25.119Z", "parent_total_size": "120.0", "completed_size": "36.9", "status": "progressing" } ], "meta": { "request_id": "req_abc123", "count": 1, "next_cursor": "1704067200000_abc123", "has_more": false }}Data Quality
Freshness, incidents, latency, coverage, and health checks.
Data Quality
Get overall system health status and per-exchange status
Request
/v1/data-quality/statusResponse
{ "success": true, "data": { "status": "operational", "updated_at": "2026-01-01T12:00:00Z", "services": [ { "name": "rest_api", "status": "operational" }, { "name": "websocket", "status": "operational" }, { "name": "export_pipeline", "status": "operational" } ] }, "meta": { "request_id": "req_abc123", "count": 1 }}Get data coverage summary across all exchanges and data types.
Get data coverage summary across all exchanges and data types. Note: May take 30-60 seconds on first request (cached for 5 minutes).
Request
/v1/data-quality/coverageResponse
{ "success": true, "data": [ { "exchange": "hyperliquid", "symbols": 248, "earliest_available": "2023-04-01T00:00:00Z" }, { "exchange": "lighter", "symbols": 86, "earliest_available": "2025-08-01T00:00:00Z" }, { "exchange": "hyperliquid_hip3", "symbols": 125, "earliest_available": "2026-02-17T00:00:00Z" }, { "exchange": "hyperliquid_spot", "symbols": 294, "earliest_available": "2025-03-22T00:00:00Z" } ], "meta": { "request_id": "req_abc123", "count": 4 }}Get detailed coverage for a specific exchange.
Get detailed coverage for a specific exchange. Note: May take 30-60 seconds on first request (cached for 5 minutes).
Parameters
exchangepathrequiredExchange name (hyperliquid, lighter, hip3)Request
/v1/data-quality/coverage/hyperliquidResponse
{ "success": true, "data": { "exchange": "hyperliquid", "symbols": 248, "data_types": [ "orderbook", "trades", "candles", "funding", "open_interest", "liquidations" ], "earliest_available": "2023-04-01T00:00:00Z" }, "meta": { "request_id": "req_abc123", "count": 1 }}Get symbol-specific coverage with gap detection and empirical data cadence.
Get symbol-specific coverage with gap detection and empirical data cadence. Supports time-bounded gap detection via from/to params (default: last 30 days). Historical coverage uses hour-level granularity. Note: May take 30-60 seconds on first request (cached for 1 hour).
Parameters
exchangepathrequiredExchange name (hyperliquid, lighter, hip3)symbolpathrequiredTrading pair (e.g., BTC, ETH)fromqueryStart of gap detection window (Unix ms). Default: now - 30 daystoqueryEnd of gap detection window (Unix ms). Default: nowRequest
/v1/data-quality/coverage/hyperliquid/BTC?from=1704067200000&to=1706745600000Response
{ "success": true, "data": { "exchange": "hyperliquid", "symbol": "BTC", "coverage": { "orderbook": { "from": "2023-04-01T00:00:00Z", "to": "2026-01-01T12:00:00Z", "status": "complete" }, "trades": { "from": "2023-04-01T00:00:00Z", "to": "2026-01-01T12:00:00Z", "status": "complete" } } }, "meta": { "request_id": "req_abc123", "count": 1 }}List data quality incidents with filtering and pagination
Parameters
statusqueryFilter by status: open, resolved, all (default: all)severityqueryFilter by severity: critical, major, minorexchangequeryFilter by exchangelimitqueryMax results (default: 50)offsetqueryPagination offsetRequest
/v1/data-quality/incidents?status=open&limit=10Response
{ "success": true, "data": [ { "id": "inc_abc123", "status": "resolved", "severity": "minor", "exchange": "hyperliquid", "started_at": "2026-01-01T10:15:00Z", "resolved_at": "2026-01-01T10:42:00Z" } ], "meta": { "request_id": "req_abc123", "count": 1 }}Get details for a specific incident
Parameters
idpathrequiredIncident IDRequest
/v1/data-quality/incidents/inc_abc123Response
{ "success": true, "data": { "id": "inc_abc123", "status": "resolved", "severity": "minor", "summary": "Delayed order book checkpoints for BTC", "affected": [ { "exchange": "hyperliquid", "symbol": "BTC", "data_type": "orderbook" } ], "started_at": "2026-01-01T10:15:00Z", "resolved_at": "2026-01-01T10:42:00Z" }, "meta": { "request_id": "req_abc123", "count": 1 }}Get current latency metrics for WebSocket, REST API, and data freshness
Request
/v1/data-quality/latencyResponse
{ "success": true, "data": { "rest_p50_ms": 42, "rest_p95_ms": 138, "websocket_p95_ms": 95, "freshness_lag_ms": 1200, "measured_at": "2026-01-01T12:00:00Z" }, "meta": { "request_id": "req_abc123", "count": 1 }}Get SLA compliance metrics for a specific month
Parameters
yearqueryYear (default: current year)monthqueryMonth 1-12 (default: current month)Request
/v1/data-quality/sla?year=2026&month=1Response
{ "success": true, "data": { "month": "2026-01", "uptime_percent": 99.98, "incidents": 1, "excluded_minutes": 0 }, "meta": { "request_id": "req_abc123", "count": 1 }}