curl --request GET \
--url https://api.projectdiscovery.io/v1/scans/result/{scanId} \
--header 'X-API-Key: <api-key>'
{
"current_page": 123,
"result_count": 123,
"total_results": 123,
"total_pages": 123,
"message": "<string>",
"data": [
{
"matcher_status": true,
"vuln_id": "<string>",
"target": "<string>",
"template_url": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"scan_id": "<string>",
"event": [
{
"curl-command": "<string>",
"extracted-results": [
"<string>"
],
"extractor-name": "<string>",
"host": "<string>",
"info": {
"classification": {
"cpe": "<string>",
"cve-id": [
"<string>"
],
"cvss-metrics": "<string>",
"cvss-score": 123,
"cwe-id": [
"<string>"
],
"epss-percentile": 123,
"epss-score": 123
},
"metadata": {},
"author": [
"<string>"
],
"description": "<string>",
"impact": "<string>",
"name": "<string>",
"tags": [
"<string>"
],
"reference": [
"<string>"
],
"remediation": "<string>",
"severity": "<string>"
},
"ip": "<string>",
"matched-at": "<string>",
"matched-line": [
123
],
"matcher-name": "<string>",
"matcher-status": true,
"path": "<string>",
"request": "<string>",
"response": "<string>",
"template-id": "<string>",
"template-path": "<string>",
"timestamp": "<string>",
"type": "<string>",
"error": "<string>",
"issue_trackers": {
"jira": {
"id": "<string>",
"url": "<string>"
},
"github": {
"id": "<string>",
"url": "<string>"
},
"gitlab": {
"id": "<string>",
"url": "<string>"
},
"linear": {
"id": "<string>",
"url": "<string>"
},
"custom": {
"id": "<string>",
"url": "<string>"
}
},
"port": "<string>"
}
],
"template_id": "<string>",
"template_path": "<string>",
"template_encoded": "<string>",
"result_type": "<string>",
"vuln_status": "<string>",
"vuln_hash": "<string>",
"is_regression": true,
"labels": [
"<string>"
],
"port": 123,
"asset_metadata": {
"enumeration_id": "<string>",
"name": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"id": 123,
"labels": [
"<string>"
],
"cname": [
"<string>"
],
"host": "<string>",
"port": 123,
"ip": [
"<string>"
],
"status_code": 123,
"content_length": 123,
"vulnerabilities": 123,
"title": "<string>",
"technologies": [
"<string>"
],
"webserver": "<string>",
"method": "<string>",
"is_new": true,
"type": "<string>",
"asset_hash": "<string>",
"technology_details": {},
"screenshot_path": "<string>",
"favicon": "<string>",
"favicon_body": "<string>",
"cdn_name": "<string>",
"chain_status_codes": [
"<string>"
],
"domain_name": "<string>",
"redirect_location": "<string>",
"asn": {
"as_country": "<string>",
"as_name": "<string>",
"as_number": "<string>",
"as_range": [
"<string>"
]
},
"tls_serial_number": "<string>",
"tls_subject_org": "<string>",
"tls_issuer_org": "<string>",
"tls_expired": true,
"tls_not_before": "2023-11-07T05:31:56Z",
"tls_self_signed": true,
"tls_mismatched": true,
"tls_revoked": true,
"tls_untrusted": true,
"tls_subject_cn": "<string>",
"tls_subject_an": [
"<string>"
],
"body": "<string>",
"tls_not_after": "2023-11-07T05:31:56Z",
"enumeration_name": "<string>",
"extended_metadata": {},
"source_type": "<string>",
"source": [
{
"source": "<string>",
"metadata": {}
}
]
}
}
],
"stats": {
"total": 123
},
"filters": {}
}
get results of specific scan by id
curl --request GET \
--url https://api.projectdiscovery.io/v1/scans/result/{scanId} \
--header 'X-API-Key: <api-key>'
{
"current_page": 123,
"result_count": 123,
"total_results": 123,
"total_pages": 123,
"message": "<string>",
"data": [
{
"matcher_status": true,
"vuln_id": "<string>",
"target": "<string>",
"template_url": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"scan_id": "<string>",
"event": [
{
"curl-command": "<string>",
"extracted-results": [
"<string>"
],
"extractor-name": "<string>",
"host": "<string>",
"info": {
"classification": {
"cpe": "<string>",
"cve-id": [
"<string>"
],
"cvss-metrics": "<string>",
"cvss-score": 123,
"cwe-id": [
"<string>"
],
"epss-percentile": 123,
"epss-score": 123
},
"metadata": {},
"author": [
"<string>"
],
"description": "<string>",
"impact": "<string>",
"name": "<string>",
"tags": [
"<string>"
],
"reference": [
"<string>"
],
"remediation": "<string>",
"severity": "<string>"
},
"ip": "<string>",
"matched-at": "<string>",
"matched-line": [
123
],
"matcher-name": "<string>",
"matcher-status": true,
"path": "<string>",
"request": "<string>",
"response": "<string>",
"template-id": "<string>",
"template-path": "<string>",
"timestamp": "<string>",
"type": "<string>",
"error": "<string>",
"issue_trackers": {
"jira": {
"id": "<string>",
"url": "<string>"
},
"github": {
"id": "<string>",
"url": "<string>"
},
"gitlab": {
"id": "<string>",
"url": "<string>"
},
"linear": {
"id": "<string>",
"url": "<string>"
},
"custom": {
"id": "<string>",
"url": "<string>"
}
},
"port": "<string>"
}
],
"template_id": "<string>",
"template_path": "<string>",
"template_encoded": "<string>",
"result_type": "<string>",
"vuln_status": "<string>",
"vuln_hash": "<string>",
"is_regression": true,
"labels": [
"<string>"
],
"port": 123,
"asset_metadata": {
"enumeration_id": "<string>",
"name": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"id": 123,
"labels": [
"<string>"
],
"cname": [
"<string>"
],
"host": "<string>",
"port": 123,
"ip": [
"<string>"
],
"status_code": 123,
"content_length": 123,
"vulnerabilities": 123,
"title": "<string>",
"technologies": [
"<string>"
],
"webserver": "<string>",
"method": "<string>",
"is_new": true,
"type": "<string>",
"asset_hash": "<string>",
"technology_details": {},
"screenshot_path": "<string>",
"favicon": "<string>",
"favicon_body": "<string>",
"cdn_name": "<string>",
"chain_status_codes": [
"<string>"
],
"domain_name": "<string>",
"redirect_location": "<string>",
"asn": {
"as_country": "<string>",
"as_name": "<string>",
"as_number": "<string>",
"as_range": [
"<string>"
]
},
"tls_serial_number": "<string>",
"tls_subject_org": "<string>",
"tls_issuer_org": "<string>",
"tls_expired": true,
"tls_not_before": "2023-11-07T05:31:56Z",
"tls_self_signed": true,
"tls_mismatched": true,
"tls_revoked": true,
"tls_untrusted": true,
"tls_subject_cn": "<string>",
"tls_subject_an": [
"<string>"
],
"body": "<string>",
"tls_not_after": "2023-11-07T05:31:56Z",
"enumeration_name": "<string>",
"extended_metadata": {},
"source_type": "<string>",
"source": [
{
"source": "<string>",
"metadata": {}
}
]
}
}
],
"stats": {
"total": 123
},
"filters": {}
}
Retrieve the Team ID from: https://cloud.projectdiscovery.io/settings/team
scan specific results (by scanId)
comma separated severity e.g. severity=info,high
search term
number of results
number of results to skip
comma separated templates e.g. templates=tech-detect,azure-takeover
comma separated host e.g. hosts=https://example.com,https://x.com
comma separated domain names e.g-> domain=domain1.com,domain2.com
comma separated ports e.g. ports=80,443
filter by time ( last_day, last_week, last_month )
comma separated vuln_status e.g vuln_status=open,fixed
comma separated ascending sorting e.g sort_asc=created_at,severity
comma separated descending sorting e.g sort_desc=created_at,severity
Asset details for the vulnerability
Example response
The response is of type object
.
Was this page helpful?