History

Historical candle data

Get OHLC values for all instruments across various timeframes. Historical data can be fetched for the following durations. 1minute: last 1 month candles till endDate 30minute: last 1 year candles till endDate day: last 1 year candles till endDate week: last 10 year candles till endDate month: last 10 year candles till endDate

get/v2/historical-candle/{instrumentKey}/{interval}/{to_date}

Request

  • Base URL: https://api-v2.upstox.com
  • URL: https://api-v2.upstox.com/v2/historical-candle/{instrumentKey}/{interval}/{to_date}
  • Auth: none declared

Path parameters

instrumentKeystring required
intervalstring required
to_datestring required

Response

Successful

status'success' | 'error' | 'partial_success'

Changes

No recorded changes to this operation across all 1 revision of this API.