GET
/
v1
/
scans
/
results
Get All Results
curl --request GET \
  --url https://api.projectdiscovery.io/v1/scans/results \
  --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": {}
}

Authorizations

X-API-Key
string
header
required

Headers

X-Team-Id
string

Query Parameters

offset
integer

number of results to skip

limit
integer

number of results to get

severity
string

string separated by comma e.g. info,high

search term

host
string

comma separated host e.g. hosts=https://example.com,https://x.com

domain
string

comma separated domain names e.g-> domain=domain1.com,domain2.com

port
string

comma separated ports e.g. ports=80,443

templates
string

comma separated templates e.g. templates=tech-detect,azure-takeover

time
string

filter by time ( last_day, last_week, last_month )

vuln_status
string

comma separated vuln_status e.g vuln_status=open,fixed

tags
string

comma separated tags e.g tags=xss,cve

sort_asc
string

comma separated ascending sorting e.g sort_asc=created_at,severity

sort_desc
string

comma separated descending sorting e.g sort_desc=created_at,severity

is_ticket
boolean

Return the records that have issue trackers

labels
string

filter by comma separated labels e.g labels=p1,p2

category
string

filter by comma separated categories e.g category=cve,xss

is_regression
boolean

filter by is_regression

asset_metadata
boolean

Asset details for the vulnerability

Response

200
application/json

Example response

The response is of type object.