Pentest-Tools.com Findings API
Operations done on Findings
Operations done on Findings
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/pentest-tools-com:pentest-tools-com-findings-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: pentest-tools.com REST Findings API
version: 1.0.1.1
description: Operations done on Findings
servers:
- url: https://api.pentest-tools.com/api/v2
description: Recommended (auto-routes by API key region)
- url: https://app-us.pentest-tools.com/api/v2
description: US region (direct)
- url: https://app.pentest-tools.com/api/v2
description: Europe region (direct)
security:
- bearerAuth: []
tags:
- name: Findings
x-displayName: Findings
description: Operations done on Findings
paths:
/findings:
get:
summary: Get all findings
operationId: get_findings
tags:
- Findings
parameters:
- name: workspace_id
in: query
description: ID of the workspace to show findings from.
required: false
schema:
type: integer
- name: target_id
in: query
description: ID of the target to show findings from
required: false
schema:
type: integer
- name: task_id
in: query
description: ID of the scan to show findings from
required: false
schema:
type: integer
- name: group_id
in: query
description: ID of the finding group to show findings from
required: false
schema:
type: integer
- name: group_duplicates
in: query
description: Group duplicates to show only the latest finding from each group.
required: false
schema:
type: boolean
default: false
- name: min_risk_level
in: query
description: Only include findings whose risk level is at least this value. Uses the same integer scale as `risk_level` on each finding (0=Info, 1=Low, 2=Medium, 3=High, 4=Critical). Can be combined with `max_risk_level` (inclusive range); minimum must not exceed maximum.
required: false
schema:
type: integer
minimum: 0
maximum: 4
- name: max_risk_level
in: query
description: Only include findings whose risk level is at most this value. Same scale as `min_risk_level`.
required: false
schema:
type: integer
minimum: 0
maximum: 4
responses:
200:
description: OK
content:
application/json:
schema:
type: object
required:
- data
properties:
data:
type: array
items:
$ref: '#/components/schemas/Finding'
400:
description: Invalid parameters
401:
$ref: '#/components/responses/UnauthorizedError'
403:
$ref: '#/components/responses/ForbiddenError'
404:
$ref: '#/components/responses/ObjectNotFoundError'
429:
$ref: '#/components/responses/TooManyRequestsError'
500:
description: Internal server error
/findings/{id}:
get:
summary: Get finding information by ID
operationId: get_finding
tags:
- Findings
parameters:
- name: id
in: path
description: id of finding to get
required: true
schema:
type: integer
responses:
200:
description: OK
content:
application/json:
schema:
type: object
required:
- data
properties:
data:
$ref: '#/components/schemas/Finding'
401:
$ref: '#/components/responses/UnauthorizedError'
403:
$ref: '#/components/responses/ForbiddenError'
404:
$ref: '#/components/responses/ObjectNotFoundError'
429:
$ref: '#/components/responses/TooManyRequestsError'
500:
description: Internal server error
patch:
summary: Update a finding
operationId: patch_finding
tags:
- Findings
description: 'Updates the `status`, `risk_level` and/or `verified` state of a finding and all duplicate findings in the same group. At least one field is required.
If a field already has the requested value and no `reason` is provided, that field is a no-op.
If a `reason` is provided alongside the same value, the note is recorded in the modification history without changing the value.'
parameters:
- name: id
in: path
description: ID of the finding to update
required: true
schema:
type: integer
- name: Prefer
in: header
description: Set to `return=representation` to receive the updated finding in the response body instead of `204 No Content`.
required: false
schema:
type: string
enum:
- return=representation
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/PatchFinding'
responses:
200:
description: OK — returned only when the `Prefer: return=representation` request header is set
content:
application/json:
schema:
type: object
required:
- data
properties:
data:
$ref: '#/components/schemas/Finding'
204:
description: No content
400:
description: Unknown request parameters
401:
$ref: '#/components/responses/UnauthorizedError'
403:
$ref: '#/components/responses/ForbiddenError'
404:
$ref: '#/components/responses/ObjectNotFoundError'
422:
$ref: '#/components/responses/UnprocessableEntityError'
429:
$ref: '#/components/responses/TooManyRequestsError'
500:
description: Internal server error
/findings/{id}/tests:
parameters:
- name: id
in: path
description: id of finding
required: true
schema:
type: integer
get:
summary: Get finding tests by ID
operationId: get_finding_tests
tags:
- Findings
description: Get all tests associated with a finding.
responses:
200:
description: OK
content:
application/json:
schema:
type: object
required:
- data
properties:
data:
type: array
items:
$ref: '#/components/schemas/Test'
401:
$ref: '#/components/responses/UnauthorizedError'
403:
$ref: '#/components/responses/ForbiddenError'
404:
description: Finding not found, or no tests for this finding
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
406:
description: Finding tests are not available for discovery tools
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
429:
$ref: '#/components/responses/TooManyRequestsError'
500:
description: Internal server error
components:
schemas:
Table:
type:
- object
- 'null'
properties:
headers:
type: array
items:
type: string
rows:
type: array
items:
type: array
items:
oneOf:
- type: string
- type: number
format: float
TestMetadata:
type: object
properties:
port:
type:
- integer
- 'null'
description: The port where this was found on the target
example: 4445
sniper_modules:
type: array
items:
type: string
description: The Sniper modules tested against the service
example:
- SSH AUTHENTICATED SCAN
- SSH user enumeration (CVE-2018-15473)
PatchFinding:
type: object
description: 'The fields to modify on a finding. At least one modifiable field is required.
Each field is an object with a `value` and an optional `reason`.
'
properties:
status:
type: object
required:
- value
properties:
value:
type: string
enum:
- open
- false_positive
- ignored
- fixed
- accepted
description: The new status for the finding.
example: fixed
reason:
type:
- string
- 'null'
maxLength: 1000
description: An optional note explaining the status change. Recorded in the finding's modification history.
example: Patched in version 2.3
risk_level:
type: object
required:
- value
properties:
value:
type: integer
enum:
- 0
- 1
- 2
- 3
- 4
description: The new risk level for the finding (0 = info, 1 = low, 2 = medium, 3 = high, 4 = critical).
example: 3
reason:
type:
- string
- 'null'
maxLength: 1000
description: An optional note explaining the risk level change. Recorded in the finding's modification history.
example: Reassessed after re-test
verified:
type: object
required:
- value
properties:
value:
type: boolean
description: Whether the finding is marked as verified/confirmed.
example: true
reason:
type:
- string
- 'null'
maxLength: 1000
description: An optional note explaining the verified change. Recorded in the finding's modification history.
example: Confirmed by manual testing
OutputFinding:
type: object
properties:
id:
type:
- integer
- 'null'
description: the ID of the finding. This is `null` if the scan is still running
example: 420233
name:
type: string
description: A short description of the finding
example: Vulnerabilities found for Apache Httpd 2.4.10
test_description:
deprecated: true
type: string
description: 'This field is deprecated and will be removed in a future version.
Use `/scans/{id}/tests` or `/findings/{id}/tests` instead.
A short description of what the test does.
'
example: Checking for SQL Injection...
test_finished:
deprecated: true
type: boolean
example: true
description: 'This field is deprecated and will be removed in a future version.
Use `/scans/{id}/tests` or `/findings/{id}/tests` instead.
This is set to `true` when the test ends. If `false`, it indicates the failed test.
'
confirmed:
type: boolean
description: this is set to `true` if the finding has a high certainty of not being a false positive
epss_score:
type:
- number
- 'null'
format: float
epss_percentile:
type:
- number
- 'null'
format: float
in_cisa_catalog:
type:
- boolean
- 'null'
example: true
description: Indicated whether the CVEs are part of the CISA Known Exploited Vulnerabilities Catalog
known_ransomware_campaign_use:
type:
- boolean
- 'null'
example: true
description: 'Indicates whether any of the CVEs is known to have been used in a ransomware campaign, according to the CISA Known Exploited Vulnerabilities Catalog. `null` when none of the CVEs are in the catalog, meaning CISA has no record to report on.
'
cve:
type: array
items:
type: string
example:
- CVE-2017-3167
- CVE-2019-0217
cvss:
type:
- number
- 'null'
format: float
cvssv3:
type:
- number
- 'null'
format: float
vuln_description:
type: string
example: Vulnerabilities found for Apache Httpd 2.4.25 (port 80/tcp)
description: A short description of the vulnerability
vuln_evidence:
type: object
description: the evidence for the data. Depending on the type, the data type changes. This is only human friendly and its format and data might change in the future
properties:
type:
type: string
enum:
- text
- table
- list
- unsuported
data:
type:
- object
- 'null'
oneOf:
- type: string
- $ref: '#/components/schemas/Table'
- type: array
items:
type: string
risk_description:
type: string
description: The risk posed by the vulnerability. This is only human friendly and its format and data might change in the future
risk_level:
type: integer
enum:
- 0
- 1
- 2
- 3
- 4
description: "Risk level:\n * `0` - Informational\n * `1` - Low\n * `2` - Medium\n * `3` - High\n * `4` - Critical\n"
status:
type:
- string
- 'null'
enum:
- open
- false_positive
- ignored
- fixed
- accepted
- null
description: The status of the finding. By default this is `open`. It is `null` if the scan is still running
recommendation:
type: string
description: a recommendation for mitigating the vulnerability. This is only human friendly and its format and data might change in the future
references:
type: array
items:
type: string
format: uri
verified:
type:
- boolean
- 'null'
description: This is set to `true` if a finding was manually verified. It is `null` for running scans, since this is an attribute of the findings generated after a scan finished
vuln_id:
type:
- string
- 'null'
description: A unique vulnerability identifier
example: NETSCAN-SNIPER-CVE-2021-42013-RCE
owasp:
type: object
description: Vulnerability OWASP Top 10
properties:
owasp_2017:
type:
- string
- 'null'
owasp_2021:
type:
- string
- 'null'
owasp_2025:
type:
- string
- 'null'
soc2:
type:
- string
- 'null'
description: The SOC 2 Trust Services criterion this finding is evidence for. `null` when the finding has no SOC 2 mapping.
example: CC6.1 - Logical access and session security
iso27001:
type:
- string
- 'null'
description: The ISO/IEC 27001:2022 Annex A control this finding is evidence for. `null` when the finding has no ISO 27001 mapping.
example: A.8.9 - Configuration management
cwe:
type:
- string
- 'null'
port:
type:
- integer
- 'null'
minimum: 0
maximum: 65535
description: The port where this was found on the target
protocol:
type:
- string
- 'null'
enum:
- TCP
- UDP
- DCCP
- SCTP
- null
description: The transport layer protocol associated with the finding
service:
type:
- string
- 'null'
enum:
- AMQP
- Docker
- FTP
- HTTP
- HTTPS
- MQTT
- MSSQL
- MySQL
- PostgreSQL
- RDP
- Redis
- SMB
- SSH
- STOMP
- Telnet
- VNC
- WinRM
- null
description: The application layer service associated with the finding
group_id:
type:
- integer
- 'null'
description: The ID of the finding group this finding belongs to
example: 9876
ErrorResponse:
type: object
additionalProperties: false
properties:
status:
type: integer
example: 401
message:
type: string
example: No API key specified
Finding:
type: object
allOf:
- $ref: '#/components/schemas/OutputFinding'
properties:
target_id:
type: integer
description: The ID of the target where the finding was found
example: 12345
task_id:
type:
- integer
- 'null'
description: The ID of the task where the finding was found. This is `null` for manual findings
example: 54321
screenshots:
type: integer
description: The number of screenshots taken for the finding
example: 1
Test:
type: object
properties:
id:
type:
- integer
- 'null'
example: 1
uid:
type: string
description: Unique identifier of the test
example: NETSCAN-SNIPER-TESTED-MODULES
description:
type: string
example: Scanned for vulnerabilities using Sniper modules
resource_type:
type: string
enum:
- scan
- finding
description: The resource type associated with the test
example: finding
resource_id:
type:
- integer
- 'null'
description: The ID of the resource associated with the test
example: 2
metadata:
$ref: '#/components/schemas/TestMetadata'
performed_at:
type: string
format: date-time
example: '2026-01-01 12:00:00'
responses:
ObjectNotFoundError:
description: The object with the given ID was not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
UnauthorizedError:
description: API key is missing or invalid
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
UnprocessableEntityError:
description: Invalid parameters
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
ForbiddenError:
description: You can"t perform this action.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
TooManyRequestsError:
description: Too many requests made in a short period of time
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: Use the "API key" from the [profile page](https://app.pentest-tools.com/account/api) as the token