Academy/Abuse/Rate Limit Abuse
Medium severityAbuse

Rate Limit Abuse

Rate limit abuse is when a client — human or bot — sends requests to your API at a volume or speed no legitimate user would reach. Left unchecked, it can exhaust your server resources, inflate your cloud costs, degrade performance for real users, or be used as cover to probe for vulnerabilities.

Think of it this way

Imagine a single customer who walks into your shop and demands to be served 5,000 times per minute, blocking the queue for everyone else. Your staff cannot serve real customers because this one person is monopolising all the counter time. That is what an API under rate-limit abuse looks like.

How it works

Attackers (or misconfigured clients) send requests at machine speed — hundreds or thousands per second — either to a specific endpoint or across your entire API. This can be intentional (DDoS, resource exhaustion) or exploratory (probing for hidden endpoints or testing input combinations). Distributed attacks use many IPs to avoid per-IP limits.

Real-world scenarios

Scenario 1

Cost inflation attack

A bad actor hammers a fintech's loan eligibility check endpoint — which makes expensive third-party credit bureau API calls — at 500 requests per second. The company's credit bureau bill for that hour exceeds ₦2 million.

Scenario 2

Competitive disruption

A competitor floods a marketplace's search API during peak shopping hours, causing it to time out for real users — effectively sabotaging a competitor's sales day.

How Anomira detects this

Anomira monitors request rates per IP, per user, and per endpoint. When any of these exceed configurable thresholds within a time window, it fires an alert and can automatically throttle or block the source.

What to do

  • Implement rate limiting at your API gateway or middleware layer — not just in your application code.
  • Set per-IP, per-user, and per-endpoint limits appropriate to legitimate usage patterns.
  • Return HTTP 429 (Too Many Requests) with a Retry-After header rather than silently dropping requests.
  • Use Anomira's block feature to cut off abusive IPs automatically.
  • For expensive operations (credit checks, AI calls), add per-account daily quotas regardless of speed.

Related attacks

See this attack in your live API traffic

Anomira detects rate limit abuse automatically — no configuration needed.