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
Request schema
Name | Type | Description |
---|---|---|
exchange * | string | Stock exchange |
segment * | string | Segment of the instrument such as CASH, FNO etc. |
trading_symbol * | string | Trading Symbol of the instrument as defined by the exchange |
start_time * | string | Time in yyyy-MM-dd HH:mm:ss or epoch seconds format from which data is required |
end_time * | string | Time in yyyy-MM-dd HH:mm:ss or epoch seconds format from which data is required |
interval_in_minutes | string | Interval in minutes for which data is required |
*
required parameters
Response
All prices in rupees.
Response Schema
Name | Type | Description |
---|---|---|
candles | array[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_time | string | Start time in yyyy-MM-dd HH:mm:ss |
end_time | string | End time in yyyy-MM-dd HH:mm:ss |
interval_in_minutes | int | Interval in minutes |
Candle Interval | Max Duration per Request | Historical Data Available |
---|---|---|
1 min | 7 days | Last 3 months |
5 min | 15 days | Last 3 months |
10 min | 30 days | Last 3 months |
1 hour (60 min) | 150 days | Last 3 months |
4 hours (240 min) | 365 days | Last 3 months |
1 day (1440 min) | 1080 days (~3 years) | Full history |
1 week (10080 min) | No Limit | Full history |