Rate Limit Information Returned by the Cloud Controller API

The Cloud Controller API includes rate limit information in the HTTP header. Each header includes the following:

X-RateLimit-Limit: 60
X-RateLimit-Remaining: 56
X-RateLimit-Reset: 1372700873

Use this table to understand the rate limit header.

Field Value Description
X-RateLimit-Limit The maximum number of attempts per User Account and Authentication (UAA) user, if a user is authenticated. The maximum number of attempts per IP address, if no user is authenticated.
X-RateLimit-Remaining The number of attempts remaining.
X-RateLimit-Reset The time remaining before the rate limit counter resets, in UTC epoch seconds.

When requests exceed the rate limit value, the Cloud Controller API returns a 429: Too Many Requests error code.

Create a pull request or raise an issue on the source for this page in GitHub