To ensure the quality and stability of Galley's services, rate limiting is enforced on calls to the Galley API. The limit is set to 200 requests per 5-minute period from each unique IP address. Exceeding the allotment will result in a 403 response with the message "This request had been blocked due to rate limits." If the error is received, please wait to make additional requests until the appropriate amount of time has passed and try again.
When writing a script that may exceed this number of requests, we recommend implementing a delay of 2 seconds between each request to ensure the limit is not reached.