WhatsMyConnectionIP Guide

Public IP guide

How to find your public IP address

How to find your public IP address: open WhatsMyConnection, read the address websites see, or use curl and JSON endpoints when you need scriptable output.

BrowserOpen the homepage

The large address at the top is the public IP seen for your visit.

Terminalcurl whatsmyconnection.com

Command-line clients receive a plain-text public IP with a newline.

JSON/api/ip

Scripts can read IP version, ASN, country, edge colo, TLS, and client metadata.

Three ways to check

  1. Open WhatsMyConnection.com and read the public IP shown in the hero.
  2. Run curl whatsmyconnection.com for a terminal-friendly plain-text response.
  3. Use /api/ip when you need structured JSON for tools or tests.

What the result means

The result is the public IP address observed by the Cloudflare edge for that request. It may be IPv4 or IPv6 depending on the path your browser or CLI selected.

Public IP FAQ

What is my public IP address?

Your public IP address is the address websites see for the request you made. It can be IPv4 or IPv6.

Is my public IP the same as my local IP?

Usually no. Local IP addresses are used inside your private network, while public IP addresses are visible to websites.

How can I get my IP address from the terminal?

Run curl whatsmyconnection.com for a plain-text public IP response, or request /api/ip for JSON connection details.