diff --git a/src/content/docs/fundamentals/api/reference/limits.mdx b/src/content/docs/fundamentals/api/reference/limits.mdx index 5b0c0883a2e5841..8685ea644303716 100644 --- a/src/content/docs/fundamentals/api/reference/limits.mdx +++ b/src/content/docs/fundamentals/api/reference/limits.mdx @@ -8,3 +8,14 @@ sidebar: import { Render } from "~/components"; + +## 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.