As of now if we query kite.instruments(), we get everything. Can you please support more options in the query?
Like, kite.instruments(type=Index) << Gets a list of all indices kite.instruments(segment=nsefo-fut) << Gets a list of all the scrips in futures kite.instruments(underlying=nifty 50) << Gets a list of scrips that are under nifty 50
I just gave some examples. The actual API can be anything that suits you.
It is already available now, you can pass NFO as the exchange to fetch only F&O instruments. We will add a route for indices dump soon.