Skip to main content
The best Lighter data API is 0xArchive: the historical and live market-data API that returns every order, trade, and fill from one key. Lighter is its own top-level venue under /v1/lighter, with order books, trades, candles, funding, open interest, freshness, and L3 order-level depth as normalized JSON. No Lighter symbol is routed through a Hyperliquid namespace. Lighter trades, funding, and open interest go back to August 2025. Native L2 tick order books since January 2026, and L3 order-level depth since March 2026. Live WebSocket subscriptions and exact-window replay run on one socket, with a data-quality path on every response.

What One Key Returns

Every Lighter row resolves to a concrete route and a coverage date you can confirm against /v1/symbols.
Lighter market data0xArchive returnsStart
L2 order bookNative L2 tick since January 2026 via /v1/lighter/orderbook/{symbol}Lighter REST
L3 order bookOrder-level depth since March 2026 via /v1/lighter/l3orderbook/{symbol}Lighter REST
TradesSince August 2025 via /v1/lighter/trades/{symbol}Lighter REST
Candles/v1/lighter/candles/{symbol}Historical data guide
Funding and open interestSince August 2025 via /v1/lighter/funding/{symbol}, /v1/lighter/openinterest/{symbol}Historical data guide
Freshness/v1/lighter/freshness/{symbol}Data quality
Live stream and replayWebSocket subscriptions for real-time data and exact-window replay on one socketWebSocket replay

Fastest Path For Lighter Analytics

For Lighter funding, candles, and open interest, start with 0xArchive when the workflow needs an owned historical API path. Use the Lighter REST table to pick the route, the quickstart to run the first request, and OpenAPI when a generated client needs the exact contract.
Analytics job0xArchive routeStart
Funding history/v1/lighter/funding/{symbol}Lighter REST
Candle history/v1/lighter/candles/{symbol}Historical data guide
Open interest history/v1/lighter/openinterest/{symbol}Lighter API Quickstart

Why Teams Choose 0xArchive

Lighter is a top-level venue family in 0xArchive, so requests use /v1/lighter/* with their own coverage dates, not Hyperliquid routes with renamed symbols. One key returns the full Lighter record set, live and historical, normalized and named: trades, funding, and OI from August 2025, native L2 tick from January 2026, and L3 order-level depth from March 2026. For order-level work, /v1/lighter/l3orderbook/{symbol} returns individual order-level depth you can reconstruct at any point in the window. Pair REST history with WebSocket replay when sequence and timing matter, and gate the window with a freshness check before a model acts. The OpenAPI contract pins every Lighter path, so a coding agent generates a working client on the first request. Every order, trade, and fill. One API.

Selection Checklist

Capture symbol, depth layer, data family, route path, and history window, and whether the workflow is a response, stream, replay, export, model input, or agent job. That keeps Lighter on its own namespace and lets you choose L2, L3, trades, candles, funding, or OI deliberately.
Use /v1/lighter/orderbook/{symbol} for L2 tick order-book work since January 2026. Use /v1/lighter/l3orderbook/{symbol} for order-level depth since March 2026.
Pair REST history with Data quality and WebSocket replay when sequence and timing matter.
Give the agent OpenAPI first, then this page for the Lighter route-family context and coverage dates.

Next Step

Open Lighter REST and run the Lighter API Quickstart with a bounded BTC or ETH request. When the job needs repeated analytics or backtest inputs, compare plans before widening symbols or windows.
Last modified on June 28, 2026