Skip to content
Article Issue #5246

Rate Limiting

What to know

Rate limiting is a technique API providers use to restrict the number of requests a client can make within a defined time window, such as 1,000 calls per minute per API key; When a client's request count exceeds the limit, the server returns an HTTP 429 (Too Many Requests) response, often with a Retry-After header indicating when the client may resume; Builders consuming external APIs must implement exponential backoff and respect rate limit headers to avoid service disruptions

Rate Limiting, WikiWalls Glossary illustration

« Back to Glossary Index

Rate limiting is a technique API providers use to restrict the number of requests a client can make within a defined time window, such as 1,000 calls per minute per API key. It protects backend services from overload and enforces fair usage across tenants.

How it works

When a client’s request count exceeds the limit, the server returns an HTTP 429 (Too Many Requests) response, often with a Retry-After header indicating when the client may resume. Common algorithms include token bucket, leaky bucket, and fixed window counters.

Key facts

  • HTTP 429: The standard status code returned when a rate limit is exceeded
  • Retry-After header: Indicates the number of seconds before the client should retry
  • Tier-based limits: Paid plans typically receive higher rate limits than free tiers

For builders

Builders consuming external APIs must implement exponential backoff and respect rate limit headers to avoid service disruptions. When building APIs, rate limiting per API key and per IP prevents a single bad actor from degrading service for all users.

Sources

« Back to Definition Index
Administrator · 41 published guides · Joined 2016

Welcome to wikiwalls

The WikiWalls Journal · Free, weekly

One careful fix in your inbox each Wednesday.

No affiliate links inside the diagnosis. No sponsored "top 10". One careful fix per week — unsubscribe in one click.

No tracking pixels · No spam · Edited by a human.