- Takes: Domain
- Active: contacts the target
- Plan: Paid plan
Starts a scan on a target name. Poll the scan until its status is finished.
Request body (JSON) · 7ShowHide
tool_id
Scanner to run; 20 is Subdomain Finder
target_name
Domain to scan (use this or target_id)
target_id
Existing target ID (use this or target_name)
scan_type
light, deep (default) or custom
web_details
Extract web server information; longer scan (default true)
whois
Extract whois information (default false)
unresolved_results
Keep unresolved subdomains without an IP (default false)
Response fields · 3ShowHide
id
Scan ID
tool_id
Scanner used
status_name
running, finished, failed to start, stopped, timed out, waiting, aborted and similar
curl -X POST 'https://api.pentest-tools.com/api/v2/scans' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"tool_id":20,"target_name":"example.com","tool_params":{"scan_type":"light","web_details":false}}'{
"data": {
"id": 100001,
"tool_id": 20,
"status_name": "running"
}
}