candleSnapshot Info Endpoint Method
candleSnapshot is not currently available through Quicknode's /info endpoint. This method is not part of the open-source Hyperliquid node.
Alternatives by granularity:
- Hourly candles: Query the
hyperliquid_market_volume_hourlytable in SQL Explorer for pre-aggregated OHLCV data, joinable with liquidation, funding, and user data - Daily candles: Query
hyperliquid_metrics_dex_overviewin SQL Explorer for daily high, low, and volume per coin, or aggregate fromhyperliquid_market_volume_hourly - Sub-hourly or 4h candles: Compute from
hyperliquid_fillsin SQL Explorer usingtoStartOfInterval(time, INTERVAL X MINUTE), or query through Hyperliquid's public API (subject to Hyperliquid rate limits)
Parameters
type
string
REQUIRED
Loading...
req
object
REQUIRED
Loading...
coin
string
REQUIRED
Loading...
interval
string
REQUIRED
Loading...
startTime
integer
REQUIRED
Loading...
endTime
integer
REQUIRED
Loading...
Returns
array
array
Loading...
t
integer
Loading...
T
integer
Loading...
s
string
Loading...
i
string
Loading...
o
string
Loading...
c
string
Loading...
h
string
Loading...
l
string
Loading...
v
string
Loading...
n
integer
Loading...
Request
1curl https://api.hyperliquid.xyz/info \2-X POST \3-H "Content-Type: application/json" \4--data '{"type":"candleSnapshot","req":{"coin":"BTC","interval":"1h","startTime":1754300000000,"endTime":1754400000000}}'5
1curl https://api.hyperliquid.xyz/info \2-X POST \3-H "Content-Type: application/json" \4--data '{"type":"candleSnapshot","req":{"coin":"BTC","interval":"1h","startTime":1754300000000,"endTime":1754400000000}}'5
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free