Request limits

Stenn API implements various protective measures to ensure its stability against sudden influxes of traffic. Partners sending multiple rapid requests may encounter error responses with a status code of 429. Our rate limiter will only allow up to 100 read operations per second and 100 write operations per second in live mode, and 25 operations per second for each in test mode.

Handling limits gracefully

To handle request limits smoothly, you can monitor for 429 status codes and incorporate a retry mechanism. This mechanism should adopt an exponential backoff strategy to decrease request frequency when needed. Additionally, introducing some randomness into the backoff timing can help prevent the thundering herd problem.


What’s Next