it worked okay for a couple of months up until got these error messages:
“message”:“Rate limited. Please wait and consider throttling your request speed”
I did found something related to rate limit on Cloudflare firewall tab but I didn’t have any rules applied
I tried setting a wait function so it will be 10 seconds each request but it looks like these messages appear random for each zone
Does anyone have an idea where I can throttle my request speed?
I concur, there must be something else running in parallel. Sending 16 API requests (even in two second intervals) is no issue at all, just tested that.
@qbemedia, check for any other API calls. Assuming this 4/second average limit is accurate, there must be something that is using the API heavily. Check your audit log too.