UpOrDown
Ping
Traceroute
MTR
DNS
HTTP
RBL Lookup
My IP
API

Detect My IP

Use one of the methods below in your application or command line.
The return will always be the IPv4 or IPv6 of the requester.

There are 3 hosts available that detect IP.

  • ip.isp.tools – Detects IPv4 or IPv6. Responds with the IP used in the connection.
  • ipv4.isp.tools – Forces resolution of IPv4 only.
  • ipv6.isp.tools – Forces resolution of IPv6 only.

Choose one of the hosts and call it using the curl command.

Example:

# curl ip.isp.tools
# curl ipv4.isp.tools
# curl ipv6.isp.tools

You can also force curl to connect to a version:

# curl -4 ip.isp.tools
# curl -6 ip.isp.tools

Choose one of the hosts and make the request to the /json endpoint.
Example:

https://ip.isp.tools/json
{
    “ip”: “43.139.188.1”,
    “type”: “ipv4”
}

https://ip.isp.tools/json
{
    “ip”:”2b21:3f6:1c2:81a7::1″,
    “type”:”ipv6″
}

Cookie Consent

We use cookies to improve your experience on our site. By using our site you consent to cookies. Learn more