Recent updates:
- The
- The
- 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
- 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
This change will take effect on February 25, 2026 at 11:00 AM UTC.
The behavior when filtering for individual markets will not change.
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
Recent updates:
- You can now retrieve realized PnL for both perps and spot positions using the
- You can now track the average entry price for spot assets using the
- You can now retrieve realized PnL for both perps and spot positions using the
trades endpoint, via bid_account_pnl (only perps) and ask_account_pnl. Only the PnL for the queried account index will be displayed.- You can now track the average entry price for spot assets using the
account_spot_avg_entry_prices WebSocket channel: https://apidocs.lighter.xyz/docs/websocket-reference#average-entry-pricesπ4
re: $ARC
Please see a detailed breakdown of today here: https://x.com/Lighter_xyz/status/2026823829260054705?s=20
Please see a detailed breakdown of today here: https://x.com/Lighter_xyz/status/2026823829260054705?s=20
X (formerly Twitter)
Lighter (@Lighter_xyz) on X
We had the first battle test of LLP Strategies in the last several hours. TLDR: it worked as expected and protected LLP holders as well as traders. Deep dive in this thread.
The Python SDK has been updated to the 1.0.4 version. Main changes include:
- New endpoints are now supported
- Fixed a memory leak issue
- Support market orders using quote amount
- Fixed order book updates for the WebSocket client
Commits can be found here: https://github.com/elliottech/lighter-python/commits/main/
The SDK is also available on PyPI: https://pypi.org/project/lighter-sdk/1.0.4/
- New endpoints are now supported
- Fixed a memory leak issue
- Support market orders using quote amount
- Fixed order book updates for the WebSocket client
Commits can be found here: https://github.com/elliottech/lighter-python/commits/main/
The SDK is also available on PyPI: https://pypi.org/project/lighter-sdk/1.0.4/
π2
Update re: Volume Quota
Going forward, only order-related transactions will count toward your volume quota consumption. All other transaction types will have separate rate limits and will no longer consume quota. The following transaction types will continue to count toward volume quota:
Going forward, only order-related transactions will count toward your volume quota consumption. All other transaction types will have separate rate limits and will no longer consume quota. The following transaction types will continue to count toward volume quota:
L2CreateOrderL2CancelAllOrdersL2ModifyOrderL2CreateGroupedOrdersπ4
Rate limits for sending transactions have been improved, providing up to an order of magnitude increase for the best staking tier. These changes apply to premium accounts only, and are tied to staked $LIT. Purchasing fee credits counts as staked $LIT for this purpose.
Changes include:
- Separate rate limit buckets. Other GET/POST endpoints and WebSocket channels will fall into a separate bucket, with unchanged rate limits. Getting rate limited in one of the two buckets will not affect activity on the other one
-
Complete details can be found in our api docs: https://apidocs.lighter.xyz/docs/rate-limits
Changes include:
- Separate rate limit buckets. Other GET/POST endpoints and WebSocket channels will fall into a separate bucket, with unchanged rate limits. Getting rate limited in one of the two buckets will not affect activity on the other one
-
sendTx and sendTxBatch will now only have L1 checks, while IP checks have been liftedComplete details can be found in our api docs: https://apidocs.lighter.xyz/docs/rate-limits
β€5
On March 20, 2026 at 9:30 PM UTC, the following WebSocket changes will go live to improve performance and stability:
- The server will no longer send application-level ping messages
- To keep the connection alive, clients will be expected to send a WebSocket ping frame (or any message) at least once every 2 minutes
- If the server does not receive any frames from a client for 2 minutes, the connection will be closed
- Clients that fall behind on reading messages (e.g. not consuming order book updates quickly enough) may be disconnected more aggressively than before
- The 24-hour forced connection lifetime will be removed, so well-behaved connections will be able to remain open indefinitely
- WebSocket compression (permessage-deflate) will be enabled, so clients that support it can benefit from reduced bandwidth usage
Additionally, the above changes will be deployed on testnet in a few days, allowing ample time to test the new logic.
- The server will no longer send application-level ping messages
- To keep the connection alive, clients will be expected to send a WebSocket ping frame (or any message) at least once every 2 minutes
- If the server does not receive any frames from a client for 2 minutes, the connection will be closed
- Clients that fall behind on reading messages (e.g. not consuming order book updates quickly enough) may be disconnected more aggressively than before
- The 24-hour forced connection lifetime will be removed, so well-behaved connections will be able to remain open indefinitely
- WebSocket compression (permessage-deflate) will be enabled, so clients that support it can benefit from reduced bandwidth usage
Additionally, the above changes will be deployed on testnet in a few days, allowing ample time to test the new logic.
π5β€4
Quick heads up β weβll run a short maintenance at 12:59AM UTC (in 20mins). It should last around 2 minutes, after which everything will be back to normal. Thanks for your patience.
π3
The following WebSocket channels now send a millisecond
-
-
-
-
-
-
Recent updates:
- CCXT added Lighter support: https://t.me/ccxt_announcements/107
- Docs have been updated to include partner attribution integration details: https://apidocs.lighter.xyz/docs/partner-integration
- Python & Go SDKs have been updated to support partner attribution. Moreover, APIs have been updated and support for staking & unstaking has been added
timestamp attached to subscribe and update messages:-
ticker-
market_stats
- spot_market_stats-
account_all_assets-
account_spot_avg_entry_prices-
user_stats-
heightRecent updates:
- CCXT added Lighter support: https://t.me/ccxt_announcements/107
- Docs have been updated to include partner attribution integration details: https://apidocs.lighter.xyz/docs/partner-integration
- Python & Go SDKs have been updated to support partner attribution. Moreover, APIs have been updated and support for staking & unstaking has been added
β€2
All RWA perp markets on Lighter now trade with 0 fees across every fee and staking tier!
https://x.com/Lighter_xyz/status/2031187659184320981?s=20
https://x.com/Lighter_xyz/status/2031187659184320981?s=20
X (formerly Twitter)
Lighter (@Lighter_xyz) on X
RWA perps just got better!
All RWA perp markets on Lighter now trade with 0 fees across every fee and staking tier.
As new onchain RWA markets emerge, we're focused on making Lighter a deep, relβ¦
All RWA perp markets on Lighter now trade with 0 fees across every fee and staking tier.
As new onchain RWA markets emerge, we're focused on making Lighter a deep, relβ¦
β€3π2
Recent updates:
- Volume quota generation has been improved, now requiring $5 of notional traded to increase quota by one. Complete details are available here: https://apidocs.lighter.xyz/docs/volume-quota-program
- The
- The
- Volume quota generation has been improved, now requiring $5 of notional traded to increase quota by one. Complete details are available here: https://apidocs.lighter.xyz/docs/volume-quota-program
- The
accountActiveOrders endpoint does not require a market_id query parameter anymore, defaulting to all markets- The
markets/logs explorer endpoint now allows querying spot markets too, using the base-quote format, e.g. eth-usdcβ€9
Currently, only
Starting March 22, 2026 at 2:30 PM UTC, the following indexes will be reserved to serve web and mobile users:
-
-
-
-
If you're currently using indexes
api_key_index:0 and api_key_index:1 are being reserved to serve desktop and mobile users on the lighter front-endStarting March 22, 2026 at 2:30 PM UTC, the following indexes will be reserved to serve web and mobile users:
-
api_key_index:0-
api_key_index:1-
api_key_index:2-
api_key_index:3If you're currently using indexes
2, 3 for programmatic api trading, you should switch to any other other index in the 4-254 range to avoid any disruption.π4
FYI: We will be updating our WTI methodology to a continuously rolling method in the near future. Starting Monday March 16th, WTI will track 100% CLK6 until further notice, expected in early April. We will keep you updated.
π6β€1π1
- Volume quota cap has been increased from 5M to 15M
- This change: https://t.me/lighter_api_updates/101 to our WebSocket logic has been postponed to next Monday, March 23rd at 12pm UTC. Testnet already has the new logic, and you can fallback to the old (current) ping/pong logic adding
Other changes:
- You can now use the
- The
- Maker trades are now available via the explorer api
- This change: https://t.me/lighter_api_updates/101 to our WebSocket logic has been postponed to next Monday, March 23rd at 12pm UTC. Testnet already has the new logic, and you can fallback to the old (current) ping/pong logic adding
server_pings=true to the WebSocket URL. This fallback will be made available on mainnet too, for a few days after we deploy the changes.Other changes:
- You can now use the
active_only filter on the account endpoint to hide markets for which leverage and margin settings are present (meaning, you traded the market at least once), but with no active position at the time of your request- The
logs endpoint for markets via the explorer api now supports pagination: https://apidocs.lighter.xyz/reference/get_markets-symbol-logs- Maker trades are now available via the explorer api
β€7
Reminder to stop using
Additionally, you can now query the
{2,3} as api_key_index values, as we'll reserve them starting March 22, 2026 at 2:30 PM UTC. See here for additional details: https://t.me/lighter_api_updates/106Additionally, you can now query the
tokenlist endpoint to fetch categories used to filter available markets on the exchange: https://apidocs.lighter.xyz/reference/tokenlist-1β€4
The improved WebSocket logic has been deployed to mainnet.
Find all details for the changes here: https://t.me/lighter_api_updates/101
Additionally, for a few days you will be able to fallback to the old ping/pong logic (other changes will still apply) adding this query parameter to the WebSocket URL:
Find all details for the changes here: https://t.me/lighter_api_updates/101
Additionally, for a few days you will be able to fallback to the old ping/pong logic (other changes will still apply) adding this query parameter to the WebSocket URL:
server_pings=trueπ6
Volume quota generation has been improved, now requiring $3 of volume to increase quota by one. Complete details are available here: https://apidocs.lighter.xyz/docs/volume-quota-program
π7
Recent updates:
- Clients are now allowed to skip nonces. This is optional, and can be done by setting the
- The number of available sub-accounts has been increased from 8 to 64 on the highest staking tier, or fee credits equivalent
- The builder tier is now available, allowing 240K weighted requests on read endpoints, at no extra cost. You can reach out via Discord support channels to be part of the program
- The
-
- Clients are now allowed to skip nonces. This is optional, and can be done by setting the
SkipNonce field in L2TxAttributes to 1. We still require the next nonce to be higher than the previous, and lower than 2^47-1. SDKs support will be rolled out later this week- The number of available sub-accounts has been increased from 8 to 64 on the highest staking tier, or fee credits equivalent
- The builder tier is now available, allowing 240K weighted requests on read endpoints, at no extra cost. You can reach out via Discord support channels to be part of the program
- The
order_book and ticker WebSocket channels now include last_updated_at, a committer-level microseconds timestamp-
liquidation_price is now correctly displayed on WebSocket channels that return position dataβ€8π2
- Lighter's GO & Python SDKs have been updated to support skipping nonces. Examples on how to skip nonces, and how to use grouped orders with partner codes have been added: https://github.com/elliottech/lighter-python/tree/main/examples
β’
- We're now able to share an S3 bucket containing all trade events going back to mainnet genesis with interested parties, updated daily. You can reach out via Discord #support to obtain access
β’
total_funding_paid_out has been added to the account endpoint, and the account_all WebSocket channel, allowing to fetch total funding paid out for an existing position without requiring authentication- We're now able to share an S3 bucket containing all trade events going back to mainnet genesis with interested parties, updated daily. You can reach out via Discord #support to obtain access
β€6π2
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
- 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