POST /info/candleSnapshot

Auth X-Hub-Key from API_HUB_KEYExecute POST /run/hyperliquid/info/candleSnapshotCache executed live on every call — a read-only POST answer is never cachedCost free · weight 0 · standard rate classSource billing free

OHLCV candle snapshot for one coin and interval, bounded by startTime/endTime (the most recent 5000 candles are available).

Parameters

nameintypedescription
coinbodystrrequiredExchange coin symbol.
example: BTC
intervalbodystr
1m | 3m | 5m | 15m | 30m | 1h | 2h | 4h | 8h | 12h | 1d | 3d | 1w | 1M
requiredCandle interval.
example: 1h
startTimebodyintrequiredStart of the window in milliseconds since epoch.
example: 1795861308822
endTimebodyintrequiredEnd of the window in milliseconds since epoch.
example: 1795882908822

Response

type: array
pagination: none
sample: {
  "[0]": "object"
}

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sX POST "https://openapihub.dev/run/hyperliquid/info/candleSnapshot" \
  -H "X-Hub-Key: $API_HUB_KEY" -H "Content-Type: application/json" \
  -d '{"coin": "BTC", "interval": "1h", "startTime": 1795861308822, "endTime": 1795882908822}'