Yes, data APIs do work for indices as well. Over here, you have to enter the correct security ID as per the Scrip Master List to be able to fetch the index OHLC.
For example, to fetch BANKNIFTY, “securityID” = “25” and “exchangeSegment” = “IDX_I”
Can you please share the response received at your end - whether it was a blank data frame or an error code. Along with that, can you also help me with the particular time when you called this API.
Understood. We have noted this error as this is not an intended behavior since there is no such downtime on weekends. We will try to replicate this at our end and deploy fixes, if required.