Rate limit

AfterShip API has a rate limit of 10 requests/second per account to optimize performance. Learn more about our rate limits and how to use them below.


Please give us time to process your requests. If you send too many requests within a certain timeframe, we’ll respond with a 429 error code (TooManyRequests).

You are limited to only 10 requests/second per account. Practically, this means you must authenticate users when possible to keep the limits well outside the reach of a given user.

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 account per second.
ratelimit-remaining9The number of requests left for the 1-second window.
retry-after1The number of seconds to retry since last request.