Free, no-key endpoints for your IP and connection details โ perfect for scripts and the command line.
Returns just your public IP address as plain text โ ideal for shell scripts.
curl https://whatsip.nl/ip 203.0.113.42
Your IP plus ISP, location, reverse DNS, protocol and TLS, as JSON.
curl https://whatsip.nl/api/info
{
"ip": "203.0.113.42",
"family": "IPv4",
"reverseDns": "host.example.net",
"asn": 64500,
"org": "Example ISP",
"country": "NL",
"city": "Amsterdam",
"region": "North Holland",
"timezone": "Europe/Amsterdam",
"colo": "AMS",
"httpProtocol": "HTTP/3",
"tlsVersion": "TLSv1.3"
}
The HTTP headers your client sent, as JSON. Cookie values are redacted.
curl https://whatsip.nl/api/headers
All endpoints are free, need no API key, allow any origin via CORS, and are served from Cloudflare's edge. We do not log or store your requests.
These endpoints reflect your own connection only โ they cannot look up arbitrary IP addresses. There is no rate limit for normal use; please be reasonable.