POSThttps://api.deepinfo.com/v1/easm/assets/{asset_id}/open-ports/instant-scan

Runs a port scan of the asset right away and returns the result in the response (status is host_down if the host did not respond).

Authentication

Send your API key in the apikey request header.

Path Parameters

ParameterRequiredDescription
asset_idRequired
Id of one of your monitored assets, the id field of EASM → Assets → Asset Search. For a discovered asset it is the id from Discovered Asset Search.
Example000000000000000ea4f90001

Response Fields

FieldTypeDescription
targetstring
The host that was scanned.
check_datestring
When Deepinfo last checked this record (UTC).
statusstring
The record's status; the values are listed in the endpoint's description.
target_ipstring
The IP address the host resolved to.
port_dataobject
The ports the scan looked at and what it found.
osarray of string
Operating-system matches, when the scan was asked for them.

Response Schema

FieldTypeExample
targetstring"acme.example"
check_datestring"2025-07-31T08:00:00Z"
statusstring"host_down"
target_ipnull
port_datanull
osnull

Examples

Selecting one loads it into the request and response panels.

Reference updated