Use https://margincalculator.angelone.in/OpenAPI_File/files/OpenAPIScripMaster.json to retrive the data of all the tradable instruments. You can read the documentation here https://smartapi.angelbroking.com/docs/Instruments