Glossary

API Rate Limiting

API rate limiting is a control that caps how many requests a client can send to an API within a time window and rejects the excess.

API Rate Limiting

What Is API Rate Limiting?

API rate limiting is a control that caps how many requests a client can send to an API within a time window and rejects the excess. The client is identified by an API key, a token, a user account or an IP address. Requests over the limit normally receive the HTTP status 429 Too Many Requests.

Why API Rate Limiting Matters

Without a limit, one misbehaving client can take an API down for everyone. A script stuck in a retry loop can send thousands of requests per second, fill the database connection pool, and cause timeouts for every other customer. A rate limit contains the damage to the client that caused it.

How API Rate Limiting Works

The API gateway or the service keeps a counter per client and applies one of a few standard algorithms:

  • Fixed window: allow N requests per clock interval, for example 1,000 per hour.
  • Sliding window: allow N requests in any rolling interval, which avoids bursts at window edges.
  • Token bucket: add tokens at a steady rate and spend one per request, which permits short bursts up to the bucket size.
  • Leaky bucket: queue requests and process them at a constant rate.

Take a limit of 100 requests per minute. A client that sends 130 requests in one minute gets 100 normal responses and 30 responses with status 429. Many APIs also return a Retry-After header. Clients are expected to wait and retry with exponential backoff.

In the software delivery lifecycle, rate limits are set in the API gateway configuration and monitored in production.

How Oobeya Uses API Rate Limiting

Rate limiting is not an Oobeya metric. It relates to Oobeya in one practical way. Oobeya reads data from tools such as GitHub, GitLab, Jira and SonarQube through their APIs, and those vendors apply rate limits to every API client. An outage caused by a missing or misconfigured limit also counts like any other production failure. It raises change failure rate and time to restore service, which Oobeya reports on the Deployments (DORA) tab.

Frequently Asked Questions

What does HTTP 429 mean?

Status 429 Too Many Requests means the client has exceeded the rate limit of the API. The client should wait for the period given in the Retry-After header and then retry.

What is the difference between rate limiting and throttling?

The two words are often used for the same thing. Where a distinction is made, rate limiting rejects requests above a hard cap, while throttling slows or queues them.

Turn Engineering Terms Into Actionable Visibility
Move from definitions to real delivery, quality, workflow, and AI-assisted development signals.
Talk to our experts and see how Oobeya connects the metrics behind your engineering organization.