Rate limit
AfterShip API imposes a rate limit of 10 requests per second per organization to ensure optimal performance. For further details on our rate limits and guidance on their usage, please refer to the information below.
Kindly allow us time to process your requests. Exceeding the permitted number of requests within a specific timeframe will result in a 429 error code (Too Many Requests). Each organization is restricted to 10 requests per second by default.
The API response headers also give you the following ratelimit
value.
Header | Example | Description |
---|---|---|
ratelimit-reset | 1406096275 | Represents the time in Unix timestamp when the rate limit will be reset. |
ratelimit-limit | 10 | The rate limit ceiling for your organization per second. |
ratelimit-remaining | 9 | The number of requests left for the 1-second window. |
retry-after | 1 | The number of seconds to retry since last request. |