NSE Options Historical Data Instrument Token

paritraders
As the instruments tokens are reused for weekly expiry, how do I get the instrument token value for a particular contract for NSE Options if I want to fetch historical data for it? As I understood, kite api query for historical data requires instrument-token to be passed to it. please point me in the right direction. thanks in advance.
This discussion has been closed.