If I extract LTP data of some 400 stocks once every 15 minutes starting at 9.30am, then will I go over the prescribed Rate-limit before market hours? Is there a way I can find out how much rate-limit I have used up? This might help in ensuring that rate-limits are not used up. Thanks
Could you assist me in identifying the API used for retrieving the LTP?
Here’s a link to the rate limiting guidelines, which include numbers based on specific time durations: Upstox Rate Limiting Documentation.
To keep track of your API call frequency, you should monitor it through your system, possibly via your logs. If you surpass the prescribed limit, you will receive an error message stating “Too Many Requests Sent.” For more details on common API error codes, visit: Upstox API Error Codes.
Hi, thanks for the response. I use https://api.upstox.com/v2/market-quote/ltp to fetch LTP. I intend to run this once every 15 minutes on a set of 440 stocks. So, by doing so, from 9.15 am to 3.30 pm will it over-run the prescribed limits?
You can process it in batches of 100. It’s advised to ensure that your script stays within the rate limits as outlined here:
Thanks, I will run the script for a day and if limit is exceeded, then run it at 30min or 1h intervals.