Lighter.xyz API streaming the order-book firehose
Lighter is a zero-knowledge order-book perp DEX. Bitquery streams every fill, order placement, funding settlement and liquidation across BTC, ETH and SOL perps — over WebSocket and GraphQL (fixed-cost Kafka on Enterprise). Subscribe to the live tape or query history (live window on self-service; archive add-ons or Enterprise for deep backfills), with no node to run.
Pick your latency. Same Lighter data underneath.
The WebSocket d-stream is the fastest feed we ship for Lighter — fills and order events the instant they settle. Step down to GraphQL or Datashares when history or bulk volume matters; fixed-cost Kafka and deep archive are Enterprise.
GraphQL subscriptions over the Lighter order-book firehose — fills, placements and liquidations the instant they settle.
Enterprise fixed-cost topics with offset replay — never miss a fill, backfill cleanly on reconnect.
The same schema for historical reads — backtest funding, OI and liquidations from day one.
Full Lighter trade and order history delivered to your warehouse — Snowflake, BigQuery, S3.
The whole Lighter order book, in one stream.
One subscription spans the entire Lighter perp DEX — trades, order book, funding, liquidations, positions and open interest — filterable by market, side or wallet.
Running your own Lighter feed is a second full-time job.
Polling the Lighter API means rate limits, reconnect handling and stitching the order book back together yourself. Bitquery hands you decoded events on one stream.
What teams ship on Lighter streams.
Every one is a filter on the same firehose — subscribe over WebSocket and react in milliseconds.
Market-making feed
Stream every fill and order-book update across BTC, ETH and SOL perps to quote tighter and manage inventory with sub-100ms reaction time.
Read the docs →Liquidation tracker
Catch forced-close events the instant they settle — side, notional and liquidation price — to front-run cascades or feed a risk dashboard.
Read the docs →Order-flow analytics
Pipe fills, placements and funding into your warehouse with offset replay for live dashboards and trader analytics that never drop an event.
Read the docs →What teams say about our data
"We did a thorough search of the market for the best onchain data. Bitquery came out on top — and now powers all live prices across Nansen. We don't think of them as a vendor. They're a partner."
Bitquery does the hard work of parsing blockchain transaction data into a usable form so that we don't have to. We use their interface to diagnose issues with complex transactions and their analytics as a starting point for our own.
They proved they had the technology to deliver sophisticated data solutions. We extended our support through the Binance X fellowship — building an open-source library of visualization widgets on their blockchain data.
The complex raw data is available at different levels of detail and from different viewpoints — whether we need simple aggregated transfers or parameters for failed contract calls. The support is responsive, friendly and quick.
Partnering with Bitquery has been highly cost-effective — leveraging their established infrastructure rather than building our own let us rapidly expand our blockchain support and reach a much broader segment of on-chain users.
Bitquery's products are very intuitive and easy to use. We currently use their products to obtain DEX-related trading and liquidity information, which saves us the manpower and tedious technical details required to develop our own system. Their excellent technical team deserves special praise; they provide near-24/7 support and resolve issues quickly. I greatly appreciate their products and work ethic.
Bitquery provides the infrastructure we rely on every day. Fast, reliable, and comprehensive across the chains that matter to our business.
Pricing
Start free. Scale when you ship.
Self-service plans cover 9 core chains with flat-rate add-ons — no surprise invoices. Every paid plan starts with a 7-day free trial.
Personal
For side projects, learning & testing. Personal use only — no commercial use.
billed annually ($468/yr) · save 20%
- 100k API points / mo ≈ 20k calls
- 30 req/min · 3 simultaneous
- Full GraphQL & REST schema
- Real-time data · 9 core chains 30-day trades · 4–8h on-chain
- API only — no streams
- Community support
Pro
For trading bots, alerts & dashboards on live DEX and price data.
billed annually ($948/yr) · save 20%
- 1M API points / mo ≈ 200k calls
- 90 req/min · 6 simultaneous
- 100k stream-minutes + 5 GB
- 100 concurrent streams
- Trading-data streams live DEX & prices
- Commercial-use license
- Real-time data · 9 core chains 30-day trades · 4–8h on-chain
- Community + Telegram support
Scale
For production real-time apps — every stream, scale on demand.
billed annually ($2,868/yr) · save 20%
- 5M API points / mo ≈ 1M calls
- 240 req/min · 12 simultaneous
- 2M stream-minutes + 50 GB
- 1,000 concurrent streams
- All streams onchain + mempool
- Commercial-use license
- Dedicated Slack support
Enterprise
Full history, unlimited streams & bulk delivery at scale.
flat platform fee — no metering
- Complete history · 40+ chains
- Unlimited WebSocket streaming no stream-min or GB limit
- Custom points & rate limits
- Kafka fixed-cost · S3 bulk export
- Coinpath® money flow
- SLA · SSO · dedicated support
Flat-rate add-ons on every open plan: $40 / 1M points · $20 / 100k stream-minutes · $8 / GB (bought yearly · save 20%) — same price at any volume, billed only for what you add.
Historical data is sold separately: self-service plans are real-time only. Per-chain archive packs start at $100/mo ($70/mo billed yearly); transfers, balances & holders are $150/mo ($120/mo yearly). See historical add-ons →
Lighter.xyz data, answered.
What is the Lighter.xyz API?
How low is the latency?
Which markets and data are covered?
Can I backtest funding and open interest?
Do I need to run a node or poll the Lighter API?
How do I get started?
Stream Lighter.xyz in milliseconds.
7-day free trial — every market decoded, no node to run. Subscribe to the order-book firehose and react to the next fill.