Not getting data from Option contracts and chain API

Whenever I try to get the data from the contracts and chain API, I do not get any data although the status shows success.

For the same instrument key, If I run the WebSocket and get the live options data it’s coming.

intrumentkey=NSE_FO|41032

As outlined in the API Documentation | Option Contracts, the option contract API is utilized to retrieve option contracts for a specified underlying symbol. The example NSE_FO|41032 provided is an individual contract; therefore, please use a valid financial instrument such as NSE_INDEX|Nifty 50 or NSE_INDEX|Nifty Bank to obtain a list of option contracts.

The same goes for Option Chain API.

Also do refer to Example Codes for further assistance.

Thank you

1 Like