Option/chain not returning data

Hi Team,

I am getting blank array for data for /option/chain API call.
{{baseUrl}}/option/contract?instrument_key=NSE_INDEX|Nifty Bank&expiry_date=2024-08-14
returned

{
“name”: “BANKNIFTY”,
“segment”: “NSE_FO”,
“exchange”: “NSE”,
“expiry”: “2024-08-14”,
“weekly”: true,
“instrument_key”: “NSE_FO|54958”,
“exchange_token”: “54958”,
“trading_symbol”: “BANKNIFTY 50700 PE 14 AUG 24”,
“tick_size”: 5.0,
“lot_size”: 15,
“instrument_type”: “PE”,
“freeze_quantity”: 900.0,
“underlying_key”: “NSE_INDEX|Nifty Bank”,
“underlying_type”: “INDEX”,
“underlying_symbol”: “BANKNIFTY”,
“strike_price”: 50700.0,
“minimum_lot”: 15
},

When I call following API
{{baseUrl}}/option/chain?instrument_key=NSE_FO|54958&expiry_date=2024-08-14

It returns blank data
{
“status”: “success”,
“data”:
}

I got this working with
{{baseUrl}}/option/chain?instrument_key=NSE_INDEX|Nifty Bank&expiry_date=2024-08-14

1 Like

Thanks for letting us know that it’s working for you :+1: