API call limit
Automated tasks that pause and resume are the best way to stay within the API call limit because you don't need to wait while things get done.
This article will show you how to tell your program to take small pauses to keep your app a few API calls shy of the API call limit and to guard you against a 429 Too Many Requests error.
Avoiding 429 Too Many Requests errors
You can check how many calls you've already made using the EasyStore header that was sent in response to your API call.
Some things to remember:
X-RateLimit-Remaining
lists how many calls left that you can made for that particular shop.X-RateLimit-Limit
lists the maximum limit calls that you can made for that particular shop.