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.
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 account per second. |
ratelimit-remaining | 9 | The number of requests left for the 1-second window. |