Hello,
I am trying to get the option chain through my program. I am able to get the access token (which is very long text). I passed the access token to the following url.
“https://api.upstox.com/v2/option/chain?instrument_key=NSE_FO|RELIANCE&expiry_date=2024-12-26”
It gives me response as "{“status”:“success”,“data”:}
i.e. NO Data.
Please guide me whether url i am giving is in correct format or do i have to make changes in the code
Hi @LSAPTE
You are using an invalid instrument key, which is why you are receiving empty data. Please use the correct instrument keys as specified in this JSON file.