Historical downloads failing

vijoeyz
There were several downloading failures since yesterday due to Cloudflare outages.

kite.historical_data() API returned the following (excerpt shown) with an DataException.

"There is an internal server error on Cloudflare\'s network."
< href="https://www.cloudflare.com/5xx-error-landing?utm_source=errorcode_500&utm_campaign=api.kite.trade" target="_blank" rel="noopener noreferrer"> Cloudflare\n </>\n \n \n Error\n \n
Please comment on the latest state of this issue.
  • vijoeyz
    It appears that the 60-minute F&O contracts download is failing for me. Examples that fail to download are:
    "token": 9485826,
    "symbol": "NIFTY25NOVFUT",
    "from_date": "2025-06-20 09:15:00",
    "to_date": "2025-07-28 15:30:00",
    "interval": "60minute",
    "token": 23188994,
    "symbol": "IDFCFIRSTB25NOV74PE",
    "from_date": "2025-06-20 09:15:00",
    "to_date": "2025-07-28 15:30:00",
    "interval": "60minute"
    Whereas, the following download is successful:
      "token": 9485826,
    "symbol": "NIFTY25NOVFUT",
    "from_date": "2025-11-09 09:15:00",
    "to_date": "2025-11-14 15:30:00",
    "interval": "minute",
    Please suggest if there is a backend issue? Is it only with my API key?
  • salim_chisty
    You can download the historical data for F&O contracts using continuous data. Continuous data is available only for FUTURE contracts, but not for the options contract. Continous data is only available for the day candle, not for intraday candle minute. You can check out the historical data API documentation here.
  • vijoeyz
    I don't want continuous. Please let me know why there is a failure in downloading 60-minute data.
  • vijoeyz
    Please let me know if you need any debugging data to determine why I have consistent failures in downloading 60-minute NIFTY25NOVFUT, whereas 1-minute NIFTY25NOVFUT is always successful. For 60-minute, the download API simply returns [].
  • vijoeyz
    Can you also check this? https://kite.trade/forum/discussion/15605/missing-historical-data#latest

    Could you please check with the backend team if the 60-minute F&O data is missing as well?
Sign In or Register to comment.