Our platform supports instrument files in two formats: .CSV and .JSON. You can locate the instrument keys for both stocks and indices by visiting the instrument files section here: Instruments | Upstox Developer API.
For additional guidance, this link might be useful: