diff --git a/src/content/docs/fundamentals/api/reference/limits.mdx b/src/content/docs/fundamentals/api/reference/limits.mdx index 5b76bbe43f2892b..5b0c0883a2e5841 100644 --- a/src/content/docs/fundamentals/api/reference/limits.mdx +++ b/src/content/docs/fundamentals/api/reference/limits.mdx @@ -7,4 +7,4 @@ sidebar: import { Render } from "~/components"; - + diff --git a/src/content/docs/support/troubleshooting/http-status-codes/4xx-client-error/error-429.mdx b/src/content/docs/support/troubleshooting/http-status-codes/4xx-client-error/error-429.mdx index 98c6eb4cf114d7d..465e8f34c963e5a 100644 --- a/src/content/docs/support/troubleshooting/http-status-codes/4xx-client-error/error-429.mdx +++ b/src/content/docs/support/troubleshooting/http-status-codes/4xx-client-error/error-429.mdx @@ -18,10 +18,15 @@ Servers use this status code to prevent excessive API requests from overloading ### Cloudflare-specific information -- **Cloudflare API limits** +#### Cloudflare API limits -- **Website end users** +#### R2 managed public buckets + +Cloudflare applies rate limiting to requests for R2 managed public buckets accessed via `r2.dev`. This helps protect customers from abuse and overuse of public buckets. For details, refer to [Rate limiting on managed public buckets through `r2.dev`](/r2/platform/limits/#rate-limiting-on-managed-public-buckets-through-r2dev). + +#### Website end users Cloudflare will generate a `429` response when a request is being [rate limited](https://www.cloudflare.com/rate-limiting/). If visitors to your site encounter this error, it will be visible in the [Rate Limiting Analytics](/waf/reference/legacy/old-rate-limiting/#analytics) dashboard. + diff --git a/src/content/partials/fundamentals/api-rate-limits.mdx b/src/content/partials/fundamentals/api-rate-limits.mdx index 154d95953b444df..fee44e0d8b7fe08 100644 --- a/src/content/partials/fundamentals/api-rate-limits.mdx +++ b/src/content/partials/fundamentals/api-rate-limits.mdx @@ -1,19 +1,24 @@ --- -{} +params: + - showHeading? --- -## API token limits +import { AnchorHeading } from "~/components"; + +{props.showHeading && ( + +)} | Type | Limit | | ----------------------- | ----------------------------------- | -| Client API per user | 1200/5 minutes | +| Client API per user | 1,200/5 minutes | | Client API per IP | 200/second | | GraphQL | Varies by query cost. Max 320/5 min | | User API token quota | 50 | | Account API token quota | 500 | :::note -The global rate limit for the Cloudflare API is 1200 requests per five minute period per user, and applies cumulatively regardless of whether the request is made via the dashboard, API key, or API token. +The global rate limit for the Cloudflare API is 1,200 requests per five minute period per user, and applies cumulatively regardless of whether the request is made via the dashboard, API key, or API token. If you exceed this limit, all API calls for the next five minutes will be blocked, receiving a `HTTP 429 - Too Many Requests` response. :::