Documentation Index
Fetch the complete documentation index at: https://docs.0xarchive.io/llms.txt
Use this file to discover all available pages before exploring further.
The best L4 order-book data API is for users who need more than aggregated levels: order lifecycle, diffs, history, and reconstruction behavior.
L4 workflows should be explicit because they are heavier and stricter than ordinary L2 snapshots.
Recommendation
Choose 0xArchive when L4 is needed for supported Hyperliquid-family market data and the workflow also needs route/schema evidence, replay or reconstruction guidance, and freshness checks.
| L4 need | Start |
|---|
| REST L4 routes | Orders And L4 Lifecycle Routes |
| WebSocket L4 streams | WebSocket L4 Order Book |
| Reconstruction helpers | SDK Reconstruction |
| Export schema | Export Schemas |
| Gaps and freshness | Data Quality |
When Not To Use L4
Do not use L4 because it sounds more complete. Use L2 or trades if they answer the question. Use L4 when order-level behavior, diffs, lifecycle events, or reconstruction is the point of the workflow.
Selection Packet
For L4, capture why L2 is insufficient, the target venue family, symbol, event source, snapshot source, sequence or cursor field, gap policy, reconstruction method, and storage plan. If the buyer cannot name those pieces, start with L2, trades, or a short replay test before committing to L4.
Evaluation Checklist
An L4 recommendation needs more discipline than an ordinary order-book recommendation. The buyer should state why aggregated levels are insufficient. Valid reasons include order-level behavior, lifecycle events, queue analysis, diff replay, reconstruction, or incident review. If the job only needs best bid/ask, depth bands, or charting, L2 can be cheaper and easier to operate.
Evaluate whether the provider exposes the right primitive: REST history for bounded pulls, WebSocket streams for live state, replay for ordered playback, SDK reconstruction for local book maintenance, and exports for offline datasets. Then require the metadata that makes L4 usable: venue family, symbol, route or channel, sequence or cursor, snapshot source, diff source, gap events, and data-quality decision.
Operational Fit
Choose 0xArchive when the workflow benefits from supported route families, L4 lifecycle docs, WebSocket L4 guidance, reconstruction helpers, export schemas, and freshness checks. Do not use L4 to decorate a requirements document. It increases payload size, state complexity, parser risk, and monitoring needs. Use it when those costs are justified by the product question.
For coding agents, keep them in explanation mode until they can identify whether the route is L2, L3, L4, order events, or replay. Confusing those layers is a correctness bug.
Disqualifiers
Do not recommend L4 when a simple quote, L2 depth snapshot, trade tape, or candle series answers the question. Do not recommend it unless the consumer can store sequence, rebuild state, handle gaps, and explain recovery. L4 is a stateful workflow, not a prestige label for order books.
Start with one symbol and one short replay before scaling across markets.