API penetration testing
API penetration testing checks whether your REST, GraphQL and other APIs enforce the rules your front end assumes. We test every endpoint in scope by hand for authorization gaps, business logic flaws and exposed data, and report only issues we have confirmed.
What API security testing covers
We start from your documentation or captured traffic, map every endpoint and version, then test how each one handles identity, permissions and input. The focus is on what a client is allowed to do, not only on what the interface shows.
Authentication and tokens
How API keys, tokens and sessions are issued, validated, expired and revoked, across every endpoint and client type.
Object-level authorization
Whether a user can read or change records that belong to other users or tenants.
Function-level authorization
Whether admin, internal or partner-only operations can be called by regular accounts or unauthenticated clients.
Business logic and limits
Multi-step flows, limits, quotas and state changes, tested for actions that can be skipped, repeated or combined in ways the design did not intend.
Input handling and injection
How request data reaches databases and downstream services, including SQL and NoSQL injection and unsafe deserialization.
Excess data and mass assignment
Responses that return more fields than the client needs, and requests that can set fields such as role or price that users should not control.
GraphQL-specific risks
Schema exposure, query depth and complexity, batched queries and resolver-level authorization in GraphQL APIs.
Versions and hidden endpoints
Old API versions and undocumented, debug or internal endpoints that stay reachable and often skip newer security controls.
Findings we often report
Examples of the issues API tests tend to uncover, each confirmed and rated before it reaches the report.
How we rate severity- CriticalAny logged-in user can fetch other customers' records
- CriticalInternal admin endpoint reachable without login
- HighUsers can grant themselves admin rights
- HighDeprecated API version skips authorization checks
- MediumNo rate limit on login and one-time code endpoints
- LowResponses expose internal fields the client never uses
What you receive
Executive summary
A short overview for leadership: overall risk, the business impact of the main findings and recommended next steps.
Endpoint-level findings
Each vulnerability is tied to the affected endpoints, with description, risk level, business impact and reproduction steps.
CVSS scoring and proof of concept
Every issue is scored with CVSS and backed by a proof of concept, so your developers can verify it themselves.
Action plan
Prioritized remediation guidance with instructions for developers, so the most serious issues are fixed first.
Retest and updated report
Once your team ships fixes, we verify each one and update the report to show what has been resolved.
What we need from you
The more we know about your API up front, the more of the testing window goes into finding real issues.
- API documentation such as an OpenAPI or Swagger file, a GraphQL schema or a Postman collection
- Two test accounts or API keys per role, and per tenant if the API is multi-tenant
- A test or staging environment, or agreed testing hours on production
- The base URLs and versions in scope, plus any endpoints that must not be called
- A technical contact who can answer questions and receive urgent findings
Frequently asked questions
Short answers to what clients ask before an engagement. For anything else, ask us directly.
It depends on the number of endpoints, user roles and integrations in scope. An API with a few dozen endpoints and a couple of roles is usually tested in one to two weeks, followed by reporting. We confirm the timeline in the proposal after a scoping call.
Yes. We test REST, GraphQL and other API styles. GraphQL needs extra attention because a single endpoint can expose the whole schema, so we look closely at resolver-level authorization and query limits.
Yes. We can map the API from the traffic of your web or mobile app, or from a short walkthrough with your developers. Documentation saves time, so without it we may agree on a slightly longer testing window.
If your web or mobile app is built on the API, testing them together usually gives the best coverage, because the API is where most access decisions are enforced. A separate API test makes sense when the API is public, used by partners or serves several client apps. We help you decide during scoping.
It can be, with agreed rules. During scoping we set testing hours, request rates and actions to avoid, such as bulk deletes or sending real notifications. For APIs with many write operations, a staging environment with realistic data is usually the safer option.
Related services
- Penetration TestingWeb application penetration testingManual testing of web apps, SPAs and portals for access control, injection and business logic flaws.View service
- Penetration TestingSecure code review and source code security auditManual review of your source code for logic flaws, insecure patterns, secrets and injection issues, with fixes developers can apply.View service
- Penetration TestingInternal and external network penetration testingInternal and external network testing that finds exposed systems, misconfigured services and lateral movement paths.View service
Penetration testing
Request a penetration test
Pick what to test and when, then leave your email. We reply to scope it with you, and you get a written proposal with the price before any testing starts.
Prefer email? Write to info@syncode.ba