How to extract old expiry data for NIFTY/ BANKNIFTY

HI,

I need old expiry date data for backtesting. How can I get that?

https://unofficed.com/nse-python/documentation/nsepy/#derivative_history

Hi dexter,

Thanks for quick response.
This is also useful info, But I’m looking for the data of perticular strick price.
Ex. Expiry of 11 May 2023 with strick price of 17900.

Show me when you can see that info in NSE website. I will point out which API endpoint is using that in my library.

I’m not finding that on nse website.

Then it is undo-able by this API. This is just wrapper over NSE.