lighterInteract with Lighter protocol - a ZK rollup orderbook DEX. Use when you need to trade on Lighter, check prices, manage positions, or query account data.
Install via ClawdBot CLI:
clawdbot install aviclaw/lighterTrade on Lighter - a zero-knowledge rollup orderbook DEX with millisecond latency and zero fees.
# Markets are public - no credentials needed
curl "https://mainnet.zklighter.elliot.ai/api/v1/orderBooks"
API Endpoint: https://mainnet.zklighter.elliot.ai
Chain ID: 300
This skill can work with just requests library for read-only operations. For signing orders, you have two options:
Option A: Minimal (Read-Only)
pip install requests
Only for public data (markets, order books, prices).
Option B: Full Trading
Requires the official Lighter SDK. Review and verify before installing:
Only proceed with external SDK if you:
| Variable | Required | Description | Where to Find |
|----------|----------|-------------|---------------|
| LIGHTER_API_KEY | For orders | API key from Lighter SDK setup | See "Getting an API Key" section below |
| LIGHTER_ACCOUNT_INDEX | For orders | Your Lighter subaccount index (0-252) | See "Getting Your Account Index" section below |
| LIGHTER_L1_ADDRESS | Optional | Your ETH address (0x...) used on Lighter | Your MetaMask/Wallet address |
Step 1: Get your L1 Address
0x1234...abcd)Step 2: Get your Account Index
curl "https://mainnet.zklighter.elliot.ai/api/v1/accountsByL1Address?l1_address=YOUR_ETH_ADDRESS"
Response returns sub_accounts[].index — that's your account index (typically 0 for main account).
Step 3: Get your API Key
pip install lighter-pythonQuick test (read-only, no credentials):
curl "https://mainnet.zklighter.elliot.ai/api/v1/orderBooks"
# List all markets
curl "https://mainnet.zklighter.elliot.ai/api/v1/orderBooks"
# Get order book
curl "https://mainnet.zklighter.elliot.ai/api/v1/orderBook?market_id=1"
# Get recent trades
curl "https://mainnet.zklighter.elliot.ai/api/v1/trades?market_id=1"
# Account balance (requires API key in header)
curl -H "x-api-key: $LIGHTER_API_KEY" \
"https://mainnet.zklighter.elliot.ai/api/v1/account?by=index&value=$LIGHTER_ACCOUNT_INDEX"
See "Setting Up Your Credentials" table above for the quick curl command.
See "Setting Up Your Credentials" table above for the step-by-step guide.
"Restricted jurisdiction":
SDK signing issues:
| ID | Symbol |
|----|--------|
| 1 | ETH-USD |
| 2 | BTC-USD |
| 3 | SOL-USD |
See USAGE.md in this skill folder for:
Disclaimer: Review all external code before running. Use dedicated wallets for trading.
Generated Mar 1, 2026
Individual traders can use this skill to execute spot trades on Lighter's orderbook DEX, leveraging its zero-fee structure and millisecond latency for efficient market entry and exit. It supports checking real-time prices and managing positions directly through API calls or the SDK.
Investors or fund managers can integrate this skill to automate balance checks, track account positions, and monitor market data across ETH-USD, BTC-USD, and SOL-USD pairs. This enables real-time portfolio adjustments and risk assessment without manual dashboard access.
Advanced users can deploy this skill to identify price discrepancies across markets and execute arbitrage trades quickly due to Lighter's low latency. Market makers can use it to place and manage limit orders, optimizing liquidity provision on the DEX.
Researchers or educators can utilize the public endpoints to fetch order book data, trade history, and market statistics for analyzing DEX performance or teaching blockchain trading concepts. No credentials are needed for read-only access.
Developers can embed this skill into trading bots to automate strategies like trend following or stop-loss orders on Lighter. It requires the full SDK for signing transactions, allowing seamless integration with custom algorithms for 24/7 trading.
Lighter operates as a DEX with zero fees for retail traders, generating revenue potentially through premium features, institutional services, or tokenomics. This skill enables users to access this model by facilitating trades without intermediaries, reducing costs.
By providing a Python SDK and public API, Lighter can monetize through enterprise licenses or premium API tiers for high-frequency traders. This skill leverages these tools, allowing businesses to build custom trading solutions on top of the protocol.
Lighter can offer market data feeds, analytics dashboards, or research reports based on its orderbook and trade data. This skill supports data extraction, enabling third-party services to resell insights or integrate real-time metrics into their platforms.
💬 Integration Tip
Start with read-only operations using requests library to test connectivity, then carefully review and install the official SDK only after verifying the GitHub repository for secure trading functionality.
Analyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management, watchlists with alerts, dividend analysis, 8-dimension stock scoring, viral trend detection (Hot Scanner), and rumor/early signal detection. Use for stock analysis, portfolio tracking, earnings reactions, crypto monitoring, trending stocks, or finding rumors before they hit mainstream.
Get stock prices, quotes, fundamentals, earnings, options, dividends, and analyst ratings using Yahoo Finance. Uses yfinance library - no API key required.
Yahoo Finance (yfinance) powered stock analysis skill: quotes, fundamentals, ASCII trends, high-resolution charts (RSI/MACD/BB/VWAP/ATR), plus optional web a...
Become an autonomous prediction market trader on Polymarket with AI-powered analysis and a performance-backed token on Base. Trade real markets, build a track record, and let the buyback flywheel run.
Get cryptocurrency token price and generate candlestick charts via CoinGecko API or Hyperliquid API. Use when user asks for token price, crypto price, price chart, or cryptocurrency market data.
Trade and monitor Hyperliquid perpetual futures. Check balances, view positions with P&L, place/cancel orders, execute market trades. Use when the user asks about Hyperliquid trading, portfolio status, crypto positions, or wants to execute trades on Hyperliquid.