Skip to main content
Lit Hub Accelerate Partner

Lighter market data API for historical and real-time data

See the accounts behind the book. Account-attributed L3 on mainnet, maker/taker fills and public positions. Plus Robinhood Chain market data.

curl "https://api.0xarchive.io/v1/lighter/orderbook/BTC" \
  -H "X-API-Key: $OXA_API_KEY"
BlockworksKinetiqArrakisInternational Trading InstituteGLC ResearchFour PillarsDecentralised.co

Lighter L3 order book snapshots

Resting orders with order and account indexes. Up to 250 orders per side.

OpenAPI reference
ASK $60,383.73 resting orders · 1.840 total size
order_index562953074779980
owner_account_index281474976710657
price$60,383.7
remaining_size1.050

Comprehensive coverage to answer the toughest quantitative questions

Lighter mainnet fill history from January 2025. Account-attributed L3 from March 2026.

Open Terminal

Trades

Both sides of every fill. Follow both sides of the trade. Canonical Lighter fills include account and counterparty IDs, maker/taker attribution, fees, realized PnL and the position before and after the fill.

History from
Jan 2025
Resolution
Per fill · maker + taker

Native L2 order book

Tick-level aggregated books with checkpoint and delta history for spread, impact, replay, and depth analysis.

History from
Jan 2026
Resolution
Tick-level
Depth
All levels

Funding + open interest

Raw funding rate, open interest, index price, and mark price for basis, carry, and perpetuals risk analysis.

History from
Aug 2025
Resolution
~10 sec updates

L3 order book

Order-level snapshots with price, remaining_size, order_index, and owner_account_index fields.

L3 guide

History from
Mar 2026
Resolution
Individual resting orders
Depth
Up to 250 orders per side

Access Lighter data wherever your code lives

Stream and query current data, replay stored history, and use MCP, or export Parquet data straight to email.

  • Current and historical REST API

    Query current snapshots and historical time ranges for exact Lighter symbols from notebooks, services, and dashboards.

    View Lighter REST routes
  • Real-time WebSocket streaming and replay

    Stream live order books, trades, funding, and open interest, or replay stored history over WebSocket. Candles and L3 order-level books are replay-only.

    Read WebSocket documentation
  • Download Lighter historical data

    Download a fixed BTC sample now, with no key: 74 fills from August 10, 2026, with maker/taker attribution and account indexes, or the full Lighter sample bundle with trades, L2 book, L3 book, candles, funding and open interest. For your own symbol and UTC range, choose a market, select datasets and dates, and review a quote for compressed Parquet files. Pick the deployment first. Lighter mainnet and Lighter on Robinhood Chain are separate markets with separate account indexes.

    Browse Lighter exports
  • MCP access

    Bring Lighter market data into coding agents and MCP-compatible research workflows.

    Connect with MCP
  • SDKs and documentation

    Move from a documented request to a repeatable workflow quickly.

    Explore SDKs

FAQ

Lighter includes mainnet markets across several asset categories and a separate Robinhood Chain deployment. Mainnet has L2 books, trades, funding and open interest for perps, candles, public positions and L3 individual-order snapshots. Robinhood Chain uses rh-lighter and does not inherit mainnet L3 availability; Spot has no perpetual funding or OI.

Join builders researching Hyperliquid and Lighter with 0xArchive. The deepest quantitative data layer for Lighter: order-level depth, attributed activity and historical positions.