Skip to content
GET /v1/ping

ICMP ping from worldwide nodes

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/hostcheck-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/hostcheck-api/v1/ping" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hostcheck-api/v1/ping", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hostcheck-api/v1/ping");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/hostcheck-api/v1/ping",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "type": "ping",
        "target": "google.com",
        "results": [
            {
                "ip": "142.251.142.14",
                "city": "Paris",
                "node": "fr2.node.check-host.net",
                "status": "OK",
                "country": "France",
                "packets": 4,
                "received": 4,
                "reachable": true,
                "avg_time_ms": 2
            },
            {
                "city": "Tehran",
                "node": "ir1.node.check-host.net",
                "status": "pending",
                "country": "Iran",
                "reachable": null
            },
            {
                "ip": "142.251.38.110",
                "city": "Karaganda",
                "node": "kz1.node.check-host.net",
                "status": "OK",
                "country": "Kazakhstan",
                "packets": 4,
                "received": 4,
                "reachable": true,
                "avg_time_ms": 109
            },
            {
                "ip": "192.178.25.14",
                "city": "Stockholm",
                "node": "se1.node.check-host.net",
                "status": "OK",
                "country": "Sweden",
                "packets": 4,
                "received": 4,
                "reachable": true,
                "avg_time_ms": 1
            },
            {
                "ip": "74.125.200.139",
                "city": "Singapore",
                "node": "sg1.node.check-host.net",
                "status": "OK",
                "country": "Singapore",
                "packets": 4,
                "received": 4,
                "reachable": true,
                "avg_time_ms": 3
            }
        ],
        "nodes_checked": 5,
        "permanent_link": "https://check-host.net/check-report/40d7723bk6ee",
        "reachable_from": 4
    },
    "meta": {
        "timestamp": "2026-06-01T00:04:18.240Z",
        "request_id": "23ab8609-9095-4418-8694-1d6ab272bf2d"
    },
    "status": "ok",
    "message": "Ping checked",
    "success": true
}