Icanhazip
IP Address API
- Authentication
- No auth
- HTTPS
- Yes
- CORS
- Yes
- Category
- Development
- Documentation / URL
- https://major.io/icanhazip-com-faq/
Overview
icanhazip.com returns your public IP address as plain text — the classic minimal IP lookup. Keyless and dead simple (verified live).
Quick Start
Your IP (verified live):
curl "https://icanhazip.com"
210.61.187.110
With a User-Agent (to distinguish from the browser):
curl -A "curl/8.0" "https://icanhazip.com"
Authentication
None — keyless.
Rate Limits & Notes
- Free; be polite — no hard published limit.
- Returns plain text (IPv4 by default; IPv6 when the connection is IPv6).
- There’s no JSON — just the IP and a newline.
FAQ
Is icanhazip free? Yes — free and keyless (verified).
Does it return JSON? No — plain text IP only.
Can I get IPv6? Yes — connect over IPv6 and it returns your IPv6 address.
More in Development
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| 24 Pull Requests Project to promote open source collaboration during December | No auth | Yes | Yes | ↗ |
| Agify.io Estimates the age from a first name | No auth | Yes | Yes | ↗ |
| Amazonscraperapi Amazon product, search & batch scraping API with residential proxies (1000 free) | API Key | Yes | No | ↗ |
| AmberOne Turn any website into a build-ready Android, iOS, PWA or Electron app project | API Key | Yes | No | ↗ |
| API Grátis Multiples services and public APIs | No auth | Yes | Unknown | ↗ |