GET
/
v1
/
scans
/
{scan_id}
/
asset
Get list of unique assets for a scan.
curl --request GET \
  --url https://api.projectdiscovery.io/v1/scans/{scan_id}/asset \
  --header 'X-API-Key: <api-key>'
{
  "data": [
    {
      "host": "<string>",
      "port": 123,
      "scanned_on": "2023-11-07T05:31:56Z"
    }
  ],
  "total_assets": 123,
  "total_host_assets": 123
}

Authorizations

X-API-Key
string
header
required

Path Parameters

scan_id
string
required

Query Parameters

Search with host or port

limit
integer

Limit the number of assets (Default 100)

offset
integer

Offset the number of assets (Default 0)

Response

200
application/json

OK

The response is of type object.