curl my public IP
Script-friendly endpoints that return your IPv4 or IPv6 without extra markup.
Script-friendly endpoints that return your IPv4 or IPv6 without extra markup.
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 |
Add nossl.sh to shell scripts to record the IP each job uses when running from VPNs, CI/CD, or edge nodes.
Choose the plain-text or JSON endpoints depending on what your tooling needs.
Paired IPv4 and IPv6 endpoints confirm which path your traffic takes and make it easy to share with network teams.
The root endpoints return only the IP and a newline, making them safe for shell parsing. The API endpoint returns structured JSON.
nossl.sh is intended for lightweight diagnostics; reasonable automation is fine, but avoid high-frequency scraping.
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