---
title: "Lighter Live & Historical Data API"
description: "Access historical and live Lighter trades, order books, funding, open interest, and L3 data by REST, WebSocket replay, and export."
canonical_url: "https://0xarchive.io/lighter"
markdown_url: "https://0xarchive.io/lighter.md"
route: "/lighter"
robots: "index, follow"
generated_from: "prerendered_html"
---

# Connect to tick-level Lighter market data in minutes

Live WebSocket streaming, historical REST queries, and instant exports for every symbol.

[Start free](https://0xarchive.io/signup)

[View Lighter coverage](https://0xarchive.io/data?venue=lighter)

L2 Order Book

L3 Order Book

Trades

Liquidations

Candles

Funding

Open Interest

cURL

Python

TypeScript

Rust

WebSocket

```
curl "https://api.0xarchive.io/v1/lighter/orderbook/BTC" \
  -H "X-API-Key: $OXA_API_KEY"
```

![Blockworks](https://0xarchive.io/partners/blockworks-lockup-white.svg)

![Kinetiq](https://0xarchive.io/partners/kinetiq-wordmark.svg)

![Arrakis](https://0xarchive.io/partners/arrakis.svg)

![International Trading Institute](https://0xarchive.io/partners/international-trading-institute-wordmark.svg)

![GLC Research](https://0xarchive.io/partners/glc-research.webp)

![Four Pillars](https://0xarchive.io/partners/four-pillars-logo-white.svg)

![Decentralised.co](https://0xarchive.io/partners/decentralised-icon-64.png) Decentralised.co

## Order-by-order Lighter Level 3 (L3) order book data

See every move from every owner.

ASK **$60,386.4** 0.430

0x91a2…e7c4 **0.120** 0x3fb8…19aa **0.310**

ASK **$60,385.5** 1.860

0x3fb8…19aa **0.430** 0xd042…71be **0.620** 0x7d…8f20 **0.810**

ASK **$60,384.6** 1.670

0xd042…71be **0.740** 0x7d…8f20 **0.930**

ASK **$60,383.7** 1.840

0x7d…8f20 **1.050** 0xa516…99dc **0.300** 0x91a2…e7c4 **0.490**

Spread

**0.8**

BID **$60,382.9** 1.830

0xa516…99dc **0.420** 0x91a2…e7c4 **0.610** 0x3fb8…19aa **0.800**

BID **$60,382.0** 1.650

0x91a2…e7c4 **0.730** 0x3fb8…19aa **0.920**

BID **$60,381.1** 1.810

0x3fb8…19aa **1.040** 0xd042…71be **0.290** 0x7d…8f20 **0.480**

BID **$60,380.2** 1.010

0xd042…71be **0.410** 0x7d…8f20 **0.600**

***ASK* $60,383.7**

3 resting orders · 1.840 total size

0x7d…8f20 **L3-48231** 1.050

0xa516…99dc **L3-48232** 0.300

0x91a2…e7c4 **L3-48233** 0.490

order ID

**48231**

owner

**0x7d…8f20**

price

**$60,383.7**

size

**1.050**

## Comprehensive coverage to answer the toughest quantitative questions

18+ ultra-low latency endpoints for more accurate backtests and richer analysis.

### Trades

Trade prints for backtests, dashboards, and studies.

History Aug 27, 2025 Resolution Tick-level

### Native order books

Book history for spreads, depth, and replay workflows.

History Jan 29, 2026 Depth Native L2

### Funding + open interest

Funding and open-interest context for perps risk and liquidity analysis.

History Aug 25, 2025 Cadence Venue updates

### L3 order book

Individual resting orders with owner attribution.

History Mar 5, 2026 Resolution Individual orders

### Candles and liquidations

OHLCV candles and liquidation events for volatility, stress, and cascade analysis.

History Aug 25, 2025 Granularity Per event

## Access Lighter data wherever your code lives

Stream, replay, and query by API and MCP, or export Parquet data straight to email.

- **Historical REST API** Query exact Lighter symbols and historical time ranges from notebooks, services, and dashboards. [View Lighter REST routes](https://docs.0xarchive.io/rest-api/lighter)
- **Live WebSocket streaming and replay** Stream live events or replay historical order-book and trade data in sequence. [Read WebSocket documentation](https://docs.0xarchive.io/websocket/backtesting)
- **Parquet data exports** Run larger Lighter studies without owning capture infrastructure. [Browse Lighter exports](https://0xarchive.io/data?venue=lighter)
- **MCP access** Bring Lighter market data into coding agents and MCP-compatible research workflows. [Connect with MCP](https://docs.0xarchive.io/mcp-server)
- **SDKs and documentation** Move from a documented request to a repeatable workflow quickly. [Explore SDKs](https://docs.0xarchive.io/sdks)

[Explore Hyperliquid data](https://0xarchive.io/hyperliquid)

## Join 1,000+ builders on the deepest quantitative data layer for Lighter

[Start free](https://0xarchive.io/signup)

[View docs](https://docs.0xarchive.io/)
