curl --request GET \
--url 'https://ca.raze.sh/api/sol/perp/markets/{market_id}/candles?apiKey='{
"market_id": "<string>",
"timeframe": "<string>",
"data": [
{
"timestamp": 123,
"open": 123,
"high": 123,
"low": 123,
"close": 123,
"volume_usd": 123,
"trade_count": 123
}
],
"count": 123
}OHLCV candles for a perp market. Reads from perp_ohlcv_<timeframe> rollup tables.
curl --request GET \
--url 'https://ca.raze.sh/api/sol/perp/markets/{market_id}/candles?apiKey='{
"market_id": "<string>",
"timeframe": "<string>",
"data": [
{
"timestamp": 123,
"open": 123,
"high": 123,
"low": 123,
"close": 123,
"volume_usd": 123,
"trade_count": 123
}
],
"count": 123
}Documentation Index
Fetch the complete documentation index at: https://docs.raze.bot/llms.txt
Use this file to discover all available pages before exploring further.
Venue-prefixed market id (e.g. jup:SOL-PERP).
1s, 1m, 5m, 15m, 1h, 4h, 1d Start timestamp (Unix ms).
End timestamp (Unix ms).
1 <= x <= 2000