Skip to main content
POST

Authorizations

x-api-key
string
header
required

API Key required for all endpoints

Body

application/json
url
string
required

The URL, hostname, IPv4, or IPv6 address to be checked

Example:

"https://example.com"

topPorts
enum<number>

Scan only the top N ports (optional)

Available options:
50,
100,
500,
1000,
5000
Example:

100

portRanges
string

Custom port ranges to scan, e.g., "80,443,1000-1010"

Example:

"80,443,1000-1010"

detectServices
boolean
default:false

When true, also runs service/version detection (nmap -sV) on the ports found open. Slower than the base scan since it probes each open port individually — best-effort: if it fails, the port list is still returned without service info.

Example:

false

Response

Open ports retrieved successfully

timestamp
number
required

Timestamp of the request in milliseconds

Example:

1788851167291

apiStatus
enum<string>
required

API status message

Available options:
success,
failure
Example:

"success"

apiCode
number
required

API status code

Example:

200

meta
object
required

Metadata about the request

data
number[]
required

List of open ports found

services
object[]

Service/version detection results, present only when detectServices was requested and succeeded

servicesError
string

Present only when detectServices was requested but could not complete (e.g. nmap error/timeout) — the port list in data is still accurate regardless

Example:

"Service detection could not complete for this target; the port list above is still accurate."