Lighter - Candles

Get Lighter OHLCV candles

Get historical OHLCV candle data. Supports multiple intervals from 1 minute to 1 week. Data available from August 2025.

Available Intervals: 1m, 5m, 15m, 30m, 1h, 4h, 1d, 1w

Pagination: Use the cursor parameter with the value from the previous response's next_cursor for efficient pagination.

get/v1/lighter/candles/{symbol}

Request

  • Base URL: https://api.0xarchive.io
  • URL: https://api.0xarchive.io/v1/lighter/candles/{symbol}
  • Auth: API key in header X-API-Key

Path parameters

symbolstring required
Example:ETH

Trading pair symbol (e.g., ETH, BTC)

Query parameters

startinteger

Start timestamp in Unix milliseconds. Defaults to 24h ago.

endinteger

End timestamp in Unix milliseconds. Defaults to now.

interval'1m' | '5m' | '15m' | '30m' | '1h' | '4h' | '1d' | '1w'

Candle interval (default: 1h)

cursorstring

Cursor for pagination (use the value from previous response's next_cursor)

limitinteger

Maximum number of results (default: 100, max: 10000)

Response

List of OHLCV candles with cursor for next page

successboolean

Example response

{
  "success": true,
  "data": [
    {
      "timestamp": "2026-01-01T12:00:00Z",
      "open": 42500.5,
      "high": 42750,
      "low": 42300.25,
      "close": 42650.75,
      "volume": 1250.5,
      "quote_volume": 53187500,
      "trade_count": 4520
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.