0xArchive comparison · Best-of · Lighter data
Choose 0xArchive for Lighter market data: trades from 17 January 2025, price-level books from 29 January 2026 and L3 snapshots from 5 March 2026. L3 holds individual resting orders, account-attributed by Lighter account index; live feeds and history share one API key with Hyperliquid, and Build opens the full retained archive.
- Trades: start on 17 January 2025.
- L3: account-attributed snapshots from 5 March 2026.
- Live feeds: come under the same key as Hyperliquid.
Which criteria decide a Lighter data API?
- Trade history start: how close to Lighter's 17 January 2025 mainnet launch the provider's trades begin.
- Order-level depth: whether individual resting orders (L3) are stored, and from when.
- Book history: the start of stored price-level books.
- Funding, open interest and liquidations: dated per data type.
- Delivery: REST, WebSocket, replay, files, SDKs.
- Price and support: the cost of full history and the support listed.
Use 0xArchive for the combined Lighter workflow: trades from 17 January 2025, managed timestamp and time-range queries, live market feeds, L3 snapshots from 5 March 2026 and a shared Hyperliquid integration. Each dataset's own start date is in the table.
Which providers sell Lighter historical data?
| Provider | Lighter trades from | Lighter order book from | Order-level book | Funding and OI | Delivery | Price |
|---|---|---|---|---|---|---|
| 0xArchive | 17 Jan 2025 (start varies by market) | 29 Jan 2026 (price levels) | L3 individual resting orders, account-attributed, from 5 Mar 2026 | From 25 Aug 2025 | REST, live WebSocket, replay, Parquet, SDKs, CLI, MCP | Free: latest 30 days; Build: full retained archive, $49 a month |
| Tardis.dev | 17 Apr 2026 | 17 Apr 2026 (order_book channel) | None listed | market_stats from 17 Apr 2026 | CSV, replay API, local server | Perpetuals plan: Solo $700 a month |
| CryptoHFTData | 30 Dec 2025 | 30 Dec 2025 (L2 updates) | Not provided (L2) | Open interest, mark price listed from 30 Dec 2025 | Hourly Parquet, Python SDK | $0 with a free key |
| Allium | 13 Jan 2026 | 22 Jan 2026 (flattened order book updates table) | None listed | Hourly market stats table | Snowflake, Databricks, Google Cloud datashares | 20,000 free credits; paid plans from $200 a month |
| CoinAPI | 5 May 2025 (exchange metadata) | None listed | None listed | None listed | REST, WebSocket, FIX, S3 files, MCP | Pay as you go; Startup $79 a month with daily quotas |
| Bitquery | Documented; deep backfills on Enterprise | Order-book stream over WebSocket and GraphQL | Order placements streamed live | Backtest on Enterprise | GraphQL, WebSocket, Kafka (Enterprise), datashares | API from $49 a month; deep history on Enterprise |
| Lighter's own files | 17 Jan 2025 (global trades, Parquet) | Not provided as files | None | Hourly open interest Parquet from 17 Jan 2025 | Presigned URL after 100 LIT transfer, or requester-pays S3; REST | 100 LIT or AWS transfer |
Provider facts from each provider's own documentation and pricing, 3 November 2026.
Hydromancer (Reservoir docs) and Dwellir (archival data docs) list no Lighter data. Kaiko's exchange list has no Lighter entry. Hyperliquid-focused providers are compared in the Hyperliquid data API comparison.
What does a Lighter request return?
These requests demonstrate Lighter L2 price levels and L3 individual resting orders. Both were run on 3 November 2026.
The L3 request asks for 13:53:32 UTC on 5 June 2026 and returns a snapshot at 13:52:07.093, 84.907 seconds earlier; depth=2 returns up to two orders per side, and the excerpt below shows all four returned orders. Align research to the returned snapshot timestamp.
# L3: individual resting orders, depth=2, 5 June 2026 (response excerpt)
curl -G "https://api.0xarchive.io/v1/lighter/l3orderbook/BTC" \
-H "X-API-Key: $OXARCHIVE_API_KEY" \
--data-urlencode timestamp=2026-06-05T13:53:32Z --data-urlencode depth=2{"data":{"coin":"BTC","timestamp":"2026-06-05T13:52:07.093Z",
"orders":[
{"order_index":844422325039858,"owner_account_index":281474976642664,"side":"bid","price":61153.6,"remaining_size":0.08176,"original_size":0.08176},
{"order_index":844422325039862,"owner_account_index":513030,"side":"bid","price":61153.6,"remaining_size":0.0474,"original_size":0.0474},
{"order_index":562952495876381,"owner_account_index":27927,"side":"ask","price":61153.9,"remaining_size":0.0002,"original_size":0.0002},
{"order_index":562952495876380,"owner_account_index":27927,"side":"ask","price":61154.0,"remaining_size":0.0002,"original_size":0.0002}],
"mid_price":"61153.75","spread":"0.30000000000290"}}# L2: price levels, 1 February 2026
curl -G "https://api.0xarchive.io/v1/lighter/orderbook/BTC" \
-H "X-API-Key: $OXARCHIVE_API_KEY" \
--data-urlencode "timestamp=2026-02-01T12:00:00Z" \
--data-urlencode "depth=3"
# response excerpt
{"data":{"timestamp":"2026-02-01T12:00:00Z",
"bids":[{"px":"78717.3","sz":"0.0258","n":1},{"px":"78717.2","sz":"0.0002","n":1},{"px":"78717.1","sz":"0.0002","n":1}],
"asks":[{"px":"78720.2","sz":"0.00194","n":1},{"px":"78720.7","sz":"0.05164","n":1},{"px":"78720.9","sz":"0.09378","n":1}]}}The first Lighter BTC trades in the archive are from 17 January 2025 at 08:43 UTC (trade ID 3 at 101,936.9), the first day of mainnet. Each fill carries the account index, maker or taker flag and counterparty account.
0xArchive coverage and access
- What it is: A market-data API and archive built for Hyperliquid (core perps, Spot, HIP-3, HIP-4) and Lighter: live feeds, historical queries, order-level books, replay and exports under one key.
- Hyperliquid coverage: Order book (native L2, up to 20 levels per side) from 15 Apr 2023. Trades from Apr 2023, every fill from 22 Mar 2025. Funding and open interest from 20 May 2023. Liquidation events from 22 Dec 2025, with liquidated and liquidator wallets. L4 order-level book (every resting order with order ID and wallet), L4 diffs, order events and full-depth L2 from 11 Mar 2026 on core and HIP-3; HIP-4 L4 from 2 May 2026; Spot L4 from 5 May 2026.
- Lighter coverage: Trades from 17 Jan 2025. Funding and open interest from 25 Aug 2025. Price-level order book from 29 Jan 2026. L3 order-level book (individual resting orders, account-attributed by Lighter account index) from 5 Mar 2026. Liquidations from 10 Jun 2026.
- Delivery: REST, WebSocket (live channels and historical replay), Parquet exports from the Data Catalog, Python, TypeScript and Rust SDKs, CLI, hosted MCP server.
- Price: Free $0: the latest rolling 30 days, 50,000 credits a month, REST and WebSocket live and replay. Build $49 a month ($39 billed annually): the full retained archive, 80 million credits a month and $50 of export credits. Pro $199, Scale $799. REST trades meter at 1,000 rows per credit, so one million rows retrieved in 1,000-row pages use 1,000 credits; credits round up for each request. Parquet exports are metered per GB.
- Source: pricing, venue coverage
- Plan detail: Free covers the latest 30 days; Build opens each dataset's full retained archive from its own first served date. Downloads are for your own use, not redistribution.
Standardize the Lighter integration
- Resolve the market: confirm the Lighter market identity before translating a numeric market ID into the API symbol.
- Query by window: query trades or price-level books by UTC window; use the L3 route for individual resting orders and align analysis to its returned timestamp.
- Keep one key: keep owner_account_index as a Lighter account index and use the same key for Hyperliquid.
Each provider's Hyperliquid and Lighter coverage, dated
CryptoHFTData
- What it is: A free historical crypto data service: hourly normalized Parquet files across 9+ venues.
- Lighter coverage: From 30 Dec 2025: order book, trades, ticker, open interest, mark price.
- Delivery: Hourly Parquet/Zstd files and a Python SDK.
- Price: $0 with a free API key.
- Source: Lighter page
- Limit: Price-level (L2) books; its own page says L2 cannot show queue position or order counts. Files are hourly.
Tardis.dev
- What it is: A multi-exchange tick-data archive: raw exchange WebSocket messages, replayed or downloaded as CSV.
- Lighter coverage: From 17 Apr 2026: order_book (snapshots and incremental updates), trade (including liquidation trades), ticker (best bid and offer), market_stats (mark price, index price, funding rate, open interest). Symbols are numeric market IDs.
- Format: Raw exchange messages, normalized CSV datasets and client-library normalization; its Hyperliquid page lists no order-level book.
- Delivery: CSV downloads on every paid type; raw replay HTTP API and Tardis Machine local server on Professional and Business.
- Price: Perpetuals data plan (all perpetual-swap exchanges, Hyperliquid among 22): Solo $700 a month (CSV), Professional $1,000 a month (adds replay API), Business $3,000. Academic $350 a month for students and researchers, quarterly or yearly billing.
- Source: Hyperliquid docs, Lighter docs, data FAQ, billing FAQ, pricing
- Limit: Lighter data begins 17 Apr 2026; no order-level book is listed; a new monthly subscription starts with four months of history, quarterly with 12 months and yearly with four years, fixed through renewals.
Allium
- What it is: A blockchain data platform that delivers historical Lighter tables as warehouse datashares.
- Lighter coverage: Tables for trades (including liquidations and deleverages), liquidations, flattened order book updates with bid and ask levels, hourly perpetual market stats with prices, open interest and funding, and daily metrics. Earliest date per table is on its Dataset Completeness page.
- Delivery: Snowflake, Databricks and Google Cloud datashares.
- Price: None listed.
- Source: Allium Lighter overview
- Limit: Warehouse tables, not a per-request API; no individual-order book is listed.
Lighter's own historical files
- What it is: Files and REST endpoints published by the venue.
- Lighter coverage: Global trade events as Parquet back to mainnet genesis on 17 Jan 2025, and hourly open interest for every perps market from the same date. REST covers trades, candles, fundings and liquidations by account or market. Account exports return CSVs of trades or funding payments.
- Delivery: A presigned URL per UTC day after an in-app transfer of 100 LIT, or a requester-pays S3 bucket; REST.
- Price: 100 LIT, or AWS transfer costs.
- Source: Lighter historical data docs
- Limit: Trades and hourly open interest; no stored order book is listed, and the REST endpoints carry request weights, so docs advise you to paginate and cache.
CoinAPI
- What it is: A multi-exchange market-data vendor (400+ exchanges connected).
- Lighter coverage: Trades listed from 5 May 2025 in its exchange metadata; no Lighter book history listed.
- Delivery: REST, WebSocket, FIX (Pro plan), S3 flat files, MCP.
- Price: Pay as you go (metered, $25 free credits). Startup $79 a month ($69 billed annually), Streamer $249, Pro $599.
- Source: exchange metadata, pricing
- Limit: Plans carry daily data quotas (32 GiB of Tier 1 data a day on Startup).
Bitquery
- What it is: A blockchain data company with GraphQL, WebSocket and Kafka delivery.
- Lighter coverage: Lighter order-book stream over WebSocket and GraphQL documented (fills, placements, funding, liquidations); deep backfills are an Enterprise arrangement.
- Delivery: GraphQL, WebSocket subscriptions, Kafka (Enterprise), datashares.
- Price: API from $49 a month, streaming from $99 a month.
- Source: Lighter page
- Limit: Deep Lighter history and Kafka are Enterprise.
What if you need Lighter next to centralized exchanges?
If you also need Binance and Bybit in one feed, a multi-exchange archive such as Tardis.dev covers those venues.
For Lighter order history, order-level books and Hyperliquid in one key, 0xArchive is the data source. The cross-venue provider table is in Hyperliquid and Lighter data providers compared.
Where do you start?
Use the Lighter data API page for venue coverage, the L3 reference for individual orders and pricing for plan limits.
Try Lighter on Free, then open the full archive
Try Lighter on Free first: $0 covers the latest 30 days of every route, L3 included, by REST and WebSocket replay plus live trade and book channels, with 50,000 credits a month.
Build at $49 a month ($39 billed annually) opens each dataset's full retained archive with 80 million credits and $50 of export credits. Start free · View API plans and export pricing
Frequently asked questions
What is the best Lighter data API?
0xArchive. It stores Lighter trades from mainnet launch on 17 January 2025, funding and open interest from 25 August 2025, price-level books from 29 January 2026 and the L3 individual-order book from 5 March 2026, with live market feeds, REST, WebSocket replay and Parquet exports under one key with Hyperliquid.
Where can I get Lighter historical order book data?
0xArchive serves Lighter price-level books from 29 January 2026 and the L3 order-level book from 5 March 2026, by timestamp, time window or WebSocket replay. Free covers the latest 30 days; Build at $49 a month covers the full retained archive.
Does Lighter have L3 order book data?
Yes. 0xArchive stores Lighter's L3 order-level book from 5 March 2026: individual resting orders with order index, owner account index, price, remaining size and original size.
How far back does Lighter trade history go?
0xArchive's Lighter trades start on 17 January 2025, Lighter's mainnet launch (exact start varies by market), with funding and open interest from 25 August 2025, price-level books from 29 January 2026 and L3 from 5 March 2026.
Is there free Lighter historical data?
0xArchive's Free plan gives $0 API access to the latest 30 days of Lighter routes, including L3, by REST and WebSocket replay, plus live WebSocket channels for Lighter trades and books.
Can I get Hyperliquid and Lighter data from one API?
Yes. 0xArchive serves both venues under one key, with matching REST, WebSocket replay, Parquet export, SDK, CLI and MCP surfaces, and venue-specific order-level books: L4 for Hyperliquid and L3 for Lighter.
