nossl.sh

curl my IP address

curl my IP address

One curl command returns your IP instantly; add a header for JSON diagnostics when you need more detail.

Live snapshot

Connection report

IP address

🇺🇸 United States

🌐 Protocol
HTTP/1.0 · HTTP (no TLS)
📡 Ping
Measuring…
🧾 Headers captured
8
🕒 Generated
2025-12-22 11:04:55 UTC

Headers

Request headers

8 headers

One-line commands to copy

Use curl against nossl.sh to grab your IPv4 address without extra markup or TLS overhead.

  • IPv4 only: curl http://nossl.sh
  • IPv4 with JSON headers: curl -H "Accept: application/json" http://nossl.sh/api/request-info
  • Refresh anytime for a fresh timestamp and IP.

Shareable evidence for support

Pair the curl output with the onscreen share link if you need to prove what headers and geo data the network sees.

  • Great for scripts, cron jobs, or CI runners.
  • Plain HTTP avoids captive-portal blocks.
  • Geo hints help confirm the exit region.

Does the command return only the IP?

Yes. The default curl response is just the IPv4 address followed by a newline, making it safe for shell parsing.

Can I force HTTPS instead?

You can curl the HTTPS endpoint, but the HTTP default is intentional to work on captive portals and locked-down networks.

Quick steps to trigger captive portals

Apple captive portal check

Open the official Apple CNA page to force the captive assistant on iOS and macOS devices.

Open Apple captive portal

Android captive portal check

Use the Android connectivity check URL that devices call before presenting the portal dialog.

Open Android captive portal