check-host.net website monitoring
IP: 54.224.203.224 Country: US United States of America (New Jersey, Newark)

API

uk ru

Check request may be performed with an http request:
curl -H "Accept: application/json" \
  https://check-host.net/check-<CHECKTYPE>?host=<HOSTNAME>&max_nodes=<MAX_NODES>
Where <CHECKTYPE> is one of the following values: ping, http, tcp, dns, and <MAX_NODES> is the maximum number of nodes used for the check.

Example: curl -H "Accept: application/json" \
  https://check-host.net/check-tcp?host=smtp://gmail.com&max_nodes=1
Response:

{
  "ok":             1,
  "request_id":     "29",
  "permanent_link": "https://check-host.net/check-report/29",
  "nodes": {
    "7f000001": ["it","Italy", "Marco"]
  }
}
request_id is the identifier of the request. Is used for obtaining check results.
permanent_link is a permanent link to the check details.
nodes contains a hash of nodes on which the check is performed. The key is the identifier of the node, and value describes the location of the nodes.

Check results may be obtained with an http request:
curl -H "Accept: application/json" \
  https://check-host.net/check-result/<REQUEST_ID>
Response:

{
  {"7f000001": [[1, 0.131124019622803, "Moved Permanently", "301"]]}
}


Ping check

curl -H "Accept: application/json" \
  https://check-host.net/check-ping?host=check-host.net&max_nodes=3

Response:
{
  "ok":             1,
  "request_id":     "806df9",
  "permanent_link": "https://check-host.net/check-report/806df9",
  "nodes": {
    "7f000001": ["it", "Italy",   "Marco"],
    "7f000002": ["ca", "Canada",  "Ottawa"],
    "7f000003": ["be", "Belgium", "Antwerp"]
  }
}
Ping check results curl -H "Accept: application/json" \
  https://check-host.net/check-result/806df9
Response:
{
  {"7f000001": [[
      ["OK", 0.044, "94.242.206.94"],
      ["TIMEOUT", 3.005], 
      ["MALFORMED", 0.045],
      ["OK", 0.0433]
   ]],
   "7f000002": [[null]],
   "7f000003": null,
  }
}
Node 7f000001 has performed 4 pings to the host 94.242.206.94. Two successfull and two failed: the second one was timed out and the third got a malformed reply.
Node 7f000002 was unable to resolve the domain name.
Node 7f000003 is still performing the check.


HTTP check

curl -H "Accept: application/json" \
  https://check-host.net/check-http?host=check-host.net&max_nodes=3
Response:
{
  "ok":             1,
  "request_id":     "806dfa",
  "permanent_link": "https://check-host.net/check-report/806dfa",
  "nodes": {
    "7f000001": ["it", "Italy",   "Marco"],
    "7f000002": ["ca", "Canada",  "Ottawa"],
    "7f000003": ["be", "Belgium", "Antwerp"]
  }
}
HTTP check results curl -H "Accept: application/json" \
  https://check-host.net/check-result/806dfa
Response:
{
  {"7f000001": [[1, 0.13, "OK", "200", "94.242.206.94"]],
   "7f000002": [[0, 0.17, "Not Found", "404", "94.242.206.94"]],
   "7f000003": [[0, 0.07, "No such device or address", null, null]],
  }
}
Node 7f000001 successfully downloaded the page. Downloading the page took about 0.13 seconds. Server 94.242.206.94 responded with 200 status code and message "OK".
Node 7f000002 was unable to download page because of a server error — server 94.242.206.94 responded with code 404 and message "Not Found".
Node 7f000003 was unable to complete request because of a network error. It was unable to resovle the host name.


TCP connection check

curl -H "Accept: application/json" \
  https://check-host.net/check-tcp?host=https://check-host.net&max_nodes=3
Response:
{
  "ok":             1,
  "request_id":     "806dfb",
  "permanent_link": "https://check-host.net/check-report/806dfb",
  "nodes": {
    "7f000001": ["it", "Italy",   "Marco"],
    "7f000002": ["ca", "Canada",  "Ottawa"],
    "7f000003": ["be", "Belgium", "Antwerp"]
  }
}
TCP connection check results curl -H "Accept: application/json" \
  https://check-host.net/check-result/806dfb

Response:
{
   "7f000001": [{"time": 0.03, "address": "104.28.31.42"}],
   "7f000002": [{"error": "Connection timed out"}],
   "7f000003": null,
  }
}
Node 7f000001 successfully connected to the host in 0.03 seconds.
Node 7f000002 was unable to connect to the host.
Node 7f000003 is still performing the check.


DNS address check

curl -H "Accept: application/json" \
  https://check-host.net/check-dns?host=https://check-host.net&max_nodes=3
Response:
{
  "ok":             1,
  "request_id":     "806dfc",
  "permanent_link": "https://check-host.net/check-report/806dfc",
  "nodes": {
    "7f000001": ["it", "Italy",   "Marco"],
    "7f000002": ["ca", "Canada",  "Ottawa"],
    "7f000003": ["be", "Belgium", "Antwerp"]
  }
}
DNS address check results curl -H "Accept: application/json" \
  https://check-host.net/check-result/806dfc
Response:
{
   "7f000001": [{
        "A": ["216.58.209.174"],
        "AAAA": ["2a00:1450:400d:806::200e"],
        "TTL":299
   }],
   "7f000002": [{"A": [], "AAAA": [], "TTL": null}],
   "7f000003": null,
  }
}
Node 7f000001 has found two addresses: one IPv4 and one IPv6.
Node 7f000002 was unable to resolve the domain name.
Node 7f000003 is still performing the check.