Incorrect / Inconsistent Historical Candle Data for Instrument 9485058 (3-Minute Interval)

Harsh1993
Dear Zerodha Support Team,

I am facing an inconsistency issue in the historical data API response for instrument 9485058 (3-minute candles). The close value of the same candle timestamp changes across multiple API calls, even though I am requesting data for a past date where the candle should already be finalized.

Issue Details

I fetched historical data using the following endpoint on multiple occasions:
https://api.kite.trade/instruments/historical/9485058/3minute?from=2025-10-27 11:39:02&to=2025-11-06 11:39:02&oi=1

Candle with mismatch
Candle Time: 2025-11-06T11:36:00+05:30

Below are the actual responses logged from my application:
________________________________________
API Call 1 – Logged at 11:39:02
"close": 57845.2
API Call 2 – Logged at 11:41:58
"close": 57858.0
API Call 3 – Logged at 11:42:02
"close": 57858.0
________________________________________

Problem
The same historical candle is returning different close values (57845.2 vs 57858.0).
This should not happen because:
1. The candle is from past date (06-Nov-2025 11:36) so the value must be finalized.
2. My query time ranges are different, but historical data should always remain consistent.
3. Such discrepancies cause issues in backtesting and live strategy decisions.
Request

Kindly investigate and confirm:
• Why does the same candle return different close values?
• Is there a known issue on the historical data backend?
• Can this candle (and related data) be corrected at source?
I can provide complete logs if required.
Looking forward to your support.

------- Logs -------

Line 20331: 11:39:02,141 INFO PID:1 URL: https://api.kite.trade/instruments/historical/9485058/3minute?from=2025-10-27 11:39:02&to=2025-11-06 11:39:02&oi=1 [{"candleTime":"2025-11-06T11:24:00+05:30","open":57862.0,"high":57864.0,"low":57848.0,"close":57848.0,"volume":9310.0,"oi":1806665.0},{"candleTime":"2025-11-06T11:27:00+05:30","open":57848.0,"high":57871.0,"low":57834.4,"close":57866.0,"volume":9030.0,"oi":1809255.0},{"candleTime":"2025-11-06T11:30:00+05:30","open":57866.0,"high":57867.8,"low":57844.0,"close":57859.8,"volume":6335.0,"oi":1813035.0},{"candleTime":"2025-11-06T11:33:00+05:30","open":57859.8,"high":57859.8,"low":57840.0,"close":57846.4,"volume":10360.0,"oi":1819965.0},{"candleTime":"2025-11-06T11:36:00+05:30","open":57846.4,"high":57863.4,"low":57838.6,"close":57845.2,"volume":4935.0,"oi":1823325.0}]


Line 20364: 11:41:58,545 INFO PID:4 URL: https://api.kite.trade/instruments/historical/9485058/3minute?from=2025-10-27 11:41:58&to=2025-11-06 11:41:58&oi=1 [{"candleTime":"2025-11-06T11:27:00+05:30","open":57848.0,"high":57871.0,"low":57834.4,"close":57866.0,"volume":9030.0,"oi":1809255.0},{"candleTime":"2025-11-06T11:30:00+05:30","open":57866.0,"high":57867.8,"low":57844.0,"close":57859.8,"volume":6335.0,"oi":1813035.0},{"candleTime":"2025-11-06T11:33:00+05:30","open":57859.8,"high":57859.8,"low":57840.0,"close":57846.4,"volume":10360.0,"oi":1819965.0},{"candleTime":"2025-11-06T11:36:00+05:30","open":57846.4,"high":57863.4,"low":57838.6,"close":57858.0,"volume":4935.0,"oi":1823325.0},{"candleTime":"2025-11-06T11:39:00+05:30","open":57853.8,"high":57868.0,"low":57845.6,"close":57868.0,"volume":6440.0,"oi":1825145.0}]


Line 21071: 11:42:02,280 INFO PID:1 URL: https://api.kite.trade/instruments/historical/9485058/3minute?from=2025-10-27 11:42:02&to=2025-11-06 11:42:02&oi=1 [{"candleTime":"2025-11-06T11:27:00+05:30","open":57848.0,"high":57871.0,"low":57834.4,"close":57866.0,"volume":9030.0,"oi":1809255.0},{"candleTime":"2025-11-06T11:30:00+05:30","open":57866.0,"high":57867.8,"low":57844.0,"close":57859.8,"volume":6335.0,"oi":1813035.0},{"candleTime":"2025-11-06T11:33:00+05:30","open":57859.8,"high":57859.8,"low":57840.0,"close":57846.4,"volume":10360.0,"oi":1819965.0},{"candleTime":"2025-11-06T11:36:00+05:30","open":57846.4,"high":57863.4,"low":57838.6,"close":57858.0,"volume":4935.0,"oi":1823325.0},{"candleTime":"2025-11-06T11:39:00+05:30","open":57853.8,"high":57868.0,"low":57845.6,"close":57868.0,"volume":6440.0,"oi":1825145.0}]
Sign In or Register to comment.