New to Hyperlight?
Hyperlight API Documentation
Complete API reference for the Hyperlight enhanced trading API for the Lighter perpetual DEX. Includes 43 REST endpoints and 6 WebSocket channels covering batch account queries, orderbook data, trades, liquidations, candles, funding rates, data lake exports, market alerts, and billing.
API Base URL
https://api.hyperlightapi.xyz
Authentication
API keys prefixed with hlt_. Pass via X-Api-Key header, Authorization Bearer header, or api_key query parameter.
Key Endpoints
- POST /api/v1/accounts/batch — Batch query up to 1,000 accounts
- GET /api/v1/orderbook/:market_id — Current orderbook
- GET /api/v1/trades/by-time — Trades within time ranges
- GET /api/v1/candles — OHLCV candles
- GET /api/v1/funding-rates/history — Historical funding rates
- GET /api/v1/liquidations/recent — Recent liquidations
- GET /api/v1/data-lake/exports — Parquet data exports
Loading API documentation...