curl --request GET \
--url https://api.0xarchive.io/v1/lighter/candles/{symbol} \
--header 'X-API-Key: <api-key>'{
"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
}
],
"meta": {
"count": 123,
"next_cursor": "<string>"
}
}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.
curl --request GET \
--url https://api.0xarchive.io/v1/lighter/candles/{symbol} \
--header 'X-API-Key: <api-key>'{
"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
}
],
"meta": {
"count": 123,
"next_cursor": "<string>"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.0xarchive.io/llms.txt
Use this file to discover all available pages before exploring further.
API key for authentication. Get yours at https://www.0xarchive.io/dashboard/
Trading pair symbol (e.g., ETH, BTC)
"ETH"
Start timestamp in Unix milliseconds. Defaults to 24h ago.
End timestamp in Unix milliseconds. Defaults to now.
Candle interval (default: 1h)
1m, 5m, 15m, 30m, 1h, 4h, 1d, 1w Cursor for pagination (use the value from previous response's next_cursor)
Maximum number of results (default: 100, max: 10000)
x <= 10000List of OHLCV candles with cursor for next page
API response containing an array of candle data
true
Hide child attributes
Candle start timestamp (ISO 8601 UTC)
"2026-01-01T12:00:00Z"
Opening price
42500.5
Highest price during interval
42750
Lowest price during interval
42300.25
Closing price
42650.75
Trading volume in base asset
1250.5
Trading volume in quote asset (USD)
53187500
Number of trades in interval
4520
Was this page helpful?