/v1/client
Find the client IP
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/clientip-api/v1/client" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/clientip-api/v1/client", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/clientip-api/v1/client");
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/clientip-api/v1/client",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"hops": 3,
"kind": "ipv4",
"chain": [
"203.0.113.5",
"70.41.3.18",
"150.172.238.178"
],
"leftmost": "203.0.113.5",
"client_ip": "70.41.3.18",
"rightmost": "150.172.238.178",
"trusted_proxies": 1
},
"meta": {
"timestamp": "2026-06-03T09:25:01.602Z",
"request_id": "9525950b-0d71-453d-9cf5-f0ceb80a3f18"
},
"status": "ok",
"message": "Find the client IP",
"success": true
}