What is in scope
We scope an API test by its endpoints, roles and authentication methods. A typical test covers:
- REST endpoints, usually from your OpenAPI or Swagger file, and GraphQL schemas, queries and mutations
- Authentication: API keys, OAuth 2.0 flows, JSON Web Tokens and session tokens
- Authorisation on every object, property and function, across roles and customer organisations
- Rate limiting and resource limits on expensive or sensitive operations
- Input handling, including injection and server-side request forgery
- Webhooks, callbacks and calls your API makes to third parties
- Old versions and undocumented endpoints that are still reachable
Out of scope unless agreed: third-party APIs you call but do not own, load and denial-of-service testing, and the front end that uses the API. If the API serves a web or mobile app, we can test it together with the web application or mobile app.
How we test
Our checklist is the OWASP API Security Top 10 (2023). The categories that matter most in practice are:
- API1 Broken Object Level Authorization: changing an ID in a request to reach another customer’s record
- API2 Broken Authentication: weak token handling, missing expiry and brute-forceable sign-in
- API3 Broken Object Property Level Authorization: responses that return too much, or updates that accept fields a user should not set
- API4 Unrestricted Resource Consumption: no limits on requests, page sizes or costly operations
- API5 Broken Function Level Authorization: admin functions a normal user can call
- API6 Unrestricted Access to Sensitive Business Flows: automating flows such as sign-up or purchasing in harmful ways
- API7 to API10: server-side request forgery, security misconfiguration, poor inventory of versions and endpoints, and unsafe use of third-party APIs
Most of the work is manual. We call each endpoint as each role, then with another organisation’s IDs, and compare the results. For GraphQL we also look at introspection, query depth and batching. Planning, rules of engagement and reporting follow NIST SP 800-115.
Our sample report includes a fictional example of the most common API finding: a signed-in user reading another organisation’s invoices by changing an ID.
What you receive
- An executive summary with the overall risk and the most important findings, written so you can share it with customers
- The scope, dates, approach and methodology, so a reader knows exactly what was tested
- Each finding with the affected assets, steps to reproduce, evidence and impact
- A CVSS-based severity rating for each finding, adjusted for your business context
- Specific remediation guidance your engineers can act on, with references
Critical findings are reported to you straight away, not saved for the report. After delivery we walk your team through the results in a debrief. A retest of fixed findings can be included in the same proposal: we retest within 48 hours of you telling us your fixes are ready, and update the report to show which issues are resolved. You can look through our sample penetration test report to see the level of detail.
Timeline and price
For a focused scope, an API test typically takes about 1 week of testing. A large API, several authentication methods or many roles take longer. We confirm the testing days and dates in your proposal.
There is no published price. After a scoping call we send a written proposal with a fixed price. It helps to have your API specification and a rough count of endpoints ready for the call.
Last reviewed .