curl my IP address
One curl command returns your IP instantly; add a header for JSON diagnostics when you need more detail.
One curl command returns your IP instantly; add a header for JSON diagnostics when you need more detail.
Live snapshot
IP address
IPv6 address
IPv6 address
🇺🇸 United States
Headers
| Header | Value |
|---|---|
| accept | */* |
| accept-encoding | gzip, br, zstd, deflate |
| cache-control | max-age=259200 |
| connection | close |
| host | nossl.sh |
| user-agent | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| via | 1.1 squid-proxy-5b5d847c96-788gb (squid/6.13) |
| x-forwarded-for | 216.73.216.63 |
Use curl against nossl.sh to grab your IPv4 address without extra markup or TLS overhead.
Pair the curl output with the onscreen share link if you need to prove what headers and geo data the network sees.
Yes. The default curl response is just the IPv4 address followed by a newline, making it safe for shell parsing.
You can curl the HTTPS endpoint, but the HTTP default is intentional to work on captive portals and locked-down networks.
Open the official Apple CNA page to force the captive assistant on iOS and macOS devices.
Open Apple captive portalUse the Android connectivity check URL that devices call before presenting the portal dialog.
Open Android captive portal