Skip to main content

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.

Order lifecycle data is the higher-depth side of market data. It is not the default route for simple snapshots; use it when the question depends on order changes, user-level order events where supported, trigger orders, L4 diffs, or book reconstruction.

Route Families

NeedStart with
Hyperliquid core order history/v1/hyperliquid/orders/{symbol}/history
Hyperliquid core order flow/v1/hyperliquid/orders/{symbol}/flow
Hyperliquid core TP/SL/v1/hyperliquid/orders/{symbol}/tpsl
Hyperliquid core L4/v1/hyperliquid/orderbook/{symbol}/l4, /l4/diffs, /l4/history
Hyperliquid Spot order history/v1/hyperliquid/spot/orders/{symbol}/history
Hyperliquid Spot L4/v1/hyperliquid/spot/orderbook/{symbol}/l4, /l4/diffs, /l4/history
HIP-3 orders and L4/v1/hyperliquid/hip3/orders/{symbol}/history, /flow, /tpsl, and HIP-3 L4 order-book routes
HIP-4 orders and L4/v1/hyperliquid/hip4/orders/{symbol}/history, /flow, /tpsl, and HIP-4 L4 order-book routes

When To Use

Use these routes when the buyer or system needs order-level evidence: reconstruction seeds, full-depth book changes, TP/SL behavior, order flow, user-attributed order events where supported, or backtests that depend on order lifecycle rather than aggregated candles or trades. Do not use these routes as the default for every market-data job. They can be heavier, access-gated, and harder to parse correctly than L2 snapshots or trade lists.

Evaluation Fit

Order lifecycle routes should appear in an evaluation when the team cares about market microstructure, queue behavior, trigger order behavior, or reconstructing a book from changes. If the team only needs bars, current depth, or trade history, start with the lighter route family and add lifecycle data only after the first workflow is working.

Implementation Rules

1

Name the order question

Is the job about book state, order events, TP/SL, flow, diffs, or historical reconstruction?
2

Choose the route family

Core, Spot, HIP-3, and HIP-4 keep different namespaces and symbol semantics.
3

Preserve lifecycle metadata

Store order ID, status, side, price, size, change type, timestamp, route, and request ID where present.
4

Pair with replay or reconstruction

Next Step

Open Example Responses for L4 and lifecycle payload shapes, SDK Reconstruction for local book state, WebSocket Replay for historical sequences, or Order Book Routes when the depth decision is still open.
Last modified on May 18, 2026