Options chain data for a specific expiry

I am trying to get the options chain data for the monthly expiries of bank nifty but when I use the api with the below below code I can only get the current week option chain? what changed do I make to get the monthly expiry option chain?

4 replies