Skip to main content

Cloud & Branch Connector API Rate Limits

In Cloud & Branch Connector API, every endpoint and operation has two rate limit types:

  • A lower bound limit that protects against a high volume of requests over a short period of time.
  • An upper bound limit that protects against a high volume of requests over a long period of time.

Every endpoint has a weight, and every weight has a default rate limit. The following table provides the typical assignment for each weight. However, specific operations can have a different weight from these typical values.

WeightTypical AssignmentRequests/secondRequests/minuteRequests/hour
HeavyDELETE-140
MediumPOST, PUT1-400
LightGET2-1,000

As a best practice, after each call to an endpoint, make sure your script includes a wait (or sleep) period. For example, in Python, use the time.sleep() function. When the rate limit is exceeded, a 429 HTTP error message is returned with a Retry-After response in the Body. For example:

{
"message": "Rate Limit (1/SECOND) exceeded",
"Retry-After": "0 seconds"
}