apaleo / announcements

Subscribe to this repo to be notified about changes in the apaleo API
15 stars 1 forks source link

Update on Rate Limits - September 2023 #110

Open dario-apaleo opened 1 year ago

dario-apaleo commented 1 year ago

On the 25th of September, at 10AM CET / 8AM UTC a new set of rules to limit the access to our APIs will be introduced.

As part of our commitment to deliver an scalable and stable platform to all of our customers, we are updating our limits quotas and introducing rate limits by endpoints.

What are rate limits?

Rate limits are maximum number of requests to our APIs allowed in a given period.

apaleo sets them at two different levels:

Every request performed increases a global counter and if required, increases the endpoint counter. This allows us to have a healthy platform ensuring all customers, not matter their size fair access to their resources.

The new set of limits are:

For Live accounts:

Globally

A total of 3500 requests/minute with 100 requests/second on average and a burst of up to 200 requests/second

Endpoints

API Endpoint Limit Period
PUT /rateplan/.+/rate-plans/.+/rates 150 60 min
PUT /rateplan/.+/rate-plans/.+/rates 50 20 min
PATCH /rateplan/.+/rates 200 1 min
PATCH /booking/.+/bookings/.+ 20 5 min
PATCH /booking/.+/reservations/.+ 20 5 min

For Dev and Trial accounts:

Globally

A total of 200 requests/minute with 5 requests/second on average

Endpoints

API Endpoint Limit Period
PUT /rateplan/.+/rate-plans/.+/rates 30 60 min
PUT /rateplan/.+/rate-plans/.+/rates 10 20 min
PATCH /rateplan/.+/rates 50 1 min
PATCH /booking/.+/bookings/.+ 5 5 min
PATCH /booking/.+/reservations/.+ 5 5 min

You can find more information about rate limiting here.