Skip to content

API penetration testing

Every endpoint checked for who can call it, and what it gives back.

APIs are where most serious access control flaws hide, because each endpoint has to check permissions on its own. We test REST and GraphQL APIs against the OWASP API Security Top 10 (2023), with a focus on whether each caller can only reach their own data.

See a sample report

Scope, dates and a fixed price agreed in writing before work starts.

Typical testing window
About 1 week for a focused scope, confirmed in your proposal
Method
OWASP API Security Top 10 (2023)
Price
Fixed price in a written proposal after a scoping call
Retest
Within 48 hours of you telling us fixes are ready

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 .

How an engagement works

Five steps, from the first call to the retest.

  1. 1

    Scoping call

    We agree targets, objectives, environments and constraints.

  2. 2

    Written quote

    A fixed scope, timeline and price in writing, before any work begins.

  3. 3

    Testing window

    Testing runs on the dates in your proposal, with critical findings reported to you straight away.

  4. 4

    Report and debrief

    The full report, delivered securely, and a walkthrough of the findings with your team.

  5. 5

    Retest

    When included in your proposal, fixed findings are retested within 48 hours of you telling us they are ready.

Book a scoping call

Opens an email to [email protected]. We reply to arrange a time.

From our sample report

See what you receive

Web application, API and AI assistant penetration test for a fictional company. 8 findings with evidence, impact and fixes, and the retest results.

  • 2 high
  • 3 medium
  • 2 low
  • 1 informational
View the sample report
  • VR-01High

    Users can read and change other organisations’ invoices through the API

    The invoices API does not check that an invoice belongs to the caller’s organisation.

  • VR-02High

    A support ticket can make the AI assistant send data to an outside server

    Hidden instructions in a public ticket make the assistant leak a support agent’s conversation.

  • VR-03Medium

    Sessions stay valid after a password change

    Changing a password does not end other active sessions, so a stolen session keeps working.

  • Example Company and every finding are invented.

Common questions

Do you need our API documentation?

It helps a great deal. An OpenAPI file, a Postman collection or a GraphQL schema lets us spend time testing rather than discovering endpoints. We also look for endpoints that are not documented.

Do you test GraphQL?

Yes. We test GraphQL queries and mutations for the same authorisation issues as REST, plus GraphQL-specific issues such as introspection, deep or batched queries and field-level access.

How is this different from a web application test?

A web application test covers the API as the front end uses it. An API test calls every endpoint directly, including ones the front end never uses, so it finds issues a web test can miss. Products with public or partner APIs usually need both.

How long does an API penetration test take?

Typically about 1 week of testing for a focused scope. It depends on the number of endpoints, roles and authentication methods, and we confirm it in your proposal.

Will testing affect our API in production?

We prefer a staging environment. If production is in scope, we agree rate limits, testing windows and safe test data first, and we do not run load or denial-of-service tests unless you ask for them.

Request an API test

Send us a short description of your API and how it is used. We will arrange a scoping call and send a written proposal with scope, dates and a fixed price.

Book a scoping call