What Is My IP

Find your public IPv4 and IPv6 instantly. Robtex's IP echo is anycast, dual-stack, and needs no DNS lookup and no TLS, so it still works during resolver or certificate failures.

From the command line

Your IP as JSON, dual-stack. This is the default/response.

curl https://ip.robtex.com/

The bare-IP plain-text form is always available at/ip, newline-terminated, with no JSON to parse.

curl https://ip.robtex.com/ip

Force IPv4.

curl https://ipv4.robtex.com/ip

Force IPv6.

curl https://ipv6.robtex.com/ip

By IP literal, so no DNS lookup is needed. Plain HTTP needs no certificate at all, which helps when DNS or TLS is broken.

curl http://46.255.120.53/ip

HTTPS works on the IP literal too, because Robtex serves a browser-trusted certificate for the anycast address.

curl https://46.255.120.53/

The same over IPv6.

curl https://[2a00:9c00:120::53]/

For a fuller connection diagnostic, open tp.ht to see geo, ASN, RBL status, bandwidth, latency, MTU, and TCP diagnostics.

What to check next

If the address is not what you expected, compare it with What Is My DNS Resolver. The public IP is the address your HTTP connection uses; the DNS resolver is the recursive server querying on your behalf.

Use IP Lookup to inspect ASN, prefix, and geolocation. Use Reverse DNS for PTR records, Robtex IP Reputation, or RBLS to check blocklists. To change or compare DNS resolvers, see the list of Public DNS Resolvers.

FAQ

Is this my computer's IP or my router's IP?
It is the public source address Robtex sees for your connection. On home and office networks this is usually your router, NAT gateway, VPN exit, or carrier gateway, not the private address on your laptop.
Why do IPv4 and IPv6 show different addresses?
IPv4 and IPv6 are separate internet address families. A dual-stack network can use one public IPv4 address and a different public IPv6 address or prefix at the same time.
Why does this work without DNS or TLS?
The IP-literal command connects directly to Robtex's anycast address over plain HTTP. That avoids resolver lookup and certificate validation, which is useful when debugging DNS or TLS failures.
Do I need an API key or account?
No. The echo endpoints return the address of the current request and are meant for simple diagnostics and scripts.