Skip to main content
GET
/
api
/
v2
/
candles
Get historical candles
curl --request GET \
  --url https://api.quantdesk.app/api/v2/candles
{
  "success": true,
  "data": [
    {
      "time": 1767394200000,
      "open": 167.9,
      "high": 169.4,
      "low": 167.1,
      "close": 168.42,
      "volume": 452100
    }
  ]
}

Query Parameters

symbol
string
required

Market symbol, e.g. SOL-PERP.

Example:

"SOL-PERP"

resolution
enum<string>
required

Candle resolution.

Available options:
1m,
5m,
15m,
1h,
4h,
1d
Example:

"1h"

Response

200 - application/json

OHLCV candles

success
boolean
Example:

true

data
object[]