API

Use these HTTP endpoints inside scripts, monitoring jobs, or custom clients. They mirror the data from the UI and are protected with reasonable rate limits.

/ip — Plain text IP

Returns only the detected client IP as text. Useful for shell scripts and health checks.

/ip

curl -s https://example.com/ip

/api/info — JSON payload

Returns provider, hostname, geo coordinates, browser, OS, and more. Pass the optional query parameter ip=1.1.1.1 to inspect another host.

/api/info

curl -s "https://example.com/api/info?format=json" | jq '.'

/api/ipv4-probe and /api/ipv6-probe

Respond with only the IPv4 or IPv6 address if available, or 204 when absent. Ideal for dual-stack reachability checks.

/api/ipv4-probe / /api/ipv6-probe

curl -s https://example.com/api/ipv6-probe

/api/dns-leak-test — Resolver log

Supply the id parameter generated on the homepage widget to retrieve the resolver IPs that queried the DNS leak domain.

/api/dns-leak-test

curl -s "https://example.com/api/dns-leak-test?id=TEST_ID"