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

Please give us time to process your requests. If you're sending too many requests too quickly, we'll respond with a 429 error code (TooManyRequests).

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

The API response headers also give you the following X-RateLimit value

HeaderExampleDescription
X-RateLimit-Reset1406096275The Unix timestamp when the rate limit will be reset.
X-RateLimit-Limit10The rate limit ceiling for your account per sec.
X-RateLimit-Remaining9The number of requests left for the 1-second window.