Get spot OHLCV candles
0xArchive API reference for Get spot OHLCV candles. Includes authentication, parameters, response shape, examples, and route-safe implementation notes.
Authorizations
API key for authentication. Get yours at https://0xarchive.io/dashboard
Path Parameters
Spot pair symbol. Accepts dashed canonical (PURR-USDC, HYPE-USDC), the wire-format coin (@107), or a bare base-token name (HFUN).
"PURR-USDC"
Query Parameters
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: 1000)
x <= 1000