Skip to main content
Slows the connection down before it runs into an API’s rate limit. After each response, this plugin reads a header that tells it how many requests you have left. When that number drops to or below the threshold you set, it pauses for the number of seconds you choose before continuing. Use this with APIs that report a remaining request count, such as a X-RateLimit-Remaining header, so a long sync backs off on its own instead of being blocked with rate-limit errors.

Fields

Sample data

This plugin pauses the connection based on response headers rather than transforming data, so there is no before/after to show. The example below watches X-RateLimit-Remaining, and whenever it reports 5 or fewer requests left, the connection waits 60 seconds before continuing.
FieldValue
Header in response that tells remaining requestsX-RateLimit-Remaining
Threshold to start sleeping5
Time to sleep in seconds60