A simple IP Address API.
ipify is a public IP address API that returns the caller's public IPv4 or IPv6 address. Requests can be made via api.ipify.org (IPv4), api6.ipify.org (IPv6 only), or api64.ipify.org (IPv4/IPv6 universal), with responses available as plain text, JSON, or JSONP. Common use cases include cloud server provisioning and retrieving a public IP from behind a firewall.
The API is free to use without rate limits, does not log visitor information, and is open source, with its source code hosted on GitHub. Its infrastructure runs on Heroku.
The service is aimed at developers who need to programmatically determine a public IP address, and the site provides code samples in numerous languages including Bash, Python, Ruby, PHP, Java, Perl, C#, VB.NET, Node.js, Go, Racket, Lisp, Xojo, Scala, JavaScript, jQuery, Elixir, Nim, PowerShell, Lua, PureBasic, LiveCode, Objective-C, Swift, and Arduino. A separate IP Geolocation API is referenced for retrieving geolocation data by IP.
Yes, ipify can be used without limit, even for millions of requests per minute.
Yes, ipify works with both IPv4 and IPv6 addresses, and offers dedicated api6.ipify.org and universal api64.ipify.org endpoints.
You can get your IP as plain text, JSON, or JSONP.
No, ipify states that no visitor information is ever logged.
Yes, ipify is completely open source and its code is available on GitHub.
Show your product to thousands of developers
· 100k monthly pageviews
· 7k newsletter subscribers
Geographic location of an IP address or any domain name along with some other useful information.
WHOIS domain name lookup.
Geographic location of an IP address or any domain name along with some other useful information.
Another simple IP Address API.
IP geolocation and threat data API.
A free IP Geolocation and proxy/tor/VPN detection API.