Skip to content

Glossary · Backend

What is rate limiting?

Rate limiting caps how many requests a client can make to an API or endpoint within a period of time. Requests over the limit are rejected, typically with HTTP status 429 Too Many Requests, protecting the service from abuse, accidental overload and runaway costs.

Source: MDN: 429 Too Many Requests

Why it matters

Without limits, one buggy integration or one attacker can slow a service down for everyone, or run up a large bill on paid APIs and AI models.

Good rate limits are per user or per key, clearly communicated in headers and generous enough not to block legitimate use.

Example

// in practice

A login endpoint allows five attempts per minute per account, slowing down password-guessing attacks.

Go deeper

Next step

Need this done properly?

Tell us what you are building. A senior engineer replies within one business day with specific, honest next steps.

First reply
Within 1 business day
Typical start
1–2 weeks
Pricing
Fixed price per phase
You own
All code and accounts