To ensure that all Rydoo customers who interact with the Rydoo API continue to have a good experience, we limit the number of requests a client can send to the API within a period of time.
| Request | Endpoint URL | Limit | Timeframe | Rate Limit Block |
|---|---|---|---|---|
| POST | accounts.rydoo.com/connect/token | 25 | 1 minute | 1 minute |
| GET, POST, PUT | api.rydoo.com/v2/groups | 150 | 1 minute | 1 minute |
| All other GET, POST, PUT, PATCH and DELETE | api.rydoo.com/v2/ | 500 | 1 minute | 1 minute |
If the API client exceeds the allowed number of requests, the response of the Rydoo API returns a status code 429. And you can't use the request for a minute until it refreshes. Please, find below some useful tips on how to optimize the integration with the Rydoo API.
*Note: the rate limit is subject to change at any time without prior communication.
Cache access token
The access token that is returned from the *accounts.rydoo.com/connect/token endpoint can be cached and used for up to 5 minutes. This is advised when performing bulk operations.
Retry method
When an API client is sending requests that are going above the allowed rate limit the response of the request will be status code 429. It is possible to implement retry policies based on this status code.