> For the complete documentation index, see [llms.txt](https://invadel.gitbook.io/invadel-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://invadel.gitbook.io/invadel-docs/api-testing.md). Agents can also search and read this documentation through its [MCP server](https://invadel.gitbook.io/invadel-docs/~gitbook/mcp).

# API testing

Testing of REST, GraphQL, and SOAP APIs for broken authorization, token flaws, and data exposure, judged against the OWASP API Security Top 10 (2023). Starting price: from $4,000. Service page: [API Penetration Testing](https://invadel.com/services/api-penetration-testing/).

## What is tested

* **Object- and function-level authorization:** every endpoint, every role, every object ID. Broken authorization is the most common serious API finding.
* **Authentication and tokens:** issuance, expiry, revocation, signature validation, and refresh flows.
* **Property-level exposure:** responses that return more fields than the client needs, and mass assignment on write.
* **Resource consumption:** rate limits, pagination bounds, and expensive queries, tested without causing an outage.
* **Server-side request forgery** and unsafe consumption of third-party APIs.
* **Inventory and documentation drift:** undocumented, deprecated, or debug endpoints that are still live.

## By API style

The OWASP categories apply to every API style; the techniques do not. REST, GraphQL (introspection, batching, nested query abuse), and SOAP (XML handling, WS-Security) each get their own test plan.

## Inputs we need

An API specification (OpenAPI, GraphQL schema, or WSDL) where one exists, test credentials for each role, and a non-production environment where possible. Scoping covers all of this; see [Scoping and rules of engagement](https://invadel.gitbook.io/invadel-docs/scoping-and-rules-of-engagement.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://invadel.gitbook.io/invadel-docs/api-testing.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
