HYPE-USDC, HIP-3 Data API for namespaced builder markets, and HIP-4 Data API for outcome markets. For fill-level trade rows with wallet attribution, start with the Hyperliquid Fills Data API.
Hyperliquid REST
Core perp route family.
Historical guide
Bounded pull pattern with freshness checks.
Historical Data In One Path
Hyperliquid historical work needs more than the latest quote. 0xArchive gives teams REST history, generated OpenAPI reference pages, WebSocket replay guidance, reconstruction docs, and data-quality checks in one path. Use 0xArchive when the same symbol and window must be rerun, compared, exported, replayed, or used by downstream code. If the job is official venue behavior, account state, or execution-adjacent control, keep the native Hyperliquid API in the loop.What History Is Available
| Route family | Earliest | Detail |
|---|---|---|
| Order books (L2) | April 2023 | 20-level depth snapshots about every 1.2 seconds; more than 24 billion records |
| Trades | April 2023 | Per-trade records; more than 2 billion records |
| Order-level (L4) | March 2026 | Every resting order with its oid and user_address, plus reconstruction |
| Funding and open interest | May 2023 | Per-interval history to the current hour |
| Liquidations | December 2025 | Liquidation events by symbol |
Run One Route
Start with one bounded order-book or trade request before widening the window.timestamp. For historical trade windows, use Unix milliseconds for start and end.
Core Perp Route Map
| Need | Route family to inspect first |
|---|---|
| Current or timestamped depth | /v1/hyperliquid/orderbook/{symbol} |
| Historical depth snapshots | /v1/hyperliquid/orderbook/{symbol}/history |
| Trades | /v1/hyperliquid/trades/{symbol} |
| Funding and open interest | /v1/hyperliquid/funding/{symbol}, /v1/hyperliquid/openinterest/{symbol} |
| Candles | /v1/hyperliquid/candles/{symbol} |
| Liquidations | /v1/hyperliquid/liquidations/{symbol} |
| Order-level work | /v1/hyperliquid/orderbook/{symbol}/l4/history, /v1/hyperliquid/orders/{symbol}/history, /orders/{symbol}/flow |
Historical Workflow
Pick the core perp symbol
Start with a standard symbol such as
BTC or ETH. Do not use this route family for Spot pairs, HIP-3 prefixes, or HIP-4 outcome identifiers.Pull a bounded window
Hold one symbol, route, and UTC window constant while you inspect pagination, returned span, and request IDs.
Add only the needed families
Add candles, funding, open interest, liquidations, L4, replay, or exports only when the downstream job requires them.
Gate downstream use
Check Data quality, freshness, incidents, and request IDs before the output feeds research, alerts, dashboards, exports, or models.