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.

HeaderExampleDescription
ratelimit-reset1406096275Represents the time in Unix timestamp when the rate limit will be reset.
ratelimit-limit10The rate limit ceiling for your organization per second.
ratelimit-remaining9The number of requests left for the 1-second window.
retry-after1The number of seconds to retry since last request.