Groww LogoGroww API

Historical Data

Fetch historical data of instruments easily using Groww APIs

Get Historical Data

Note

This API request is deprecated and will NOT work in the future. Use Get Historical Candle Data instead.

GET https://api.groww.in/v1/historical/candle/range

This API can be used to get the historical data of an instrument for a given time range. It provides the historical candles for a given interval.

Request

# You can also use wget
curl -X GET https://api.groww.in/v1/historical/candle/range?exchange=NSE&segment=CASH&trading_symbol=WIPRO&start_time=2021-01-01 09:15:00&end_time=2021-01-01 15:15:00 \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {ACCESS_TOKEN}' \
  -H 'X-API-VERSION: 1.0'

Request schema

NameTypeDescription
exchange *stringStock exchange
segment *stringSegment of the instrument such as CASH, FNO etc.
trading_symbol *stringTrading Symbol of the instrument as defined by the exchange
start_time *stringTime in yyyy-MM-dd HH:mm:ss or epoch seconds format from which data is required
end_time *stringTime in yyyy-MM-dd HH:mm:ss or epoch seconds format from which data is required
interval_in_minutesstringInterval in minutes for which data is required

*required parameters

Response

All prices in rupees.

{
  "status": "SUCCESS",
  "payload": {
    "candles": [
      [
        1633072800, // candle timestamp in epoch second
        150.1,  // open price
        155.0,  // high price
        145.0,  // low price
        152.4,  // close price
        10000   // volume
      ]
    ],
    "start_time": 2025-01-01 15:30:00,
    "end_time": 2025-01-01 15:30:00,
    "interval_in_minutes": 5
  }
}

Response Schema

NameTypeDescription
candlesarray[array]This contains the list of candles. Each candle has candle timestamp (epoch second), open (float), high (float), low (float), close (float) , volume (int) in that order.
start_timestringStart time in yyyy-MM-dd HH:mm:ss
end_timestringEnd time in yyyy-MM-dd HH:mm:ss
interval_in_minutesintInterval in minutes
Candle IntervalMax Duration per RequestHistorical Data Available
1 min7 daysLast 3 months
5 min15 daysLast 3 months
10 min30 daysLast 3 months
1 hour (60 min)150 daysLast 3 months
4 hours (240 min)365 daysLast 3 months
1 day (1440 min)1080 days (~3 years)Full history
1 week (10080 min)No LimitFull history

On this page