Expanding Beyond Hyperliquid
We're thrilled to announce that 0xArchive.io now supports Lighter.xyz, a high-performance perpetuals DEX built on Ethereum L2. This marks our first expansion beyond Hyperliquid as we work toward becoming the go-to source for DeFi historical data.
What's Available for Lighter.xyz?
All the data types you know and love, now for Lighter:
- Full-Depth Order Book - Unlike Hyperliquid's 20-level limit, Lighter provides full order book depth. See every price level.
- Trade History - Complete trade data with maker/taker information
- Funding Rates - Historical funding rate data for all perpetual markets
- Open Interest - Track position changes over time
- Candles - OHLCV data at standard intervals (1m, 5m, 15m, 1h, 4h, 1d)
Why Lighter.xyz?
Lighter.xyz has been gaining traction as a serious venue for perpetual futures trading. With its focus on capital efficiency and deep liquidity, it's become an important exchange to track for anyone doing cross-venue analysis or looking for arbitrage opportunities.
API Endpoints
Access Lighter data through our familiar REST API structure:
# Get current order book (full depth available!)curl "https://api.0xarchive.io/v1/lighter/orderbook/BTC?depth=100" \ -H "X-API-Key: 0xa_your_api_key"
# Get historical order book with configurable granularitycurl "https://api.0xarchive.io/v1/lighter/orderbook/BTC/history?start=1706745600000&end=1706832000000&granularity=10s" \ -H "X-API-Key: 0xa_your_api_key"
# Get tradescurl "https://api.0xarchive.io/v1/lighter/trades/ETH?start=1706745600000&end=1706832000000" \ -H "X-API-Key: 0xa_your_api_key"Granularity Options
For Lighter order book history, you can choose your data resolution:
- checkpoint - ~60 second intervals (default, all tiers)
- 30s - 30 second intervals (Build+)
- 10s - 10 second intervals (Build+)
- 1s - 1 second intervals (Pro+)
- tick - Raw checkpoint + deltas (Enterprise)
Pricing
Lighter data is included in all existing plans at no extra cost. The same credits work across both Hyperliquid and Lighter endpoints.
What's Next?
We're actively evaluating other DeFi venues to add. Have a specific exchange you'd like to see? Let us know on X (Twitter)!
Check out the documentation for full API details.
