v1

latestOpenAPI 3.1.0MIT2026-07-132176113.0 KB
openport

Scan a website for open ports

post/openport

Request body

urlstring required

The URL to be checked

topPorts50 | 100 | 500 | 1000 | 5000

Scan only the top N ports (optional)

portRangesstring

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

Example request

{
  "url": "https://example.com",
  "topPorts": 100,
  "portRanges": "80,443,1000-1010"
}

Response

Open ports retrieved successfully

timestampnumber required

Timestamp of the request in milliseconds

apiStatus'success' | 'failure' required

API status message

apiCodenumber required

API status code

datanumber[] required

List of open ports found

Example response

{
  "timestamp": 1763372588297,
  "apiStatus": "success",
  "apiCode": 200,
  "meta": {
    "url": "https://example.com",
    "topPorts": 100,
    "portRanges": "80,443,1000-1010",
    "test": {
      "id": "mxqx9v9y0742lap6altwdteqd28t23nq"
    }
  }
}