Offensive security

API Security Testing

Expose broken authorisation and business-flow abuse in REST, GraphQL and gRPC APIs.

  • OWASP API Security Top 10
  • OWASP ASVS
  • OWASP WSTG
API Security Testing

Overview

What API Security Testing covers

Manual security testing of REST, GraphQL, gRPC and SOAP APIs against the OWASP API Security Top 10, focused on object-level authorisation, authentication, data exposure and abuse of business flows.

APIs now carry most of the data that moves between your applications, partners and customers. They power mobile apps, single-page web front ends, integrations and internal microservices, and they are often more exposed than the interfaces people see. API security testing examines those endpoints directly, without relying on a user interface to limit what is requested, to find out whether an attacker could read, change or abuse data they should never reach.

Why it matters

API weaknesses are rarely about exotic exploits. They are usually about trust: an endpoint that returns any record when an identifier is changed, a property that lets users promote themselves to an administrator, a token that never expires, or a bulk endpoint that allows unlimited scraping. These issues are invisible to most automated tools because they depend on understanding who should be allowed to do what. They are also easy to exploit at scale once found, which is why the OWASP API Security Top 10 lists broken object-level authorisation as its first category.

Scope options

  • Public and partner APIs: externally consumed endpoints, developer portals and API keys issued to third parties.
  • Application back ends: the APIs behind your web and mobile apps, ideally tested alongside web application or mobile application testing.
  • Internal and microservice APIs: service-to-service calls, message queues and administrative interfaces behind the gateway.
  • Technologies: REST and JSON, GraphQL, gRPC, SOAP and webhooks, with OAuth 2.0, OpenID Connect, JWT, mutual TLS or API-key authentication.

Methodology

We start by building an accurate inventory from OpenAPI or GraphQL schemas, collections and observed traffic, because undocumented and deprecated endpoints are a frequent source of risk. Testing then follows the OWASP API Security Top 10 and the relevant OWASP ASVS requirements, with NIST SP 800-115 guiding planning and reporting. Testers use at least two accounts per role and, for multi-tenant systems, accounts in separate tenants, so that object-level and function-level authorisation can be checked rigorously. We examine authentication flows and token handling, mass assignment and excessive data exposure, rate limiting and resource consumption, input handling and server-side request forgery, error handling, and the abuse of sensitive business flows such as sign-up, purchasing, transfers or reward redemption.

What makes the approach rigorous

Coverage is measured against your endpoint inventory, so you can see exactly which operations were tested and with which roles. Every finding is reproduced with raw requests and responses that your developers can replay, and severity reflects the real data or functions at stake. We pay close attention to consistency: authorisation that is enforced on one version or method of an endpoint but not another is a classic source of serious breaches. Recommendations focus on central fixes, such as shared authorisation middleware or schema validation, rather than endpoint-by-endpoint patches that tend to drift. A retest is included once changes are deployed.

Building or exposing a new API? Request a quote and share your specification to get a scoped proposal, or talk to us about building security into the design through secure software development.

Capabilities

What sets the engagement apart

  • Authorisation-first testing

    Object, property and function-level access controls are tested with multiple accounts, roles and tenants.

  • Full endpoint inventory

    Schemas and live traffic are combined to uncover undocumented, shadow and deprecated endpoints.

  • Modern protocol support

    REST, GraphQL, gRPC, SOAP and webhooks are tested with their specific attack surfaces in mind.

  • Token and identity review

    OAuth 2.0, OpenID Connect, JWT and API-key handling are assessed for weak validation and leakage.

  • Business-flow abuse

    We test whether sign-up, purchase, transfer and reward flows can be automated or manipulated.

  • Replayable evidence

    Findings include raw requests and responses, making reproduction and verification straightforward.

How it works

A clear process from scoping to sign-off

  1. Step 1: Scoping and inventory

    We collect schemas, collections and test accounts and confirm environments and rate limits.

  2. Step 2: Authentication analysis

    Login, token issuance, refresh and revocation flows are examined for weaknesses.

  3. Step 3: Authorisation testing

    Every operation is exercised across roles and tenants to detect access-control gaps.

  4. Step 4: Input and business-logic testing

    Payloads, mass assignment, resource limits and business flows are tested for abuse.

  5. Step 5: Reporting and debrief

    Validated findings and fixes are walked through with your API and platform teams.

  6. Step 6: Retest

    Corrected endpoints are re-verified and the attestation letter is issued.

Deliverables

What you receive

  • Executive summary with overall API risk rating
  • Endpoint coverage matrix by role and method
  • Technical report with replayable requests and CVSS scores
  • Findings mapped to the OWASP API Security Top 10
  • Architecture-level remediation recommendations
  • Retest report and attestation letter

Standards

Aligned with recognised frameworks

Test plans, findings and reports reference the standards your auditors, customers and regulators already trust.

  • OWASP API Security Top 10
  • OWASP ASVS
  • OWASP WSTG
  • NIST SP 800-115
  • CVSS
  • ISO/IEC 27001:2022
  • PCI DSS v4.0

FAQs

Frequently asked questions

What do you need from us to start?

An API specification or collection, test accounts for each role (two per role is ideal), the target environment and any rate limits. If documentation is incomplete, we can build the inventory from traffic captured while using your applications.

Do you test GraphQL differently?

Yes. GraphQL introduces specific risks such as introspection exposure, deeply nested or batched queries that exhaust resources, and field-level authorisation gaps. Our testers use GraphQL-specific techniques alongside the standard API checks.

Can you test APIs in staging rather than production?

Yes, and we usually recommend it for intrusive tests, provided staging runs the same code and configuration as production. We will flag any differences that could affect the validity of results.

How is API testing different from web application testing?

Web application testing explores the system through its user interface. API testing works directly against the endpoints, covering operations the interface never calls and integrations that have no interface at all.

Case studies

See this service in action

Anonymised results from engagements where this service made the difference.

Request a quote

Get a fixed-price proposal

Tell us about your environment, timelines and any compliance drivers. A consultant will review your request and reply within two business days.

What happens next

  1. Scoping conversation

    A short call to confirm your objectives, environment, timelines and any constraints.

  2. Fixed-price proposal

    A written scope, timeline and price, so there are no surprises later.

  3. Delivery and reporting

    Work starts on the agreed dates, with regular updates and clear, prioritised reporting.

Prefer to talk it through?

Your project

Fields marked with an asterisk are required. Please do not include passwords or other sensitive data.

ServiceAPI Security Testing

Include your country code.

Systems in scope, compliance drivers, preferred dates and anything we should know.

Confidential. A consultant replies within two business days.