Website Status API

Checks if a host is up or down.

The API host for all tools is tools.datalabs.net.


Website Status API

POST https://tools.datalabs.net/upOrDown
Host: tools.datalabs.net
Content-Type: application/json

{
  "key": "DATALABS_API_KEY", // Required - DataLabs API Key
  "host": "example.com" // Required - Host to be checked
}
Example Response
{
    "success": true,
    "host": "example.com",
    "ip": "93.184.215.14",
    "port": 80,
    "code": 200,
    "status_short": "UP",
    "status_long": "Site is up",
    "final_destination": "http://example.com/",
    "redirect_count": 0,
    "response_time": 0.189461
}

Last updated