What is My IP Address?
Your IP Information
Failed to fetch data, please try again
CLI / one-liner
curl https://ipconf.mecurl https://ipconf.me/jsoncurl https://ipconf.me/json/8.8.8.8REST API
Free, no auth for basic endpoints. JSON with IP, geo, ISP, ASN.
Try these IPs
All endpoints →Click any well-known IP to see its full geolocation, ISP, and ASN.
Network diagnostics
All tools →Eleven server-side tools for DNS, TLS, routing, and HTTP debugging — no signup.
Recent tutorials
All tutorials →7 min read
Get your public IP from the command line
curl, wget, PowerShell, JSON endpoints, proxies, scripting.
9 min read
DNS records explained for developers
A, AAAA, CNAME, MX, TXT, NS, plus TTL and propagation.
8 min read
SSL certificate troubleshooting checklist
Hostname, expiry, chain, TLS versions, mixed content.
10 min read
Build IP geolocation into your app
Caching, VPN handling, privacy, code in JS/Python/Go.
Frequently asked
Why does ifconfig show a different IP than this page?+
Your local interface usually has a private RFC1918 address (192.168.x.x or 10.x.x.x) that only works inside your LAN. The public IP shown here is what your router uses on the internet via NAT — and that's what every website actually sees.
I have IPv6 — why does the page only show one address?+
It shows both if your network has both. We combine results from api.ipconf.me (often returns IPv6 on dual-stack browsers) and an IPv4-only endpoint to recover the full picture. If you only see one, that family is the only one your browser used to reach us.
The geolocation says I'm in the wrong city.+
City-level accuracy is best-effort. Mobile carriers (CGN), corporate VPNs, residential ISPs that consolidate at regional gateways, and any cloud / hosting IP frequently show their gateway location rather than yours. Use the Report button to submit a correction.
Is the API really free with no signup?+
For the IP and geolocation endpoints (/api/ip, /api/ip/{ip}, /api/stats), yes — CORS-enabled, no key required. Network-tool endpoints (/api/tools/*) need a lightweight X-Client-Key for fair-use rate limiting; reach out via the About page for one.
Do you log my IP?+
Server access logs (including IP) are kept for up to 30 days for abuse prevention and aggregate statistics, then permanently deleted. We don't require accounts and don't build per-user profiles. See the Privacy page for full details.
How do I get just the IP as plain text?+
Hit the root domain with a CLI client: curl https://ipconf.me. We detect User-Agent and return plain text to curl, wget, PowerShell, Python requests, and similar, and HTML to browsers.