how can i get token number for historical data fecthing through api
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 .
Here are example codes to get historical data for your reference.