Back to dashboard

My IP

Your public IPv4/IPv6 address, hostname and approximate location – plus the d4rc.net IP API docs.

IPv4 · IPv6Reverse DNSAPI

Your connection

IPv4

216.73.217.145

Hostname
…
Location
…
Provider
…

Lookups

  • IPv4 Detecting…
  • IPv6 Detecting…
  • Preferred Detecting…
  • Hostname Detecting…
  • Server sees 216.73.217.145

IPv4, IPv6 and hostname are queried directly from your browser via the d4rc.net endpoints (fetch, no cookies, no referrer). The D4rC Tools server itself makes no outbound requests for this page.

Geolocation

Country …
Region …
City …
Postal code …
Time zone …
Coordinates …
ISP …
ASN …

Approximate location based on IP databases. City-level accuracy varies by provider.

Third-party services: your browser loads geolocation automatically from ipwho.is and country flags from flagcdn.com. Both receive your IP address. The map link opens openstreetmap.org only when clicked.

Request details

  • User-AgentMozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
  • Languages–
  • ProtocolHTTP/1.1

API documentation

ipify compatible

A simple public IP address API. No key, no registration, no limits for reasonable use. All endpoints accept GET requests over HTTPS and support the same parameters as ipify.org.

Endpoints

EndpointDescriptionJSONOpen
https://ip.d4rc.net Public IP address (IPv4) {"ip":"203.0.113.42"}
https://ip6.d4rc.net IPv6 only – fails without IPv6 connectivity {"ip":"2001:db8::1"}
https://ip64.d4rc.net Dual stack – IPv6 if available, otherwise IPv4 {"ip":"2001:db8::1"}
https://hostname.d4rc.net Reverse DNS hostname (PTR) of your IP {"hostname":"host-203-0-113-42.example.net"}

Response formats

ParameterContent-TypeResponse
(none) text/plain 203.0.113.42
?format=json application/json {"ip":"203.0.113.42"}
?format=jsonp application/javascript callback({"ip":"203.0.113.42"});
?format=jsonp&callback=getip application/javascript getip({"ip":"203.0.113.42"});

The hostname endpoint returns the key "hostname" instead of "ip". ip6.d4rc.net answers with HTTP 400 {"error":"IPv6 required"} when reached over IPv4.

Code examples

cURL
# IPv4
curl https://ip.d4rc.net

# IPv6 (only works with IPv6 connectivity)
curl https://ip6.d4rc.net

# JSON
curl "https://ip.d4rc.net?format=json"

# Reverse DNS hostname
curl https://hostname.d4rc.net

In the browser, use fetch() with format=json (CORS). JSONP is only kept for legacy integrations and needs a script-src exception in your CSP.