API key restrictions — Lighter Core mainnet API keys now support three optional restrictions: - Markets: allow up to 16 market IDs and 16 binary options series. - IP addresses: allow up to 16 individual IPv4/IPv6 addresses. CIDR ranges are not supported. - Expiry: set an expiration time up to 180 days ahead. Configure restrictions through POST /api/v1/setApiKeyRestrictions, signed by the account’s L1 wallet. View them through GET /api/v1/apikeys with authentication for the account. Python SDK: upgrade to lighter-sdk 1.2.0+ and use SignerClient.set_api_key_restrictions(...). Market-restricted keys cannot withdraw or transfer funds. Cancel-all must target an allowed market; scheduled cancel-all is not supported. Key expiry does not cancel open orders. Reapply restrictions after rotating a key. Available on Lighter Core mainnet only. Docs: https://docs.lighter.xyz/developers/integration-guides/api-keys#api-key-restrictions
Open in TelegramPosts of Lighter API/MM Updates
New WebSocket limits are now in effect The new limits are now active on Lighter Core mainnet. Limits per IP: - Default: 50 connections, 1,000 subscriptions, 200 unique accounts and 200 client messages per minute. - Premium/Advanced with 1,000+ staked LIT: 255 connections, 5,000 subscriptions, 5,000 unique accounts and 1,000 client messages per minute. - Builder: 255 connections, 10,000 subscriptions, 10,000 unique accounts and 10,000 client messages per minute. All tiers support up to 1,000 subscriptions per connection. Usage is shared across connections from the same IP. Authenticate every WebSocket connection to receive your eligible tier’s limits. Unauthenticated connections, Plus accounts and Premium/Advanced accounts below the staking threshold use the default limits. Pass your auth token in the Authorization handshake header or via ?auth={AUTH_TOKEN}. Read-only tokens are supported. Python SDK users can upgrade to lighter-sdk 1.1.9+ and use WsClient(auth_token=...). sendTx and sendTxBatch follow their separate limits and do not count toward the client-message limits above. Robinhood Chain is unchanged. Details: https://docs.lighter.xyz/developers/reference/rate-limits#websocket-limits
Open in TelegramSNDK market update - The old SNDK market (`market_id=139`) has been renamed to SNDK_DELISTED and is now inactive. - The new post-split market is live under the SNDK symbol with market_id=11649. Please refresh your market metadata and use market_id=11649 for the new SNDK market. Prices on the new market reflect the stock split and should not be directly compared with pre-split prices.
Open in TelegramOrder book price grouping GET /api/v1/orderBookOrders now supports aggregated price levels using two optional parameters: - n_sig_figs (2–6): sets the number of significant figures used for price grouping. - mantissa (1, 2 or 5): multiplies the group size; supported only with n_sig_figs set to 5 or 6. When grouping is enabled, the response includes group_size, ask_levels and bid_levels, with up to 20 levels per side. Each level contains price, size and orders. Levels are calculated from the full order book. The existing asks and bids are still returned; limit only applies to those lists. Docs: https://docs.lighter.xyz/api/orders/orderbookorders REST rate-limit update The request weight for POST /api/v1/rfq/create is now 800 on Lighter Core mainnet. Robinhood Chain is unchanged.
Open in TelegramWebSocket tier limits New WebSocket limits will take effect on Lighter Core after the scheduled downtime on Sunday, November 22. Per-IP limits: - Standard / public, Plus and base Premium: 50 connections, 1,000 subscriptions, 200 unique accounts and 200 client messages per 60 seconds. - Premium 1 and above (`premium_1+`): 255 connections, 5,000 subscriptions, 5,000 unique accounts and 1,000 client messages per 60 seconds. - Builder: 255 connections, 10,000 subscriptions, 10,000 unique accounts and 10,000 client messages per 60 seconds. All tiers support up to 1,000 subscriptions per connection and 50 in-flight requests. sendTx and sendTxBatch have separate transaction limits. To receive your tier’s higher limits, authenticate every WebSocket connection using the Authorization handshake header. Unauthenticated connections use Standard/public limits regardless of account tier. Plus and base Premium retain Standard limits even when authenticated. Please update your clients before the downtime.
Open in TelegramTransaction response update - Sig and L1Sig inside info now return empty strings (`""`). The fields are still present, but signature values are no longer returned. - This applies to tx, txFromL1TxHash, txs, accountTxs, blockTxs, block, blocks and account WebSocket channels. - Other transaction fields remain unchanged, including hash, status, nonce, amounts and memos. If your integration relies on returned signatures for transaction tracking, please update it to identify transactions by hash and check their state using status.
Open in TelegramDeposits and withdrawals are back to normal following the deactivation of Guardian Mode by the Lighter Security Council. More details on what happened: https://x.com/Lighter_xyz/status/2122394446343946717
Open in TelegramWe will be performing a network upgrade on Sunday, November 15 at 13:00 UTC. Expected downtime is under 20 minutes. Please manage your positions in advance, as order placement will be unavailable during the upgrade.
Open in TelegramTestnet migration — November 16 Lighter testnet is scheduled to migrate on Monday, November 16. Testnet state will be reset, so you’ll need to onboard again after the migration. The new endpoints will be: - API: https://api.testnet.lighter.xyz - Explorer API: https://explorerapi.testnet.lighter.xyz
Open in Telegram- market_stats and spot_market_stats WebSocket channels now support multiple markets per subscription. Use market_ids with subscribe / unsubscribe to add or remove markets on an existing subscription. Up to 500 markets per subscription. - Add "partial": true to receive only changed fields plus market_id. The initial snapshot is always full. Supported with market_ids and /all subscriptions; single-market channels do not support partial updates. - New endpoint: GET /api/v1/accountOrderFills returns an account’s order fills, deleverage and market-settlement trades for a market and time range. between_timestamps and limit are required. Supports cursor pagination and up to 1,000 results per page. Authentication is required; read-only tokens are supported. - GET /api/v1/referral/userReferrals now includes l1_eligible, indicating whether an address is eligible for the referee rebate, even before a referral code is bound. - GET /api/v1/withdraw/history now returns l2_tx_hash, l1_claim_tx_hash and l1_claim_amount. l1_claim_amount is the total paid by the L1 claim, which may cover multiple withdrawals. The L1 claim fields are empty for fast withdrawals, unclaimed withdrawals, and withdrawals made before claim tracking started.
Open in TelegramReminder: the Ethereum mainnet contract upgrade is scheduled for tomorrow, Sunday, November 8 at 13:00 UTC. No downtime is expected. - After the upgrade, L1 Priority Transactions (createOrder, cancelAllOrders, withdraw, changePubKey and burnShares`) must be sent to `L1CoreMessaging. Calling these functions on ZkLighter will revert. - The createOrder market index argument changes from uint16 to uint64. Please update your contract addresses and ABIs for any affected L1 integrations. - Deposits, withdrawPendingBalance and view/read calls stay on ZkLighter. Normal L2 trading through the API/SDK signer is unchanged. Ethereum mainnet contracts: L1CoreMessaging: 0x183ef7195d443a3dA7EC1d7003BaCa1ff490757D ZkLighter: 0x3B4D794a66304F130a4Db8F2551B0070dfCf5ca7
Open in TelegramWe’ve moved the mainnet deployment to Sunday, November 8 at 13:00 UTC (previously 11:00 UTC). No downtime is expected.
Open in TelegramSpot price bands • Live across all spot markets on Lighter and Lighter on Robinhood Chain. Buy orders must be within −50% / +20% of the index price; sell orders within −20% / +50%. • Applies to new limit, market and TWAP orders. Market orders are checked against their worst acceptable price. Modified limit orders must stay within ±50%. SL/TP orders are excluded. • Orders outside these bands return error 21753: “order price is too far from the index price”. These checks cannot be disabled with price_protection. Docs: https://docs.lighter.xyz/trading/order-types-and-matching#spot-price-bands Aggregated trades • On Lighter mainnet, GET /api/v1/aggregatedTrades now supports optional start_timestamp and end_timestamp filters in milliseconds. Start is inclusive, end is exclusive; both apply to the order aggregate’s last fill time. • Maximum limit increased from 100 to 1,000 orders per page; the default remains 100. Timestamp filters work alongside existing filters and cursor pagination. Docs: https://docs.lighter.xyz/api/orders/aggregatedtrades
Open in Telegram- The shared AWS credentials previously provided for free access to historical trade data will be revoked on Friday, November 6. If your integration uses these credentials, please switch to the public AWS dataset before then. - Historical trade data for Lighter and Lighter on Robinhood Chain is available for free through AWS Public Blockchain Data - Paid historical data access is unaffected and will continue working as usual.
Open in Telegram- You can now buy volume quota via the API. Available to Plus and Premium accounts at $500 per 1M quota, paid in USDC on Lighter or USDG on Lighter on Robinhood Chain. - Buy 2,000–15M quota per purchase, up to a total balance of 30M. You can also buy quota for another eligible L1 address. - Selected markets now earn 1 quota per $1 traded, while all other markets remain at 1 quota per $2. See the full list of markets earning 1 quota per $1. How to buy: buyVolumeQuota API docs
Open in Telegram- Lighter testnet now settles to Ethereum Sepolia (L1 chain ID 11155111; L2 remains `300`). Testnet accounts, balances and orders were reset, so you’ll need to onboard again. - L1 Priority Transactions (`createOrder`, cancelAllOrders, withdraw, changePubKey and burnShares`) have moved to `L1CoreMessaging. Calling these on ZkLighter now reverts on testnet. The createOrder market index argument is now uint64. - Deposits, withdrawPendingBalance and view/read calls stay on ZkLighter. Normal L2 trading through the API/SDK signer is unchanged. - Mainnet deployment is planned for Sunday, November 8 at 11:00 AM UTC (timestamp: 1794135600). Please test your integration on testnet and update any affected L1 Priority Transactions before then. Testnet contracts (Sepolia): ZkLighter: 0x5236A61b4796BF57B78328c4D752414c4b26e863 L1CoreMessaging: 0x2c63C05C69307A7878568AD045b5657427D2B7eC USDC: 0x0Bd599c2b5D79BE6713040E165329cBF59569445 Faucet: 0x51C0d8527Eca285Fabf0D9E946C8D8bA36c89063
Open in Telegram- We’re sunsetting the legacy Solana bridge on Friday, October 30. This deposit route will be removed from the app and API. If your integration uses it, please switch to another supported deposit method before then
Open in Telegram- We’ve revamped and consolidated our documentation at https://docs.lighter.xyz, making it more human and agent friendly. For AI agents: https://docs.lighter.xyz/llms.txt - orderBooks and orderBookDetails now include open_interest_usd (double-sided OI, longs + shorts, in USDC at mark price) and open_interest_limit (double-sided OI cap in base tokens at the current mark price). Perps only. The existing orderBookDetails.open_interest remains single-sided in base tokens. - The date-range limits for trade and funding exports have been removed (previously 1 year and 3 months). Omit start_timestamp and end_timestamp to export all available history. - market_type on trades, accountActiveOrders and accountInactiveOrders now supports multiple values in one request, e.g. market_type=perp,spot to exclude binary options. Single values remain supported.
Open in Telegram- The TUR30 market ("market_id": 4647) has been added to the back-end. It's recommended to wait for an official listing announcement in #announcements before trading it, as a testing phase will be underway first. - Markets returned by orderBookDetails and orderBooks now carry a "market_deployer" string that defaults to lighter. - The accountOrders endpoint now returns up to 3K inactive orders - 0xArchive is offering a 3-month 50% discount on their plans for lighter users. Use LIGHTER50 during the Stripe checkout to obtain it.
Open in TelegramBinary options are now available on Lighter Core, starting with BTC & ETH 15-minute up/down markets. Examples on how orders can be signed are provided in the latest release of the Python SDK, which includes up to date APIs: https://github.com/elliottech/lighter-python/blob/main/examples/binary-options/create_order_from_event.py Binary options markets can be treated similarly to spot markets, with the nuance that only limit & market orders are supported. Currently, SL/TP & TWAP orders are not available. In particular, partner attribution is supported at launch, allowing integrators to charge up to 100 bps after spot maker/taker integrator fees are approved. While previous SDK versions can already trade these markets, users should be mindful that following a recent upgrade (https://t.me/lighter_api_updates/174), the logic to assign new markets an identifier uses 64 bit integers (int64), supported by the latest version of both the Python & GO official SDKs. If you use a third-party SDK, make sure it handles int64 market IDs and update to the latest signer libraries: https://github.com/elliottech/lighter-go/releases/tag/v1.0.12 For complete details, api traders can refer to: https://apidocs.lighter.xyz/docs/binary-options Additionally, a documentation aimed at general users is available here: https://docs.lighter.xyz/trading/binary-options
Open in Telegram