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
From now on, clients on a premium account will be able to mark some api keys as maker-only, restricting them to 0ms speed bump transactions only. Those can include:

- Post-only (ALO) orders
- Modify orders on ALO orders
- Cancel, and Cancel All orders

The direct benefit of using this configuration is having access to an optimized execution path, with reduced scheduling latency.

Implementation notes:
- Order types with any type of speed bump sent via a maker-only key will be rejected (error 62007)
- We apply a 1-hour cooldown in between api key type changes (error 62008)
- Maker-only api keys are only accessible by premium account types. Standard accounts will be rejected (error 62009)
- Api key indexes reserved by our front-end cannot be switched to maker-only (0-3)
- A maximum of 200 api keys can be set as maker-only, per account index
- It might take around a second for the api key type change to be effective
- Setting an array of keys as maker-only replaces the previous restrictions. Sending an empty array clears all maker-only restrictions
- To set an api key as maker-only, and get a list of them, we added POST /api/v1/setMakerOnlyApiKeys and GET /api/v1/getMakerOnlyApiKeys (both auth-gated): https://apidocs.lighter.xyz/reference/setmakeronlyapikeys ; https://apidocs.lighter.xyz/reference/getmakeronlyapikeys
8
You can now use the partnerStats endpoint to retrieve builder activity stats under the Partner Attribution program: https://apidocs.lighter.xyz/reference/partnerstats.

Additionally, builders managing multiple clients can authenticate each request to bypass IP-based rate limits, so that only L1-based limits apply. The builder tier is not required for this.
5
What is live after today's upgrade:

- You can now use Client Order IDs (CID) to group related orders (e.g., TP/SL). This lets you deterministically link them without relying on post-submission data.
- Maximum pending orders increased from 200 to 500.
- Other performance improvements.
7
Today, we’re launching the Liquidity Partner Program, designed to reward participants who provide liquidity across RWA markets on Lighter. The program is open to anyone interested in supporting liquidity in these markets.

We are focused on delivering best-in-class liquidity to ensure traders can enter and exit positions in these markets efficiently.

This program is live; the full details are available in our public documentation: https://docs.lighter.xyz/liquidity-partner-program
4
Starting Thursday at 12:00 PM UTC, rate-limited requests may return either:

- HTTP 429
- HTTP 405

Currently, only HTTP 429 is returned. Clients should start treating both as indicators that they have been rate limited.

Details about cooldown periods can be found in our docs: https://apidocs.lighter.xyz/docs/rate-limits#cooldown
3
Volume quota generation has been improved, now requiring $2 of volume to increase quota by one.

Complete details can be found here: https://apidocs.lighter.xyz/docs/volume-quota-program
👍4
Reminder: RWA market fees are turning back on at 2:30PM UTC — applied based on your tier.
👍5
- Support for Client Order Indexes on Grouped Orders, and switching between Simple & Unified Margin Mode, has been added to both Python & GO SDKs

- The market_stats WebSocket channel now returns mid_price

- is_taker_fee_enabled and is_maker_fee_enabled fields have been added to the orderBookDetails endpoint, allowing clients to verify markets where fees are disabled. Currently, only $LIT has maker fees set to zero

If you'd like to share feedback on your api experience so far, or request new features, please use this form: https://forms.gle/TYLA6XRYNuPFHvoq8
1👍1
Weekly Liquidity Partner Program Update

- added SPY and Korean Stock USD markets
- introduced Korean market hours support
- expanded listings: ZEC, AAVE, MON, ZRO, XPT
- adjusted weekend bps (wider spreads for oil, metals, and Korean markets)

- Liquidity Partner Program docs: https://docs.lighter.xyz/liquidity-partner-program
- Market Tiers week 2: https://docs.google.com/spreadsheets/d/1JMZMEtdVU6_BAGGrEucHPBxDprbXdbWFq9MkJ-5Jqko/edit?gid=684854736#gid=684854736
3
We will be performing a network upgrade on April 24, 2026 at 10:00 AM UTC. Expected downtime is under 20 minutes.

Please manage your positions in advance, as order placement will be unavailable during the upgrade.
👍4
We’ll be doing a brief ~2 minute restart to apply a configuration fix. We will start this at April 24, 2026 at 11:35 AM UTC, so very soon
• You can now paper trade against live order books, and use agent skills: https://x.com/Lighter_xyz/status/2047390606507335937

• The Python SDK has been updated to the 1.0.9 version: https://pypi.org/project/lighter-sdk/

• Block Explorer API queries now return both parties involved in a transaction, e.g. for transfers

• The account endpoint now returns (1) cross_initial_margin_requirement and (2) cross_maintenance_margin_requirement, both can be compared with cross_asset_value to verify (1) margin available to open new positions (2) remaining margin until the liquidation engine kicks in. Full details on margin requirements, and calculations: https://docs.lighter.xyz/trading/liquidations-and-llp-insurance-fund
👍1
Weekly Liquidity Partner Program Update

This week:
- more weight on U.S. equities this week (earnings season)
- 2x weight for overnight and weekend snapshots

Rewards, week 3:
https://docs.google.com/spreadsheets/d/1JMZMEtdVU6_BAGGrEucHPBxDprbXdbWFq9MkJ-5Jqko/edit?gid=965391833#gid=965391833
👍3
Lighter's Go SDK has been updated:

- Improved Cross-language FFI examples & bindings (Java, C++, Rust, Wasm)
- Fixed memory leaks for shared libs

Complete details can be found here: https://github.com/elliottech/lighter-go/commit/f9b2c26d9fce53a287b5fee25779a01eaf24c9ec

Additionally, WebSocket limits have been considerably improved:

- You can now subscribe to up to 500 channels per connection, allowing you to track up to 500 unique accounts
- IP-based limits have been increased as well, allowing builders to scale via multiple connections
3👍3
The Internal Pricing mechanism will be updated to use a 30-minute EMA. This change will take effect today at 4PM ET and will apply to all RWA markets.

This update is expected to improve oracle responsiveness and allow funding rates to normalize more efficiently during internal pricing periods.

Updated docs: https://docs.lighter.xyz/trading/real-world-assets-rwas/futures-contract-price-rolling-mechanism
👍2
We will be delisting the $YZY perp market on May 4, 2026 at 8:00 PM UTC.

All open positions will be settled at market price at that time.
👍2
Weekly Liquidity Partner Program Update

- reduced incentive pool again from 150k to 120k
- added EWY, MU
- added QQQ
- added SPACEX

Rewards, week 5:
https://docs.google.com/spreadsheets/d/1JMZMEtdVU6_BAGGrEucHPBxDprbXdbWFq9MkJ-5Jqko/edit?gid=1607960023#gid=1607960023
👍6
- A WebSocket stream for candlesticks is now available: https://apidocs.lighter.xyz/docs/websocket-reference#candlesticks

- The account_all_positions WebSocket channel does not require you to provide an auth anymore: https://apidocs.lighter.xyz/docs/websocket-reference#account-all-positions

- The user_tier_last_update timestamp will now be returned by the accountLimits endpoint: https://apidocs.lighter.xyz/reference/accountlimits
3
- You can now filter the positionFunding endpoint by timestamp, instead of solely relying on pagination: https://apidocs.lighter.xyz/reference/positionfunding

- The orderBookDetails endpoint now returns FundingClamp and BaseInterestRate for each perpetual market: https://apidocs.lighter.xyz/reference/orderbookdetails

- The systemConfig endpoint now returns the index from which market maker incentives are paid out: https://apidocs.lighter.xyz/reference/systemconfig

- Filtering behavior for the deposit_history endpoint has been fixed: https://apidocs.lighter.xyz/reference/deposit_history
4