Lighter API

Lighter decentralised perpetuals exchange integration.

This module provides tools for extracting Lighter pool data via public endpoints, mirroring the Hyperliquid integration and GRVT integration:

  • Pool listing via the public /api/v1/publicPoolsMetadata endpoint

  • Per-pool share price history from /api/v1/account

  • DuckDB storage for daily metrics

  • Bridge into the ERC-4626 pipeline (VaultDatabase pickle + uncleaned Parquet)

No authentication is required – all data comes from public endpoints.

Tutorials

For architecture details, API endpoint reference, DuckDB schema, and fee model documentation, see README-lighter-vaults.md.

eth_defi.lighter.vault

Lighter pool data extraction and analysis.

eth_defi.lighter.daily_metrics

Lighter daily pool metrics with DuckDB storage.

eth_defi.lighter.vault_data_export

Export Lighter pool data into the ERC-4626 pipeline format.

eth_defi.lighter.session

HTTP session management for Lighter API.

eth_defi.lighter.constants

Constants for the Lighter integration.