BSE500 Data fetch Issue

anujdarji
We are trying to fetch the data for BSE500 (Instrument Token: 276745) for 19th November 2025, but the API is returning an empty response.
Could you please check and provide the reason behind this issue?

Below please find the code which is working fine for Nifty 50 but not for BSE500.

!pip install kiteconnect

from kiteconnect import KiteConnect
import pandas as pd

kite = KiteConnect() # we have entered api key and access token to login

instruments = kite.instruments()

bse500 = [x for x in instruments if x['tradingsymbol'] == 'BSE500']

[{'instrument_token': 276745,
'exchange_token': '1081',
'tradingsymbol': 'BSE500',
'name': 'BSE INDEX BSE500',
'last_price': 0.0,
'expiry': '',
'strike': 0.0,
'tick_size': 0.0,
'lot_size': 0,
'instrument_type': 'EQ',
'segment': 'INDICES',
'exchange': 'BSE'}]

import datetime
from zoneinfo import ZoneInfo
start_date = datetime.datetime(2025, 11, 19, 0, 0, 0, 0, tzinfo=ZoneInfo('Asia/Calcutta'))
end_date = datetime.datetime(2025, 11, 19, 23, 59, 0, 0, tzinfo=ZoneInfo('Asia/Calcutta'))
end_date, start_date

bse500_yesterday_data = kite.historical_data(instrument_token='276745', interval='day',
from_date=start_date,
to_date=end_date)

bse500_yesterday_data

[] # Empty

n50 = [x for x in instruments if x['tradingsymbol'] == 'NIFTY 50']

[{'instrument_token': 256265,
'exchange_token': '1001',
'tradingsymbol': 'NIFTY 50',
'name': 'NIFTY 50',
'last_price': 0.0,
'expiry': '',
'strike': 0.0,
'tick_size': 0.0,
'lot_size': 0,
'instrument_type': 'EQ',
'segment': 'INDICES',
'exchange': 'NSE'}]

nifty_50_yesterday_data = kite.historical_data(instrument_token='256265', interval='day',
from_date=start_date,
to_date=end_date)
nifty_50_yesterday_data

[{'date': datetime.datetime(2025, 11, 19, 0, 0, tzinfo=tzoffset(None, 19800)),
'open': 25918.1,
'high': 26074.65,
'low': 25856.2,
'close': 26052.65,
'volume': 0}]

Using the same source code, we were able to retrive data of 17th November and Before, but after that day we are getting such error to retrive data of 18, 19 and 20 November Data
  • nagavenij
    We're checking this and will provide an update shortly.
  • anujdarji
    anujdarji edited November 21
    Thanks @nagavenij. Waiting for your response.
    Just FYI, I can able to retrive LTP. Only issues while fetching histrocial data from date 18th November
  • anujdarji
    Hello,
    Please provide any update on this
Sign In or Register to comment.