Rate limit
AfterShip Personalization API employs rate limits 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 frequent requests, we'll respond with a 429 error code (TooManyRequests). Additionally, the API response headers give you the following ratelimit value:
Header | Example | Description |
---|---|---|
ratelimit-reset | 1406096275 | The Unix timestamp when the rate limit will be reset. |
ratelimit-limit | 50 | The rate limit ceiling for your account per second. |
ratelimit-remaining | 49 | The number of requests left within the 1-second window. |
Each account has default request rate limits across different routes. In practice, It’s crucial to authenticate users whenever possible to ensure these limits remain well beyond their reach.
Method | Route | Ratelimit-limit |
---|---|---|
POST | /discoveries/recommend | 50 |
POST | /discoveries/suggest | 50 |
POST | /discoveries/search | 50 |
POST | /discoveries/tagging | 10 |