Problem in extracting option chain

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

regards
Laxmikant

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.

You can refer to this curl request

curl --location 'https://api.upstox.com/v2/option/chain?instrument_key=NSE_EQ%7CINE002A01018&expiry_date=2024-12-26' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {your_access_token}'