---
title: "API rate limits documentation template | HelpCenterKit"
canonical: https://helpcenterkit.com/templates/api-rate-limits-article
last_modified: 2026-11-10
publisher: Surge Software Solutions Private Limited
---

# API rate limits documentation template | HelpCenterKit

> Rate-limit docs should give the exact limits per plan or key, the response headers that show usage, what a 429 response looks like, and a retry pattern with exponential backoff that honours the Retry-After header. Developers copy code from this page, so include a working example.

**For:** Developer platforms and SaaS with a public API · Updated 10 Nov 2026

Rate-limit docs should give the exact limits per plan or key, the response headers that show usage, what a 429 response looks like, and a retry pattern with exponential backoff that honours the Retry-After header. Developers copy code from this page, so include a working example.

Developers usually discover rate limits when production breaks. Clear documentation, with limits in a table and a copy-paste retry example, turns a 2 am incident into a config change. Use the same header names in docs and responses, and keep the page versioned with your API.

## What the article must cover
- Limits per plan, per key or per IP, and the time window.
- Response headers.
- The 429 response body.
- Retry with exponential backoff and Retry-After.
- Tips: batching, webhooks instead of polling, caching.
- How to request a higher limit.

## Template (copy and replace the [brackets])

```markdown
# Rate limits

Each API key can make a limited number of requests per minute. Limits protect the service for everyone.

| Plan | Requests per minute | Burst |
| --- | --- | --- |
| [Free] | [60] | [10 per second] |
| [Pro] | [600] | [50 per second] |
| [Enterprise] | [Custom] | [Custom] |

## Headers on every response
- **X-RateLimit-Limit**: your limit for the current window.
- **X-RateLimit-Remaining**: requests left in the window.
- **X-RateLimit-Reset**: when the window resets (Unix time, seconds).

## When you go over
You get **HTTP 429 Too Many Requests** with a **Retry-After** header (seconds):

    { "error": { "code": "rate_limited", "message": "Too many requests. Retry after 12 seconds." } }

## Retry safely
Wait for Retry-After if it's present; otherwise back off exponentially with jitter:

    async function withRetry(fn, tries = 5) {
      for (let i = 0; i < tries; i++) {
        const res = await fn();
        if (res.status !== 429) return res;
        const wait = Number(res.headers.get("Retry-After")) * 1000 || 2 ** i * 500 + Math.random() * 250;
        await new Promise((r) => setTimeout(r, wait));
      }
      throw new Error("Rate limited after retries");
    }

## Use fewer requests
- Use [bulk endpoints] for up to [100] records per call.
- Subscribe to [webhooks] instead of polling for changes.
- Cache responses that don't change often.

## Need more?
Write to [api@example.com] with your use case and expected peak requests per minute.
```

## Mistakes to avoid
- Different header names in the docs and the real responses.
- No Retry-After header, forcing developers to guess.
- Retry examples without jitter, which make every client retry at the same moment.

## Questions

### Which HTTP status code should signal a rate limit?

429 Too Many Requests, defined in RFC 6585, ideally with a Retry-After header telling the client how long to wait.

### What is exponential backoff with jitter?

Waiting longer after each failed retry (for example 0.5, 1, 2, 4 seconds) plus a small random delay, so many clients don't retry in lockstep.

### Should rate limits be per key or per IP?

Per key for authenticated APIs, so limits follow the customer; per IP for unauthenticated endpoints such as login, to slow abuse.

## Sources
- [RFC 6585: Additional HTTP Status Codes (429)](https://www.rfc-editor.org/rfc/rfc6585) — checked 10 Nov 2026

Related templates: /templates/integration-setup-article, /templates/troubleshooting-article-template, /templates/release-notes-template · All templates: /templates · Free generator: /templates/generator

Publish it: HelpCenterKit lets you save this as an article template, send it for approval and publish it to a help center where readers get AI answers that cite it. Free for your first 15 days: /signin?signup=1
