Skip to main content

Introduction

The Pentest-Tools.com REST API lets you manage targets, run scans, retrieve findings, and generate reports programmatically. Use it to integrate security scanning into your existing tools and workflows.

What you can do

Targets

View all targets from a workspace, get details for one, or create new targets.

Scans

Start scans, stop them, get status updates, or retrieve full scan results.

Workspaces

Get details for all workspaces, view a specific one, or create new ones.

Findings

Access vulnerability findings and their details.

Reports

Generate and download reports in PDF, DOCX, HTML, JSON, CSV, or XLSX format.

And More

HTTP loggers, VPN profiles, wordlists, and finding templates.

API base URL

Quick start

1. Get your API key

Generate an API key from My account > API in the web application.
API access requires a plan that includes it. Check your plan details if you receive a 403 error.

2. Make your first request

3. Start a scan

Available endpoints

Response format

Most successful responses return JSON with data wrapped in a data field:
For list endpoints, the response includes an array:
Three endpoints skip the data wrapper and return raw content: GET /reports/{id}/download streams the report file, GET /scans/{id}/output with Accept: application/pdf returns a PDF, and GET /scans/{id}/raw with Accept: text/plain returns plain text.
Error responses use a different format. See Limits and Errors for details.

Rate limits

API requests are rate limited per user: See Limits and Errors for full details.

OpenAPI schema

This API reference is based on our public OpenAPI schema, available at:
You can use this schema with tools like Postman, Insomnia, or code generators.

Support

If you have questions about the API, contact us at support@pentest-tools.com.

Next steps