Understanding "interval" responses in market OHLC data

Hi Upstox Community,

I am working with the marketOHLC data from Upstox and noticed different interval values in the response, such as "1d", "I1", and "I30". Here’s an example of the data:

“marketOHLC”: {
“ohlc”: [
{
“interval”: “1d”,
“open”: 103.15,
“high”: 240.0,
“low”: 100.9,
“close”: 129.0,
“ts”: “1738002600000”
},
{
“interval”: “I1”,
“open”: 131.95,
“high”: 132.9,
“low”: 128.35,
“close”: 129.0,
“ts”: “1738058280000”
},
{
“interval”: “I1”,
“open”: 128.6,
“high”: 131.0,
“low”: 128.05,
“close”: 129.0,
“ts”: “1738058340000”
},
{
“interval”: “I30”,
“open”: 232.3,
“high”: 234.7,
“low”: 103.25,
“close”: 135.4,
“ts”: “1738055700000”
},
{
“interval”: “I30”,
“open”: 135.55,
“high”: 137.3,
“low”: 126.25,
“close”: 129.0,
“ts”: “1738057500000”
}
]
}

Each interval corresponds to a timestamp (ts) that I converted to IST for better understanding:

Interval Timestamp (IST)
1d 2025-01-28 00:00:00
I1 2025-01-28 15:28:00
I1 2025-01-28 15:29:00
I30 2025-01-28 14:45:00
I30 2025-01-28 15:15:00

I’m trying to understand:

  1. What do the different interval values (e.g., "1d", "I1", "I30") represent in Upstox data?
  2. Why are there multiple I1 and I30 intervals with different timestamps?
  3. How are these intervals defined, and do they align with Upstox’s internal OHLC calculation logic?

Any insights or documentation references to better understand these intervals would be greatly appreciated!

@Vijay_Kumar_Sharma

Details about each interval can be found here. This should also help address other related questions.

Thanks!