Skip to main content
Back to the wiki
Detection & Defense

What Is Rate Limiting?

Last updated on July 21, 2026

Rate limiting is a control that caps how many requests a client may send to a service within a given time window — for example, one hundred API calls per minute or five login attempts per hour. Requests beyond the limit are rejected, delayed, or challenged. Rate limiting protects infrastructure from overload, keeps costs predictable, and slows down abusive automation.

How Rate Limiting Works

A rate limiter tracks request counts per client key — typically an IP address, API token, user account, or session — and enforces a budget using algorithms such as fixed windows, sliding windows, or token buckets that allow short bursts while capping sustained throughput. Limits can be layered: a generous global ceiling for infrastructure protection, tighter budgets on expensive endpoints, and strict per-account rules on authentication routes. Well-designed APIs communicate limits through response headers and 429 Too Many Requests status codes so legitimate clients can back off gracefully.

What Rate Limiting Protects Against

Against infrastructure abuse, rate limiting is highly effective: it blunts request floods, keeps scrapers from monopolizing capacity, and contains runaway clients caused by bugs rather than malice. On authentication endpoints it slows brute force attacks by limiting how fast passwords can be guessed from any one source.

The Limits of Rate Limiting

The control is only as good as the key it counts by. Attackers who distribute traffic across a botnet or rotate through residential proxies present thousands of fresh IP addresses, each comfortably under any per-IP budget. Credential stuffing campaigns pace themselves to stay below thresholds by design. Overly strict limits meanwhile punish legitimate users behind shared corporate or carrier-grade NAT addresses, where many real people share one IP. Rate limiting is therefore a volume control rather than an intent control: it decides how much traffic gets through without knowing who sent it. Distinguishing human visitors from distributed automation requires the complementary layer of per-request verification — the role bot detection services such as CaptchaFox play alongside rate limits, by checking browser environment and behavioral signals on the requests that limits alone would let through.

About CaptchaFox

CaptchaFox is a GDPR-compliant solution based in Germany that protects websites and applications from automated abuse, such as bots and spam. Its distinctive, multi-layered approach utilises risk signals and cryptographic challenges to facilitate a robust verification process. CaptchaFox enables customers to be onboarded in a matter of minutes, requires no ongoing management and provides enterprises with long-lasting protection.

To learn more about CaptchaFox, talk to us or start integrating our solution with a free trial.

Related terms

What Is TLS Fingerprinting?

TLS fingerprinting identifies client software by how it negotiates encryption — exposing bots that lie in their user agent before a single page loads.

Read more
What Is a Bot?

A bot is a software program that performs automated tasks on the internet — some keep the web running, others drive spam, fraud, and large-scale attacks.

Read more
What Is a Botnet?

A botnet is a network of compromised devices controlled by an attacker and used for coordinated attacks, fraud, and proxy infrastructure.

Read more
What Is a Browser Automation Framework?

A browser automation framework is software that controls a real browser programmatically — built for testing, and repurposed by bots at scale.

Read more

Fight bots and protect your users' data.

Don't give fraudsters and spammers a chance and protect your website with CaptchaFox today.

CaptchaFox protecting websites on desktop and mobile devices