Port API

Check port status

get

Returns the status of specified ports or all ports if 'ports=all' is provided.

Query parameters
tstringOptional

Response type 1=txt, 2=json

portsstringOptional

Specify a port number or use 'all' to check all ports.

Responses
200

Successful response

application/json
get
/api/port_check
200

Successful response

Get port status

get

Returns the status of ports, including their address, city, public IP, and online status.

Query parameters
tstringOptional

Response type 1=txt, 2=json

Responses
200

Successful response

application/json
get
/api/port_status
200

Successful response

Set port range

get

Configures a range of ports starting from a specified port.

Query parameters
start_portstringOptional

The starting port of the range.

port_numstringOptional

The number of ports in the range.

tstringOptional

Response type 1=txt, 2=json

Responses
200

Successful response

application/json
get
/api/set_port_range

Check free ports

get

Returns the status of requested ports.

Query parameters
portsstringOptional

List of ports to check, separated by commas.

tstringOptional

Response type 1=txt, 2=json

Responses
200

Successful response

application/json
get
/api/port_free
200

Successful response

Last updated

Was this helpful?