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:

  • Ratelimit: List of service limit items, composed of the limit name, the remaining quota (r) and the time next window resets (t). For example: "default";r=50;t=30
  • Ratelimit-Policy: List of quota policy items, composed of the policy name, the total quota (q) and the time window the quota applies to (w). For example: "burst";q=100;w=60
  • retry-after: The number of seconds, rounded up, until more capacity is available. Note, this header is only returned when the request has exceeded the rate limit.

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