Option contracts for equity and index

Hi,

I am new to integrating Upstox API and wondering what should be the best practice to persist Option contracts ?

I downloaded the NSE json file where I have instrument_key.

  1. Can we pass this as param in optionContract API to get all the contracts of the instrument ?
  2. Is there any API that takes List instrument_key and returns contracts of all the instruments in single call ?

Thanks,

@BARCHHA_53429057 Instead of ā€œNSEā€, download the ā€œCompleteā€œ named file and you will get everything there and map options contracts by underlying name.

2 Likes