Skip to content
Cloudflare Docs

Rate limits

API token limits

TypeLimit
Client API per user/account token1200/5 minutes
Client API per IP200/second
GraphQLVaries by query cost. Max 320/5 min
User API token quota50
Account API token quota500

Some specific API calls have their own limits and are documented separately, such as the following:

Enterprise customers can also contact Cloudflare Support to raise the Client API per user, GraphQL, or API token limits to a higher value.

Rate limiting headers

The following headers are returned when calling REST APIs:

  • x-ratelimit-limit: The total number of requests a caller can make.
  • x-ratelimit-remaining: The number of remaining requests before the rate limit takes effect.
  • retry-after: The number of seconds, rounded up, until more capacity is available.
  • x-ratelimit-reset: The RFC 1123 formatted date when more capacity is available.

Cloudflare's SDKs will also automatically work with the headers and back off in response to rate limits.