Upstream Mapping
Maps to Hyperliquid’s POST /info with { "type": "candleSnapshot", "coin": "<symbol>", "interval": "<interval>" }.
Request
Market symbol (e.g., BTC)
Candle interval: 1m, 5m, 15m, 30m, 1h, 4h, 1d, 1w
Start timestamp in milliseconds
End timestamp in milliseconds
Example
curl -H "X-API-Key: $API_KEY" \
"https://api.perps.studio/v1/perps/hyperliquid/markets/BTC/candles?interval=1h"
[
{
"open": "67500.0",
"high": "67600.0",
"low": "67450.0",
"close": "67542.1",
"volume": "1234.56",
"timestamp": 1712000000000
}
]