ip-facts

Why use ip-facts.com

Plenty of sites will tell you your IP address. Here is what we do differently, and exactly how it works.

Fast by design

Your IP address is rendered on the server and shown the instant the page loads; location details fill in a moment later. Pages are lightweight, with no ad networks or analytics scripts slowing them down. Repeated lookups are served from a short-lived cache, so popular queries come back almost instantly.

Private by default

The full details, including the session cookie and server records we do keep, are in our privacy policy.

Free, with fair limits

Every tool is free to use. To keep it that way and to prevent abuse, lookups are limited to 20 per minute and 300 per hour per visitor, and port checks to 5 per minute and 60 per hour. Normal use will never hit these.

Reliable data sources

Developer-friendly

Get your public IP in one request, as plain text or JSON, with CORS enabled for browser apps:

curl https://ip-facts.com/ip.txt
curl https://ip-facts.com/api/ip

See the API docs for details and limits.

Safe tools

The port checker only connects to public internet addresses and refuses private, loopback and reserved ranges, so it can't be used to probe internal networks.