Skip to main content

Query Parameters

FieldTypeNeedDescriptionExample
”symbol”stringrequiredTrading pair symbolBTC
”interval”stringrequiredCandlestick interval
Valid values: 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 8h, 12h, 1d, 1w, 1M
1m
”start_time”integerrequiredStart time in milliseconds1716200000000
”end_time”integeroptionalEnd time in milliseconds, defaults to current time if not provided1742243220000
”limit”integeroptionalMaximum number of candles to return. Capped at 4000; defaults to 4000 if not provided100

Response

  • Status 200: Successfully retrieved candle data
  • Status 400: Invalid request parameters
  • Status 401: Unauthorized access
  • Status 500: Internal server error

Code Example (Python)