ipify
ipify operates two complementary IP APIs. The free Public IP Address API (api.ipify.org, api6.ipify.org, api64.ipify.org) returns the caller's public IPv4, IPv6, or dual-stack address as plain text, JSON, or JSONP — with no authentication, no rate limit, and no logging. The paid IP Geolocation API (geo.ipify.org), operated by WhoisXML API, resolves an IP, domain, or email to a country/region/city, ISP, and Autonomous System (ASN) profile using credit-metered subscription plans.
APIs
ipify Public IP Address API
Free, unauthenticated, unlimited public IP address lookup. Returns the caller's IPv4 (api.ipify.org), IPv6 (api6.ipify.org), or dual-stack (api64.ipify.org) address as plain tex...
ipify IP Geolocation API
Paid, credit-metered IP geolocation API operated by WhoisXML API. Resolves an IP, domain, or email to country/region/city, ISP, and AS (ASN) profile. Country (1 credit), Country...
Collections
Pricing Plans
Rate Limits
FinOps
Ipify Finops
FINOPSFeatures
Return the caller's public IPv4, IPv6, or dual-stack address with zero authentication.
Plain text, JSON, or JSONP — pick what the client speaks natively.
Resolve IP, domain, or email to country/region/city, ISP, and ASN.
Optionally return up to five reverse-DNS associated domains for an IP.
Query remaining credits on the API key in real time.
Hard 100 requests/second per API key on the Geolocation API.
The free public IP server is MIT/Unlicense-licensed Go (github.com/rdegges/ipify-api).
Use Cases
Bootstrapping cloud instances that need to know their own egress IP.
Configuring SSH/VPN tunnels that need the client's current public IP.
Personalize banners, currency, or language based on visitor country/city.
Flag suspicious traffic by ASN, ISP, or geographic mismatch.
Block or restrict access from disallowed regions or countries.
Cross-reference IP origin with AS classification (Hosting vs ISP) for traffic scoring.
Integrations
Geolocation product line is part of WhoisXML API's broader IP/DNS intelligence catalog.
Public IP API server (rdegges/ipify-api) is deployed on Heroku.
Bash, C, Clojurescript, Crystal, Dart, Elixir, Go, Java, Kotlin, .NET, Node.js, Objective-C, PHP, Python, R, Rust, Swift, Xojo, and more.
Solutions
Drop-in HTTP call to api.ipify.org with no signup. Best for client-side IP discovery.
Credit-metered Geolocation API for backend enrichment of inbound traffic.
Geolocation API with `reverseIp=1` for associating an IP with up to five domains.