What Is an API Security Test?
Key takeaways
- Broken object level authorisation is the most common serious API defect, and it appears whenever a record identifier can be changed in the request without a matching ownership check on the server.
- An API penetration test with a valid user account of each role finds more than testing with anonymous access, because authorisation bugs only appear once the request is authenticated as the wrong user.
- Mass assignment is a frequent finding: accepting a whole client-supplied object and binding it straight to the database lets a user set their own role or balance.
- GraphQL and gRPC endpoints need their own depth, batching and field-level checks, because the query surface is larger and a single request can traverse many objects.
- Rate limiting on login, OTP and password-reset endpoints is the control that decides whether credential stuffing and OTP bombing are a nuisance or a breach.
As of 24 October 2026: the service descriptions, prices and turnaround figures on this page are current.
What does an API security test actually test?
Six things, in order. Endpoint discovery, from the OpenAPI or Swagger definition, the client application traffic and the published documentation. Authentication, by testing missing, expired, malformed and wrongly signed tokens, and whether refresh tokens can be replayed. Authorisation, by replaying a legitimate low-privilege request against every other endpoint and role. Object access, by changing identifiers in the path, query string and body, and looking for a response that should not exist. Business logic, such as applying a coupon twice or skipping a payment step. And rate limiting, by sending a controlled burst and observing whether throttling applies per user, per IP and per account.
Which API vulnerabilities matter most in India?
The first three matter most, and they map to Indian regulatory exposure. Broken object level authorisation is a data breach under the DPDP Act, and in a multi-tenant SaaS product it means one customer's data reaching another, which is a contractual and legal problem, not just a technical one. Broken authentication on a payment or lending API is a financial fraud risk that ends up as a complaint with the bank and, for a fintech or an NBFC, with the regulator. Broken function level authorisation on an admin endpoint is a privileged operation executed by an ordinary user. A lesser concern in India is rate limiting, because OTP-based authentication with unlimited attempts is a direct route to account takeover.
How do you test an API safely without breaking production?
Test against a copy, not the live customer environment. Ask for a staging endpoint with anonymised or synthetic data, a set of test accounts at each role, and a way to reset state between runs. Agree the scope in writing: the base URLs, the endpoints in scope, the test accounts, the rate limit for your own testing traffic, and the person to call if something breaks. Ask the team to enable verbose request logging for the test window so you can see exactly which requests your tester generated. For a third-party API you do not own, get a signed authorisation first, because testing an API without permission is a legal problem in India.
| Check | What it proves | Typical finding |
|---|---|---|
| Endpoint enumeration | You know the full attack surface | Undocumented legacy endpoints still live |
| Authentication bypass | Tokens are validated properly | Expired or unsigned JWT accepted |
| Object level authorisation | One tenant cannot read another's data | Changing an ID returns another record |
| Function level authorisation | Admin routes reject ordinary users | Admin endpoint callable by a customer |
| Mass assignment | Client cannot set server-owned fields | Role or balance field writable by the client |
| Rate limiting and throttling | Brute force and OTP bombing fail | No limit on login or OTP endpoints |
| Business logic abuse | The workflow cannot be shortcut | Coupon applied twice or payment step skipped |
What are the frequently asked questions?
Get a straight answer on this
Send us your OpenAPI or Swagger file and we will return a scoped API security test plan with a fixed price and timeline.
Send us the details See pricing