Home / Knowledge hub / API abuse
Knowledge hub
API abuse
Using an API as designed but at a scale or in a way that harms you.
What it means
API abuse is using an API in the way it was built to be used, but for a purpose or at a volume that harms you. Nothing is broken. A script calls a public search endpoint a million times, or an account creates thousands of free trials. No password is guessed and no weakness is exploited; the API simply does what it is asked, over and over.
That is what separates it from a vulnerability. There is no bug to patch. The behaviour is allowed, and the only question is whether you set sensible limits on how much, how fast and by whom. That makes it a design and monitoring problem more than a coding one, and fixing it takes a decision about what normal use looks like.
Why it matters
The costs are practical: scraped catalogues and customer lists, inflated cloud bills, free credit farmed away, inventory held by bots, and genuine customers slowed down. OWASP groups the sensitive cases under unrestricted access to sensitive business flows, and the resource cases under unrestricted resource consumption. Every one of these shows up on a bill or a dashboard, not in a security alert.
Because each request is valid, tools that look for attacks see nothing wrong. You often find out through a bill, a complaint or a competitor who suddenly knows your prices. Customers notice before the dashboards do. A competitor who suddenly matches your prices or a surprise cloud invoice is often the first alert you get.
How it shows up
You meet it in sign-up, search, price and stock lookups, password reset, referral, voucher and export features, and anywhere an action has a value. Typical gaps are limits keyed only on IP address, no cap per account, no check for automation, and no alert when usage jumps.
Responses combine controls: rate limits per account and per action, quotas, bot detection on sensitive flows, step-up checks such as a code, usage alerts, and a way to revoke a key quickly. Decide which actions are valuable first, then protect those. See also business logic flaws.
Questions people ask
API abuse, answered
Is API abuse a vulnerability?
Not in the usual sense, since the API works as designed. It is a gap in limits, monitoring or business rules.
It is still worth reporting when a test shows how much harm one account can do.
How is API abuse different from a denial of service?
Denial of service aims to make the service unavailable. Abuse usually aims to profit from it, through scraping, free credit or hoarding.
The two can overlap when the volume is high enough to degrade the service.
Why don't a WAF and standard rules stop it?
Each request looks normal and carries valid credentials or none are needed. The harm only shows in the pattern over time.
Controls that understand accounts, actions and quotas work better.
What should we limit first?
Start with actions that have a cost or a value: sign-up, vouchers, exports, search, messages and anything that sends an SMS or email.
Set limits per account as well as per address.
How do we spot API abuse early?
Track volume per account and per key, watch for sudden jumps and odd hours, and alert on sensitive actions repeated quickly.
Share a dashboard with finance and support so unusual bills and complaints reach you sooner.
Related
Terms that sit next to this one
API rate limiting
Capping how many calls a client can make so abuse and cost stay bounded.
Unrestricted resource consumption
API calls that can use unlimited CPU, memory, money or third-party credits.
Bot traffic
Automated visitors that scrape, stuff credentials or buy stock before real customers.
Scraping
Automatically copying large amounts of data from your site or API.
Business logic flaw
Nothing is technically broken, but your own rules turn against you.
How much can one account do?
Business-logic abuse leaves no signature, so scanners miss it. We check what one signed-in account can do repeatedly or in the wrong order, and show the exact requests that prove it. Book a pilot on one app.
Or start with a $199 pilot on one application: thirty days, success criteria agreed before day one, credited against the annual if you convert.