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

Authorizations

X-API-Key
string
header
required

Headers

X-Team-Id
string

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)

start_date
string<date>

Start date of the range. If not provided, it will be the first day of the current billing cycle.

end_date
string<date>

End date of the range. If not provided, it will be the last day of the current billing cycle.

type
enum<string>

Type of asset to filter by. Supported values are host, if not provided, it will return all assets.

Available options:
host

Response

200
application/json

OK

The response is of type object.