Instrument_key not found from complete instrument csv files

Hi Team,

I am trying to fetch instrument_key of NIFTY for this expiry date “2025-06-26”.
Not able to found the key.
I am using this url- https://assets.upstox.com/market-quote/instruments/exchange/complete.csv.gz

Could you please help here.

Thanks
Rahul

Hi @Anand_Sajankar

Could you please check?

Thanks
Rahul

Hi @rahul, Could you please help with the specific instrument key that you are looking for, I can see the NIFTY instruments for 2025-06-26

Also, we recommend using the JSON file instead as CSV file will be deprecated in near future.

For more information, please refer to this link: Instruments | Upstox Developer API

Additionally, kindly refer to the note provided on the page.

Thanks

Hi @Anand_Sajankar

I got the same intrument keys but problem is it will give the NIFTY2562625250CE
like this. am i right?

if i am trying to fetch for expiry 2025-07-03 the symble is coming like
‘NIFTY2570325050CE’, ‘NIFTY2570325250CE’, ‘NIFTY2570325150CE’, ‘NIFTY2570325100PE’, ‘NIFTY2570325150PE’

so for 2025-06-26 expiry date why it is not coming like this?

Thanks
Rahul

Hi @rahul, It depends on the monthly or weekly symbol. It’s highly recommend to use Instrument JSON files

Hope this clears things up. Thank you!

1 Like

sirjee kya apna mail id nai de sakte jahan mein code bhej ke usko thik karwa sakoon