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.

Base URL
https://api.0xarchive.io
Auth
X-API-Key header
Routes
105 documented routes
Coverage
Hyperliquid perps and spot, Lighter.xyz, HIP-3, HIP-4

Coverage

105 documented routes

Hyperliquid perps and spot, Lighter.xyz, HIP-3, and HIP-4 endpoints for order books, trades, candles, TWAP, liquidations, outcomes, freshness, incidents, and coverage.

Hyperliquid

37 Hyperliquid routes

Core perp routes for order books, trades, candles, funding, open interest, liquidations, order flow, and freshness.

Lighter.xyz

16 Lighter routes

Historical and reconstruction-heavy routes for order books, trades, candles, L3 depth, summary, and prices.

HIP-3

25 HIP-3 routes

Builder-perp REST coverage including L4 depth, order flow, liquidations, candles, funding, and OI.

HIP-4

19 HIP-4 routes

Outcome-market routes including /outcomes discovery, per-side L2/L4 books, trades, OI, and order lifecycle. Coins are numeric ids (0, 1, 10, 11, ...).

Hyperliquid Spot

12 Spot routes

Spot routes for 294 dashed pairs (PURR-USDC, HYPE-USDC, HFUN-USDC, ...): L2/L4 orderbook, trades with builder/twap fields, TWAP by symbol or by user, pair metadata, and freshness.

Data Quality

8 monitoring routes

Freshness, incidents, latency, SLA, health, and coverage monitoring across every venue.

Pair the reference with these docs pages

Hyperliquid

Core perp routes for market state, history, order flow, liquidations, and monitoring.

Hyperliquid - Order Book

GET/v1/hyperliquid/orderbook/:symbol1 credit

Get current order book or snapshot at specific timestamp

symbolpathrequiredTrading pair (e.g., BTC, ETH)
timestampqueryUnix timestamp in ms for historical snapshot
depthqueryNumber of price levels per side. Tier limits: Free=20, Build=200, Pro=Full Depth, Enterprise=Full Depth
/v1/hyperliquid/orderbook/BTC?timestamp=1704067200000&depth=20
{
"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/v1/hyperliquid/orderbook/:symbol/history5 credits

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.

symbolpathrequiredTrading pair (e.g., BTC, ETH)
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
cursorqueryPagination cursor from previous response
limitqueryMax results (default: 100, max: 1000)
depthqueryNumber of price levels per side. Tier limits: Free=20, Build=200, Pro=Full Depth, Enterprise=Full Depth
/v1/hyperliquid/orderbook/BTC/history?start=1704067200000&end=1704153600000&limit=100
{
"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/v1/hyperliquid/trades/:symbol2 credits

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.

symbolpathrequiredTrading pair (e.g., BTC, ETH)
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
cursorqueryCursor from previous response (next_cursor)
limitqueryMax results (default: 100, max: 1000)
/v1/hyperliquid/trades/ETH?start=1704067200000&end=1704153600000&limit=1000
{
"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

GET/v1/hyperliquid/instruments1 credit

List all available Hyperliquid trading instruments

/v1/hyperliquid/instruments
{
"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/v1/hyperliquid/instruments/:symbol1 credit

Get a single Hyperliquid instrument by symbol, including the latest venue metadata and trading state.

symbolpathrequiredTrading pair (e.g., BTC, ETH)
/v1/hyperliquid/instruments/BTC
{
"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/v1/hyperliquid/openinterest/:symbol2 credits

Get historical open interest data with market context.

Get historical open interest data with market context. Data available from May 2023.

symbolpathrequiredTrading pair (e.g., BTC, ETH)
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
cursorqueryCursor 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.
/v1/hyperliquid/openinterest/BTC?start=1704067200000&end=1704153600000&limit=100
{
"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/v1/hyperliquid/openinterest/:symbol/current1 credit

Get current open interest for a symbol

symbolpathrequiredTrading pair (e.g., BTC, ETH)
/v1/hyperliquid/openinterest/BTC/current
{
"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/v1/hyperliquid/funding/:symbol2 credits

Get historical funding rates.

Get historical funding rates. Data available from May 2023.

symbolpathrequiredTrading pair (e.g., BTC, ETH)
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
cursorqueryCursor 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.
/v1/hyperliquid/funding/BTC?start=1704067200000&end=1704153600000&limit=100
{
"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/v1/hyperliquid/funding/:symbol/current1 credit

Get current funding rate for a symbol

symbolpathrequiredTrading pair (e.g., BTC, ETH)
/v1/hyperliquid/funding/BTC/current
{
"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/v1/hyperliquid/liquidations/:symbol3 credits

Get liquidation events for a symbol.

Get liquidation events for a symbol. Data available from December 2025+.

symbolpathrequiredTrading pair (e.g., BTC, ETH)
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
cursorqueryCursor from previous response (format: timestamp_tradeId)
limitqueryMax results (default: 100, max: 1000)
/v1/hyperliquid/liquidations/BTC?start=1704067200000&end=1704153600000&limit=100
{
"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/v1/hyperliquid/liquidations/user/:user3 credits

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.

userpathrequiredUser wallet address (e.g., 0x...)
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
symbolqueryOptional symbol filter (e.g., BTC)
cursorqueryCursor from previous response
limitqueryMax results (default: 100, max: 1000)
/v1/hyperliquid/liquidations/user/0x84eec0068b37919cc8f13d7454073ac167374cc0?start=1704067200000&end=1704153600000
{
"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/v1/hyperliquid/liquidations/:symbol/volume3 credits

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+.

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, 1d
limitqueryMax results (default: 100, max: 1000)
cursorqueryPagination cursor from previous response
/v1/hyperliquid/liquidations/BTC/volume?start=1704067200000&end=1704153600000&interval=1h&limit=100
{
"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
}
}
GET/v1/hyperliquid/freshness/:symbol1 credit

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.

symbolpathrequiredTrading pair (e.g., BTC, ETH)
/v1/hyperliquid/freshness/BTC
{
"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/v1/hyperliquid/summary/:symbol2 credits

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.

symbolpathrequiredTrading pair (e.g., BTC, ETH)
/v1/hyperliquid/summary/BTC
{
"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/v1/hyperliquid/prices/:symbol2 credits

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.

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 response
/v1/hyperliquid/prices/BTC?start=1704067200000&end=1704153600000&interval=1h&limit=100
{
"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/v1/hyperliquid/candles/:symbol3 credits

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.

symbolpathrequiredTrading pair (e.g., BTC, ETH)
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
intervalqueryCandle interval: 1m, 5m, 15m, 30m, 1h (default), 4h, 1d, 1w
cursorqueryPagination cursor from previous response
limitqueryMax results (default: 100, max: 1000)
/v1/hyperliquid/candles/BTC?start=1704067200000&end=1704153600000&interval=1h&limit=100
{
"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/v1/hyperliquid/orders/:symbol/history5 credits

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.

symbolpathrequiredTrading pair (e.g., BTC, ETH)
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
userqueryFilter 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 response
limitqueryMax results (default: 100, max: 1000)
/v1/hyperliquid/orders/BTC/history?start=1704067200000&end=1704153600000&limit=100
{
"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/v1/hyperliquid/orders/:symbol/flow5 credits

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.

symbolpathrequiredTrading pair (e.g., BTC, ETH)
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
intervalqueryAggregation interval (e.g., 1m, 5m, 15m, 1h)
limitqueryMax results (default: 100, max: 1000)
/v1/hyperliquid/orders/BTC/flow?start=1704067200000&end=1704153600000&interval=5m&limit=100
{
"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/v1/hyperliquid/orders/:symbol/tpsl5 credits

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.

symbolpathrequiredTrading pair (e.g., BTC, ETH)
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
userqueryFilter by user wallet address (e.g., 0x...)
triggeredqueryFilter by triggered status (true/false)
cursorqueryPagination cursor from previous response
limitqueryMax results (default: 100, max: 1000)
/v1/hyperliquid/orders/BTC/tpsl?start=1704067200000&end=1704153600000&limit=100
{
"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
}
}
GET/v1/hyperliquid/orderbook/:symbol/l410 credits

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.

symbolpathrequiredTrading pair (e.g., BTC, ETH)
timestampqueryrequiredUnix timestamp in ms for reconstruction point
depthqueryNumber of price levels per side (default: 20)
/v1/hyperliquid/orderbook/BTC/l4?timestamp=1704067200000&depth=20
{
"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/v1/hyperliquid/orderbook/:symbol/l4/diffs5 credits

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.

symbolpathrequiredTrading pair (e.g., BTC, ETH)
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
cursorqueryPagination cursor from previous response
limitqueryMax results (default: 100, max: 1000)
/v1/hyperliquid/orderbook/BTC/l4/diffs?start=1704067200000&end=1704153600000&limit=100
{
"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/v1/hyperliquid/orderbook/:symbol/l4/history10 credits

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.

symbolpathrequiredTrading pair (e.g., BTC, ETH)
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
cursorqueryPagination cursor from previous response
limitqueryMax results (default: 100, max: 1000)
/v1/hyperliquid/orderbook/BTC/l4/history?start=1704067200000&end=1704153600000&limit=100
{
"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/v1/hyperliquid/orderbook/:symbol/l23 credits

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.

symbolpathrequiredTrading pair (e.g., BTC, ETH)
timestampqueryUnix timestamp in ms (omit for current state)
depthqueryNumber of price levels per side (omit for full depth)
/v1/hyperliquid/orderbook/BTC/l2?depth=20
{
"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/v1/hyperliquid/orderbook/:symbol/l2/history10 credits

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.

symbolpathrequiredTrading pair (e.g., BTC, ETH)
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
cursorqueryPagination cursor from previous response
limitqueryMax results (default: 100, max: 1000)
/v1/hyperliquid/orderbook/BTC/l2/history?start=1704067200000&end=1704153600000&limit=100
{
"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/v1/hyperliquid/orderbook/:symbol/l2/diffs5 credits

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.

symbolpathrequiredTrading pair (e.g., BTC, ETH)
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
cursorqueryPagination cursor from previous response
limitqueryMax results (default: 100, max: 1000)
/v1/hyperliquid/orderbook/BTC/l2/diffs?start=1704067200000&end=1704153600000&limit=100
{
"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, ...)

GET/v1/hyperliquid/spot/pairs1 credit

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.

/v1/hyperliquid/spot/pairs
{
"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/v1/hyperliquid/spot/pairs/:symbol1 credit

Get metadata for a single spot pair, including base/quote tokens and the underlying wire-format identifier.

symbolpathrequiredSpot symbol in dashed form (e.g., PURR-USDC, HYPE-USDC, HFUN-USDC). Raw @<index> identifiers are not accepted; use the named pair.
/v1/hyperliquid/spot/pairs/PURR-USDC
{
"success": true,
"data": {
"symbol": "PURR-USDC",
"base": "PURR",
"quote": "USDC",
"wire": "PURR/USDC",
"pair_index": 107
},
"meta": {
"request_id": "req_abc123",
"count": 1
}
}
GET/v1/hyperliquid/spot/freshness/:symbol1 credit

Data freshness for a spot pair: latest timestamps and lag for orderbook, trades, L4, and TWAP.

symbolpathrequiredSpot symbol (e.g., PURR-USDC, HYPE-USDC).
/v1/hyperliquid/spot/freshness/PURR-USDC
{
"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/v1/hyperliquid/spot/orderbook/:symbol1 credit

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).

symbolpathrequiredSpot symbol (e.g., PURR-USDC, HYPE-USDC).
depthqueryPrice levels per side (max 20).
/v1/hyperliquid/spot/orderbook/PURR-USDC?depth=10
{
"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/v1/hyperliquid/spot/orderbook/:symbol/history5 credits

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.

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).
/v1/hyperliquid/spot/orderbook/HYPE-USDC/history?start=1746489600000&end=1746576000000&limit=100
{
"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
}
}
GET/v1/hyperliquid/spot/orderbook/:symbol/l410 credits

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.

symbolpathrequiredSpot symbol (e.g., PURR-USDC).
timestampqueryReconstruct at this Unix ms timestamp; defaults to latest.
/v1/hyperliquid/spot/orderbook/PURR-USDC/l4?timestamp=1746576000000
{
"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
}
}
GET/v1/hyperliquid/spot/orderbook/:symbol/l4/diffs3 credits

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.

symbolpathrequiredSpot symbol (e.g., PURR-USDC).
startqueryrequiredStart timestamp in ms.
endqueryrequiredEnd timestamp in ms.
cursorqueryPagination cursor.
limitqueryMax results (1-1000).
/v1/hyperliquid/spot/orderbook/PURR-USDC/l4/diffs?start=1746489600000&end=1746576000000&limit=500
{
"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
}
}
GET/v1/hyperliquid/spot/orderbook/:symbol/l4/history3 credits

L4 checkpoint history.

L4 checkpoint history. Build+ tier required. Live-only from 2026-05-05.

symbolpathrequiredSpot symbol (e.g., PURR-USDC).
startqueryrequiredStart timestamp in ms.
endqueryrequiredEnd timestamp in ms.
cursorqueryPagination cursor.
limitqueryMax results (1-1000).
/v1/hyperliquid/spot/orderbook/PURR-USDC/l4/history?start=1746489600000&end=1746576000000&limit=100
{
"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/v1/hyperliquid/spot/trades/:symbol2 credits

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.

symbolpathrequiredSpot symbol (e.g., PURR-USDC, HYPE-USDC).
startqueryrequiredStart timestamp in ms.
endqueryrequiredEnd timestamp in ms.
cursorqueryPagination cursor.
limitqueryMax results (1-1000).
/v1/hyperliquid/spot/trades/PURR-USDC?start=1742601600000&end=1742688000000&limit=500
{
"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+)

GET/v1/hyperliquid/spot/orders/:symbol/history3 credits

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.

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).
/v1/hyperliquid/spot/orders/HYPE-USDC/history?start=1746489600000&end=1746576000000&limit=200
{
"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+)

GET/v1/hyperliquid/spot/twap/:symbol2 credits

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.

symbolpathrequiredSpot symbol (e.g., HYPE-USDC).
startqueryrequiredStart timestamp in ms.
endqueryrequiredEnd timestamp in ms.
cursorqueryPagination cursor.
limitqueryMax results (1-1000).
/v1/hyperliquid/spot/twap/HYPE-USDC?start=1746489600000&end=1746576000000&limit=200
{
"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
}
}
GET/v1/hyperliquid/spot/twap/user/:user2 credits

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.

userpathrequiredUser wallet address (0x...).
startqueryStart timestamp in ms.
endqueryEnd timestamp in ms.
cursorqueryPagination cursor.
limitqueryMax results (1-1000).
/v1/hyperliquid/spot/twap/user/0x023a3d058020fb76cca98f01b3c48c8938a22355?limit=100
{
"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/v1/lighter/orderbook/:symbol2 credits

Get current order book snapshot

symbolpathrequiredTrading pair (e.g., BTC, ETH)
timestampqueryUnix timestamp in ms for historical snapshot
depthqueryNumber of price levels per side. Tier limits: Free=20, Build=200, Pro=Full Depth, Enterprise=Full Depth
/v1/lighter/orderbook/BTC?depth=50
{
"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/v1/lighter/orderbook/:symbol/history10 credits

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.

symbolpathrequiredTrading pair (e.g., BTC, ETH)
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
cursorqueryPagination cursor from previous response
limitqueryMax results (default: 100, max: 1000)
depthqueryNumber of price levels per side. Tier limits: Free=20, Build=200, Pro=Full Depth, Enterprise=Full Depth
granularityqueryData 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.
/v1/lighter/orderbook/BTC/history?start=1704067200000&end=1704153600000&limit=100&granularity=10s&depth=50
{
"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/v1/lighter/trades/:symbol2 credits

Get trade history with cursor pagination.

Get trade history with cursor pagination. Data available from August 2025.

symbolpathrequiredTrading pair (e.g., BTC, ETH)
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
cursorqueryCursor from previous response (next_cursor)
limitqueryMax results (default: 100, max: 1000)
/v1/lighter/trades/ETH?start=1704067200000&end=1704153600000&limit=1000
{
"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/v1/lighter/trades/:symbol/recent1 credit

Get most recent trades

symbolpathrequiredTrading pair (e.g., BTC, ETH)
limitqueryNumber of trades to return (default: 100, max: 1000)
/v1/lighter/trades/BTC/recent?limit=50
{
"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

GET/v1/lighter/instruments1 credit

List all available Lighter.xyz trading instruments

/v1/lighter/instruments
{
"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/v1/lighter/instruments/:symbol1 credit

Get a single Lighter.xyz instrument by symbol

symbolpathrequiredTrading pair (e.g., BTC, ETH)
/v1/lighter/instruments/BTC
{
"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/v1/lighter/openinterest/:symbol2 credits

Get historical open interest data.

Get historical open interest data. Data available from August 2025.

symbolpathrequiredTrading pair (e.g., BTC, ETH)
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
cursorqueryCursor 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.
/v1/lighter/openinterest/BTC?start=1704067200000&end=1704153600000&limit=100
{
"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/v1/lighter/openinterest/:symbol/current1 credit

Get current open interest for a symbol

symbolpathrequiredTrading pair (e.g., BTC, ETH)
/v1/lighter/openinterest/BTC/current
{
"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/v1/lighter/funding/:symbol2 credits

Get historical funding rates.

Get historical funding rates. Data available from August 2025.

symbolpathrequiredTrading pair (e.g., BTC, ETH)
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
cursorqueryCursor 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.
/v1/lighter/funding/BTC?start=1704067200000&end=1704153600000&limit=100
{
"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/v1/lighter/funding/:symbol/current1 credit

Get current funding rate for a symbol

symbolpathrequiredTrading pair (e.g., BTC, ETH)
/v1/lighter/funding/BTC/current
{
"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/v1/lighter/candles/:symbol3 credits

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.

symbolpathrequiredTrading pair (e.g., BTC, ETH)
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
intervalqueryCandle interval: 1m, 5m, 15m, 30m, 1h (default), 4h, 1d, 1w
cursorqueryPagination cursor from previous response
limitqueryMax results (default: 100, max: 1000)
/v1/lighter/candles/BTC?start=1704067200000&end=1704153600000&interval=15m&limit=100
{
"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

GET/v1/lighter/freshness/:symbol1 credit

Check when data was last updated for each data type (orderbook, trades, funding, OI) for a specific Lighter.xyz coin.

symbolpathrequiredTrading pair (e.g., BTC, ETH)
/v1/lighter/freshness/BTC
{
"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/v1/lighter/summary/:symbol2 credits

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.

symbolpathrequiredTrading pair (e.g., BTC, ETH)
/v1/lighter/summary/BTC
{
"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/v1/lighter/prices/:symbol2 credits

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.

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 response
/v1/lighter/prices/BTC?start=1704067200000&end=1704153600000&interval=1h&limit=100
{
"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/v1/lighter/l3orderbook/:symbol5 credits

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.

symbolpathrequiredTrading pair (e.g., BTC, ETH)
depthqueryNumber of price levels per side (default: 20)
/v1/lighter/l3orderbook/BTC?depth=20
{
"success": true,
"data": {
"symbol": "BTC",
"timestamp": "2026-01-01T12:00:00Z",
"status": "ok"
},
"meta": {
"request_id": "req_abc123",
"count": 1
}
}
GET/v1/lighter/l3orderbook/:symbol/history10 credits

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.

symbolpathrequiredTrading pair (e.g., BTC, ETH)
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
cursorqueryPagination cursor from previous response
limitqueryMax results (default: 100, max: 1000)
depthqueryNumber of price levels per side (default: 20)
/v1/lighter/l3orderbook/BTC/history?start=1704067200000&end=1704153600000&limit=100&depth=20
{
"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)

GET/v1/hyperliquid/hip3/instruments1 credit

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.

/v1/hyperliquid/hip3/instruments
{
"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/v1/hyperliquid/hip3/instruments/:symbol1 credit

Get a specific HIP-3 instrument by symbol.

Get a specific HIP-3 instrument by symbol. Returns latest market data.

symbolpathrequiredHIP-3 symbol (e.g., km:US500, xyz:XYZ100). Case-sensitive.
/v1/hyperliquid/hip3/instruments/km:US500
{
"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/v1/hyperliquid/hip3/orderbook/:symbol1 credit

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.

symbolpathrequiredHIP-3 symbol (e.g., xyz:XYZ100, km:US500)
timestampqueryUnix timestamp in ms for historical snapshot
depthqueryNumber of price levels per side. Tier limits: Free=20, Build=200, Pro=Full Depth, Enterprise=Full Depth
/v1/hyperliquid/hip3/orderbook/xyz:XYZ100?depth=50
{
"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/v1/hyperliquid/hip3/orderbook/:symbol/history5 credits

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.

symbolpathrequiredHIP-3 symbol (e.g., xyz:XYZ100, km:US500)
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
cursorqueryPagination cursor from previous response
limitqueryMax results (default: 100, max: 1000)
depthqueryNumber of price levels per side. Tier limits: Free=20, Build=200, Pro=Full Depth, Enterprise=Full Depth
/v1/hyperliquid/hip3/orderbook/xyz:XYZ100/history?start=1739750400000&end=1739836800000&limit=100
{
"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/v1/hyperliquid/hip3/trades/:symbol2 credits

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.

symbolpathrequiredHIP-3 symbol (e.g., xyz:XYZ100, km:US500)
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
cursorqueryCursor from previous response (next_cursor)
limitqueryMax results (default: 100, max: 1000)
/v1/hyperliquid/hip3/trades/xyz:XYZ100?start=1739750400000&end=1739836800000&limit=1000
{
"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/v1/hyperliquid/hip3/trades/:symbol/recent1 credit

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.

symbolpathrequiredHIP-3 symbol (e.g., xyz:XYZ100, km:US500)
limitqueryNumber of trades to return (default: 100, max: 1000)
/v1/hyperliquid/hip3/trades/xyz:XYZ100/recent?limit=50
{
"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/v1/hyperliquid/hip3/candles/:symbol3 credits

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.

symbolpathrequiredHIP-3 symbol (e.g., km:US500, xyz:XYZ100). Case-sensitive.
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
intervalqueryCandle interval: 1m, 5m, 15m, 30m, 1h (default), 4h, 1d, 1w
cursorqueryPagination cursor from previous response
limitqueryMax results (default: 100, max: 1000)
/v1/hyperliquid/hip3/candles/km:US500?start=1739750400000&end=1739836800000&interval=1h&limit=100
{
"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/v1/hyperliquid/hip3/openinterest/:symbol2 credits

Get historical open interest data.

Get historical open interest data. Data available from February 2026. Free tier: km:US500 only. Build+: all symbols.

symbolpathrequiredHIP-3 symbol (e.g., xyz:XYZ100, km:US500)
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
cursorqueryCursor 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.
/v1/hyperliquid/hip3/openinterest/xyz:XYZ100?start=1739750400000&end=1739836800000&limit=100
{
"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/v1/hyperliquid/hip3/openinterest/:symbol/current1 credit

Get current open interest for a HIP-3 symbol.

Get current open interest for a HIP-3 symbol. No tier restriction.

symbolpathrequiredHIP-3 symbol (e.g., xyz:XYZ100, km:US500)
/v1/hyperliquid/hip3/openinterest/xyz:XYZ100/current
{
"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/v1/hyperliquid/hip3/funding/:symbol2 credits

Get historical funding rates.

Get historical funding rates. Data available from February 2026. Free tier: km:US500 only. Build+: all symbols.

symbolpathrequiredHIP-3 symbol (e.g., xyz:XYZ100, km:US500)
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
cursorqueryCursor 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.
/v1/hyperliquid/hip3/funding/xyz:XYZ100?start=1739750400000&end=1739836800000&limit=100
{
"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/v1/hyperliquid/hip3/funding/:symbol/current1 credit

Get current funding rate for a HIP-3 symbol.

Get current funding rate for a HIP-3 symbol. No tier restriction.

symbolpathrequiredHIP-3 symbol (e.g., xyz:XYZ100, km:US500)
/v1/hyperliquid/hip3/funding/xyz:XYZ100/current
{
"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/v1/hyperliquid/hip3/liquidations/:symbol3 credits

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+.

symbolpathrequiredHIP-3 symbol (e.g., km:US500, xyz:XYZ100). Case-sensitive.
startqueryrequiredStart timestamp in ms
endqueryEnd timestamp in ms. Defaults to now.
cursorqueryCursor from previous response (format: timestamp_tradeId)
limitqueryMax results (default: 1000, max: 1000)
/v1/hyperliquid/hip3/liquidations/km:US500?start=1739750400000&end=1739836800000&limit=100
{
"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/v1/hyperliquid/hip3/liquidations/:symbol/volume3 credits

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+.

symbolpathrequiredHIP-3 symbol (e.g., km:US500, xyz:XYZ100). Case-sensitive.
startqueryrequiredStart timestamp in ms
endqueryEnd timestamp in ms. Defaults to now.
intervalqueryAggregation interval: 5m, 15m, 30m, 1h (default), 4h, 1d
limitqueryMax results (default: 1000, max: 1000)
cursorqueryPagination cursor from previous response
/v1/hyperliquid/hip3/liquidations/km:US500/volume?start=1739750400000&end=1739836800000&interval=1h&limit=100
{
"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

GET/v1/hyperliquid/hip3/freshness/:symbol1 credit

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.

symbolpathrequiredHIP-3 symbol (e.g., km:US500, xyz:XYZ100)
/v1/hyperliquid/hip3/freshness/km:US500
{
"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/v1/hyperliquid/hip3/summary/:symbol2 credits

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.

symbolpathrequiredHIP-3 symbol (e.g., km:US500, xyz:XYZ100)
/v1/hyperliquid/hip3/summary/km:US500
{
"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/v1/hyperliquid/hip3/prices/:symbol2 credits

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.

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 response
/v1/hyperliquid/hip3/prices/km:US500?start=1739750400000&end=1739836800000&interval=1h&limit=100
{
"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/v1/hyperliquid/hip3/orders/:symbol/history5 credits

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.

symbolpathrequiredHIP-3 symbol (e.g., xyz:XYZ100, km:US500)
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
userqueryFilter 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 response
limitqueryMax results (default: 100, max: 1000)
/v1/hyperliquid/hip3/orders/km:US500/history?start=1739750400000&end=1739836800000&limit=100
{
"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/v1/hyperliquid/hip3/orders/:symbol/flow5 credits

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.

symbolpathrequiredHIP-3 symbol (e.g., xyz:XYZ100, km:US500)
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
intervalqueryAggregation interval (e.g., 1m, 5m, 15m, 1h)
limitqueryMax results (default: 100, max: 1000)
/v1/hyperliquid/hip3/orders/km:US500/flow?start=1739750400000&end=1739836800000&interval=5m&limit=100
{
"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/v1/hyperliquid/hip3/orders/:symbol/tpsl5 credits

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.

symbolpathrequiredHIP-3 symbol (e.g., xyz:XYZ100, km:US500)
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
userqueryFilter by user wallet address (e.g., 0x...)
triggeredqueryFilter by triggered status (true/false)
cursorqueryPagination cursor from previous response
limitqueryMax results (default: 100, max: 1000)
/v1/hyperliquid/hip3/orders/km:US500/tpsl?start=1739750400000&end=1739836800000&limit=100
{
"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
}
}
GET/v1/hyperliquid/hip3/orderbook/:symbol/l410 credits

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.

symbolpathrequiredHIP-3 symbol (e.g., xyz:XYZ100, km:US500)
timestampqueryrequiredUnix timestamp in ms for reconstruction point
depthqueryNumber of price levels per side (default: 20)
/v1/hyperliquid/hip3/orderbook/km:US500/l4?timestamp=1739750400000&depth=20
{
"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/v1/hyperliquid/hip3/orderbook/:symbol/l4/diffs5 credits

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.

symbolpathrequiredHIP-3 symbol (e.g., xyz:XYZ100, km:US500)
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
cursorqueryPagination cursor from previous response
limitqueryMax results (default: 100, max: 1000)
/v1/hyperliquid/hip3/orderbook/km:US500/l4/diffs?start=1739750400000&end=1739836800000&limit=100
{
"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/v1/hyperliquid/hip3/orderbook/:symbol/l4/history10 credits

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.

symbolpathrequiredHIP-3 symbol (e.g., xyz:XYZ100, km:US500)
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
cursorqueryPagination cursor from previous response
limitqueryMax results (default: 100, max: 1000)
/v1/hyperliquid/hip3/orderbook/km:US500/l4/history?start=1739750400000&end=1739836800000&limit=100
{
"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/v1/hyperliquid/hip3/orderbook/:symbol/l23 credits

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.

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)
/v1/hyperliquid/hip3/orderbook/km:US500/l2?depth=20
{
"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/v1/hyperliquid/hip3/orderbook/:symbol/l2/history10 credits

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.

symbolpathrequiredHIP-3 symbol (e.g., xyz:CL, km:US500)
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
cursorqueryPagination cursor from previous response
limitqueryMax results (default: 100, max: 1000)
/v1/hyperliquid/hip3/orderbook/km:US500/l2/history?start=1739750400000&end=1739836800000&limit=100
{
"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/v1/hyperliquid/hip3/orderbook/:symbol/l2/diffs5 credits

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.

symbolpathrequiredHIP-3 symbol (e.g., xyz:CL, km:US500)
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
cursorqueryPagination cursor from previous response
limitqueryMax results (default: 100, max: 1000)
/v1/hyperliquid/hip3/orderbook/km:US500/l2/diffs?start=1739750400000&end=1739836800000&limit=100
{
"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+)

GET/v1/hyperliquid/hip4/outcomes1 credit

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.

is_settledqueryFilter by settlement status: true or false
cursorqueryPagination cursor from previous response
limitqueryMax results (default: 100, max: 1000)
/v1/hyperliquid/hip4/outcomes?is_settled=false&limit=100
{
"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/v1/hyperliquid/hip4/outcomes/:outcome_id1 credit

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.

outcome_idpathrequiredOutcome id (integer, e.g., 0)
/v1/hyperliquid/hip4/outcomes/0
{
"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+)

GET/v1/hyperliquid/hip4/instruments1 credit

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.

/v1/hyperliquid/hip4/instruments
{
"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/v1/hyperliquid/hip4/instruments/:symbol1 credit

Get a specific HIP-4 instrument by coin id.

Get a specific HIP-4 instrument by coin id. Requires Build tier or higher.

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.
/v1/hyperliquid/hip4/instruments/0
{
"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/v1/hyperliquid/hip4/orderbook/:symbol1 credit

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.

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 snapshot
depthqueryNumber of price levels per side. Tier limits: Free=20, Build=200, Pro=Full Depth, Enterprise=Full Depth
/v1/hyperliquid/hip4/orderbook/0?depth=20
{
"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/v1/hyperliquid/hip4/orderbook/:symbol/history5 credits

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.

symbolpathrequiredHIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). #-prefixed form also accepted.
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
cursorqueryPagination cursor from previous response
limitqueryMax results (default: 100, max: 1000)
depthqueryNumber of price levels per side. Tier limits: Free=20, Build=200, Pro=Full Depth, Enterprise=Full Depth
/v1/hyperliquid/hip4/orderbook/0/history?start=1746144000000&end=1746230400000&limit=100
{
"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
}
}
GET/v1/hyperliquid/hip4/orderbook/:symbol/l410 credits

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.

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 point
depthqueryNumber of price levels per side (default: 20)
/v1/hyperliquid/hip4/orderbook/0/l4?timestamp=1746144000000&depth=20
{
"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/v1/hyperliquid/hip4/orderbook/:symbol/l4/diffs5 credits

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.

symbolpathrequiredHIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). #-prefixed form also accepted.
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
cursorqueryPagination cursor from previous response
limitqueryMax results (default: 100, max: 1000)
/v1/hyperliquid/hip4/orderbook/0/l4/diffs?start=1746144000000&end=1746230400000&limit=100
{
"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/v1/hyperliquid/hip4/orderbook/:symbol/l4/history10 credits

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.

symbolpathrequiredHIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). #-prefixed form also accepted.
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
cursorqueryPagination cursor from previous response
limitqueryMax results (default: 10, max: 10)
/v1/hyperliquid/hip4/orderbook/0/l4/history?start=1746144000000&end=1746230400000&limit=10
{
"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/v1/hyperliquid/hip4/trades/:symbol2 credits

Get HIP-4 fills history (full) with cursor pagination.

Get HIP-4 fills history (full) with cursor pagination. Requires Build tier or higher.

symbolpathrequiredHIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). #-prefixed form also accepted.
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
cursorqueryCursor from previous response (next_cursor)
limitqueryMax results (default: 100, max: 1000)
/v1/hyperliquid/hip4/trades/0?start=1746144000000&end=1746230400000&limit=100
{
"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/v1/hyperliquid/hip4/trades/:symbol/recent1 credit

Get last N HIP-4 fills, latest first.

Get last N HIP-4 fills, latest first. Requires Build tier or higher.

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)
/v1/hyperliquid/hip4/trades/0/recent?limit=50
{
"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/v1/hyperliquid/hip4/openinterest/:symbol2 credits

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.

symbolpathrequiredHIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). #-prefixed form also accepted.
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
cursorqueryCursor from previous response (next_cursor)
limitqueryMax results (default: 100, max: 1000)
/v1/hyperliquid/hip4/openinterest/0?start=1746144000000&end=1746230400000&limit=100
{
"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/v1/hyperliquid/hip4/openinterest/:symbol/current1 credit

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.

symbolpathrequiredHIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). #-prefixed form also accepted.
/v1/hyperliquid/hip4/openinterest/0/current
{
"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/v1/hyperliquid/hip4/prices/:symbol2 credits

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.

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 response
/v1/hyperliquid/hip4/prices/0?start=1746144000000&end=1746230400000&interval=1h&limit=100
{
"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/v1/hyperliquid/hip4/summary/:symbol2 credits

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.

symbolpathrequiredHIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). #-prefixed form also accepted.
/v1/hyperliquid/hip4/summary/0
{
"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/v1/hyperliquid/hip4/freshness/:symbol1 credit

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.

symbolpathrequiredHIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). #-prefixed form also accepted.
/v1/hyperliquid/hip4/freshness/0
{
"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/v1/hyperliquid/hip4/orders/:symbol/history5 credits

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.

symbolpathrequiredHIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). #-prefixed form also accepted.
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
userqueryFilter 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 response
limitqueryMax results (default: 100, max: 1000)
/v1/hyperliquid/hip4/orders/0/history?start=1746144000000&end=1746230400000&limit=100
{
"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/v1/hyperliquid/hip4/orders/:symbol/flow5 credits

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.

symbolpathrequiredHIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). #-prefixed form also accepted.
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
intervalqueryAggregation interval (e.g., 1m, 5m, 15m, 1h, 1d)
limitqueryMax results (default: 100, max: 1000)
/v1/hyperliquid/hip4/orders/0/flow?start=1746144000000&end=1746230400000&interval=1h&limit=100
{
"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/v1/hyperliquid/hip4/orders/:symbol/tpsl5 credits

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.

symbolpathrequiredHIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). #-prefixed form also accepted.
startqueryrequiredStart timestamp in ms
endqueryrequiredEnd timestamp in ms
userqueryFilter by user wallet address (e.g., 0x...)
triggeredqueryFilter by triggered status (true/false)
cursorqueryPagination cursor from previous response
limitqueryMax results (default: 100, max: 1000)
/v1/hyperliquid/hip4/orders/0/tpsl?start=1746144000000&end=1746230400000&limit=100
{
"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, ...)

GET/v1/hyperliquid/spot/pairs1 credit

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.

/v1/hyperliquid/spot/pairs
{
"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/v1/hyperliquid/spot/pairs/:symbol1 credit

Get metadata for a single spot pair, including base/quote tokens and the underlying wire-format identifier.

symbolpathrequiredSpot symbol in dashed form (e.g., PURR-USDC, HYPE-USDC, HFUN-USDC). Raw @<index> identifiers are not accepted; use the named pair.
/v1/hyperliquid/spot/pairs/PURR-USDC
{
"success": true,
"data": {
"symbol": "PURR-USDC",
"base": "PURR",
"quote": "USDC",
"wire": "PURR/USDC",
"pair_index": 107
},
"meta": {
"request_id": "req_abc123",
"count": 1
}
}
GET/v1/hyperliquid/spot/freshness/:symbol1 credit

Data freshness for a spot pair: latest timestamps and lag for orderbook, trades, L4, and TWAP.

symbolpathrequiredSpot symbol (e.g., PURR-USDC, HYPE-USDC).
/v1/hyperliquid/spot/freshness/PURR-USDC
{
"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/v1/hyperliquid/spot/orderbook/:symbol1 credit

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).

symbolpathrequiredSpot symbol (e.g., PURR-USDC, HYPE-USDC).
depthqueryPrice levels per side (max 20).
/v1/hyperliquid/spot/orderbook/PURR-USDC?depth=10
{
"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/v1/hyperliquid/spot/orderbook/:symbol/history5 credits

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.

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).
/v1/hyperliquid/spot/orderbook/HYPE-USDC/history?start=1746489600000&end=1746576000000&limit=100
{
"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
}
}
GET/v1/hyperliquid/spot/orderbook/:symbol/l410 credits

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.

symbolpathrequiredSpot symbol (e.g., PURR-USDC).
timestampqueryReconstruct at this Unix ms timestamp; defaults to latest.
/v1/hyperliquid/spot/orderbook/PURR-USDC/l4?timestamp=1746576000000
{
"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
}
}
GET/v1/hyperliquid/spot/orderbook/:symbol/l4/diffs3 credits

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.

symbolpathrequiredSpot symbol (e.g., PURR-USDC).
startqueryrequiredStart timestamp in ms.
endqueryrequiredEnd timestamp in ms.
cursorqueryPagination cursor.
limitqueryMax results (1-1000).
/v1/hyperliquid/spot/orderbook/PURR-USDC/l4/diffs?start=1746489600000&end=1746576000000&limit=500
{
"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
}
}
GET/v1/hyperliquid/spot/orderbook/:symbol/l4/history3 credits

L4 checkpoint history.

L4 checkpoint history. Build+ tier required. Live-only from 2026-05-05.

symbolpathrequiredSpot symbol (e.g., PURR-USDC).
startqueryrequiredStart timestamp in ms.
endqueryrequiredEnd timestamp in ms.
cursorqueryPagination cursor.
limitqueryMax results (1-1000).
/v1/hyperliquid/spot/orderbook/PURR-USDC/l4/history?start=1746489600000&end=1746576000000&limit=100
{
"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/v1/hyperliquid/spot/trades/:symbol2 credits

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.

symbolpathrequiredSpot symbol (e.g., PURR-USDC, HYPE-USDC).
startqueryrequiredStart timestamp in ms.
endqueryrequiredEnd timestamp in ms.
cursorqueryPagination cursor.
limitqueryMax results (1-1000).
/v1/hyperliquid/spot/trades/PURR-USDC?start=1742601600000&end=1742688000000&limit=500
{
"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+)

GET/v1/hyperliquid/spot/orders/:symbol/history3 credits

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.

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).
/v1/hyperliquid/spot/orders/HYPE-USDC/history?start=1746489600000&end=1746576000000&limit=200
{
"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+)

GET/v1/hyperliquid/spot/twap/:symbol2 credits

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.

symbolpathrequiredSpot symbol (e.g., HYPE-USDC).
startqueryrequiredStart timestamp in ms.
endqueryrequiredEnd timestamp in ms.
cursorqueryPagination cursor.
limitqueryMax results (1-1000).
/v1/hyperliquid/spot/twap/HYPE-USDC?start=1746489600000&end=1746576000000&limit=200
{
"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
}
}
GET/v1/hyperliquid/spot/twap/user/:user2 credits

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.

userpathrequiredUser wallet address (0x...).
startqueryStart timestamp in ms.
endqueryEnd timestamp in ms.
cursorqueryPagination cursor.
limitqueryMax results (1-1000).
/v1/hyperliquid/spot/twap/user/0x023a3d058020fb76cca98f01b3c48c8938a22355?limit=100
{
"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/v1/data-quality/status0 credits

Get overall system health status and per-exchange status

/v1/data-quality/status
{
"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/v1/data-quality/coverage1 credit

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).

/v1/data-quality/coverage
{
"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/v1/data-quality/coverage/:exchange1 credit

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).

exchangepathrequiredExchange name (hyperliquid, lighter, hip3)
/v1/data-quality/coverage/hyperliquid
{
"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/v1/data-quality/coverage/:exchange/:symbol2 credits

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).

exchangepathrequiredExchange name (hyperliquid, lighter, hip3)
symbolpathrequiredTrading pair (e.g., BTC, ETH)
fromqueryStart of gap detection window (Unix ms). Default: now - 30 days
toqueryEnd of gap detection window (Unix ms). Default: now
/v1/data-quality/coverage/hyperliquid/BTC?from=1704067200000&to=1706745600000
{
"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
}
}
GET/v1/data-quality/incidents1 credit

List data quality incidents with filtering and pagination

statusqueryFilter by status: open, resolved, all (default: all)
severityqueryFilter by severity: critical, major, minor
exchangequeryFilter by exchange
limitqueryMax results (default: 50)
offsetqueryPagination offset
/v1/data-quality/incidents?status=open&limit=10
{
"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/v1/data-quality/incidents/:id1 credit

Get details for a specific incident

idpathrequiredIncident ID
/v1/data-quality/incidents/inc_abc123
{
"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/v1/data-quality/latency1 credit

Get current latency metrics for WebSocket, REST API, and data freshness

/v1/data-quality/latency
{
"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/v1/data-quality/sla5 credits

Get SLA compliance metrics for a specific month

yearqueryYear (default: current year)
monthqueryMonth 1-12 (default: current month)
/v1/data-quality/sla?year=2026&month=1
{
"success": true,
"data": {
"month": "2026-01",
"uptime_percent": 99.98,
"incidents": 1,
"excluded_minutes": 0
},
"meta": {
"request_id": "req_abc123",
"count": 1
}
}