Lighter API/MM Updates
1.02K subscribers
1 photo
1 video
78 links
Official Channel for API and Market-maker updates on Lighter
Download Telegram
Lighter API/MM Updates
re: WS Batching Orderbook updates are now coming in periods of 50ms. Before this, we were sending every update. The logic stays the same. Previously, we sent order book diffs on every nonce update.
We will add a begin_nonce field to order book WebSocket updates

On subscription, you will receive an update with a nonce and begin_nonce = 0. The nonce represents the last nonce included in that update. To ensure your local order book stays consistent, verify that the begin_nonce of each update matches the nonce from the previous update

This will be pushed in the next few hours. We’ll update you here once it’s live
👍4
We have tightened rate limits for POST requests to HTTP endpoints (except sendTx and sendTxBatch). You can find the updated weights here: https://apidocs.lighter.xyz/docs/rate-limits
👍2
We will deprecate the endpoint below on December 25, 2025 at 4:00 PM UTC.

/api/v1/block

As an alternative, you can use the blocks endpoint from the explorer API: https://apidocs.lighter.xyz/reference/get_blocks-blockid
👍1
We're doing a network upgrade on December 26, 2025 at 12:00 PM UTC. Downtime should be under 15 minutes. Manage your positions in advance, orders will not get placed during downtime.
We will deprecate the endpoint below on December 29, 2025 at 4:00 PM UTC.

/api/v1/candlesticks

As an alternative (same weight), you can use the candles endpoint: https://apidocs.lighter.xyz/reference/candles.

Query parameters and values returned don’t change, but variables in the response have a different name, and we will omit variables when they are zero.
We're doing a network upgrade on December 28, 2025 at 9:30 PM UTC. Downtime should be under 10 minutes. Manage your positions in advance, orders will not get placed during downtime.
1
On December 29, 2025 at 4 PM UTC we will start requiring authentication to access the account_all_positions websocket channel, except when specifying a public pool as account index.

See details here: https://apidocs.lighter.xyz/docs/websocket-reference#account-all-positions
👍1
We're doing a network upgrade on January 4, 2026 at 9:30 PM UTC. Downtime should be under 10 minutes. Manage your positions in advance, orders will not get placed during downtime.
👍1
Premium accounts: Volume Quota Updates

- Previously: 10 USDC volume = +1 volume quota
- Now: 7 USDC volume = +1 volume quota

See more details here: https://apidocs.lighter.xyz/docs/volume-quota-program
👍2
We're doing a network upgrade on January 15, 2026 at 12:00 PM UTC. Downtime should be under 10 minutes. Manage your positions in advance, orders will not get placed during downtime.
We're doing a network upgrade on January 28th at 9:30PM UTC.  Downtime should be under 15 minutes. Manage your positions in advance, orders will not get placed during downtime.
3
- The Python SDK has been updated: https://github.com/elliottech/lighter-python/commit/54d3582ff64571aa7230de1f682188d32fa38561

- API Docs have been revamped: https://apidocs.lighter.xyz/docs/get-started

- The exchangeMetrics endpoint (the same used by the Stats page) now allows you to query historical values for the exchange activity: https://apidocs.lighter.xyz/reference/exchangemetrics

- Rate Limits for the block explorer endpoints have been increased, from 15 to 90 weighted requests per minute: https://apidocs.lighter.xyz/docs/rate-limits

- To access read-only data via Websocket e.g. if you're connecting from a restricted region (⁠general-info), add ?readonly=true to the WS URL
👍32
- The Rate Limits page has been revamped, adding some details on the cooldown period: https://apidocs.lighter.xyz/docs/rate-limits

- Fees have been updated according to the new staking tiers: https://apidocs.lighter.xyz/docs/account-types

- The accountLimits endpoint now returns details on the fee tier you’re in: https://apidocs.lighter.xyz/reference/accountlimits

- Latency for cancels on a standard account has been changed to 200ms

- More error codes have been added here: https://apidocs.lighter.xyz/docs/data-structures-constants-and-errors

- The export endpoint now allows users to query custom timeframes up to 3 months, with plans to allow up to 12 months and to aggregate fills soon. Additionally, spot trades now use buy/sell instead of long/short: https://apidocs.lighter.xyz/reference/export
7
We will be performing a network upgrade on February 12th, 2026 at 10:00 PM UTC. Expected downtime is under 15 minutes. Please manage your positions in advance, as order placement will be unavailable during the upgrade.
👍4
Following the funding rates rebates and unified trading account updates, we have added new fields to our api responses:

- discount field in positionFunding, expressed in USDC

- funding_fee_discounts_enabled field for each asset on orderBookDetails

- total_discount field to the WS/AccountAllPositions channel, expressed in USDC

- account_trading_mode field in the account and accountsByL1Address endpoints (simple mode:0, unified mode:1)
1
gm

$XAU and $XAG are now available under cross margin and function like standard perpetual markets. They are quoted by LLP and are subject to the platform’s standard liquidation mechanics. Additional RWA markets will transition to cross margin in the coming days.
👍6
We will be performing a network upgrade on February 16th, 2026 at 10:00 PM UTC. Expected downtime is under 15 minutes. Please manage your positions in advance, as order placement will be unavailable during the upgrade.

We will be deploying new LLP strategies -- more on this after the upgrade.
Recent updates:

- A new WebSocket channel for BBO data has been added: https://apidocs.lighter.xyz/docs/websocket-reference#best-bid-and-offer-bbo
- The account_trading_mode field has been added to the user_stats WebSocket channel
5
Recent updates:

- The exchangeMetrics endpoint now supports a new tps parameter, which returns transactions per seconds on lighter's app-chain for all available resolutions
- The export endpoint now allows users to query trades in custom timeframes up to 12 months, or 1m events
- Added more details on tx types subject to volume quota requirements: https://apidocs.lighter.xyz/docs/volume-quota-program
- Max connections per minute via WebSocket have been increased to 80
👍4
The market_stats/all and spot_market_stats/all WebSocket channels will start sending updates every 50ms.

This change will take effect on February 25, 2026 at 11:00 AM UTC.

The behavior when filtering for individual markets will not change.
👍2