Skip to main content

Rate Limiting

The Distribution Hub API applies a general throttling rule to all API methods. The methods listed below have additional method-specific rules.

Throttling rules​

The rules apply to all API users. The time frame is shown in HH:MM:SS.

API methodLimit typeRequest limitTime frame
All API methods (general rule)Concurrent2000:30:00
Pull_GetLocationDetails_RQConcurrent100:05:00
Pull_GetPropertyAvbPrice_RQConcurrent1000:30:00
Push_CancelReservation_RQConcurrent4000:30:00
Push_ModifyStay_RQConcurrent4000:30:00
Push_PutConfirmedReservationMulti_RQConcurrent4000:30:00

The Concurrent rules limit the number of requests that can be processed at the same time. The Rate rule limits the number of requests allowed during the stated time frame.

Responses when a limit is reached​

When a channel reaches a throttling limit, the API returns an XML response containing one of these status IDs:

Status IDMeaningResponse message
-5Concurrent request limit reachedThis request was rate limited. Maximum concurrent requests allowed for this API method with specified parameters is {limit}. You have reached this limit. Please try again.
-6Request rate limit reachedThis request was rate limited. Maximum number of requests allowed for this API method with specified parameters is {limit} per {time frame} sliding window. You have reached this limit. Please try again.

Always inspect the status in the XML response. After receiving status -5, retry only when an in-progress request has completed. After receiving status -6, wait for capacity to become available in the sliding time window before retrying.

More capacity

If your channel requires more API capacity, contact apisupport@rentalsunited.com.