Public APIs
IPify favicon

IPify

Development

A simple IP Address API.

IPify's website screenshot

About IPify

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.

Key features

  • Returns your public IP address via a simple HTTP API
  • Supports both IPv4 and IPv6 (including a universal IPv4/IPv6 endpoint)
  • Response formats: plain text, JSON, and JSONP
  • No rate limits, even at millions of requests per minute
  • Open source, with client code samples in many languages

Frequently asked questions

Is ipify free to use?

Yes, ipify can be used without limit, even for millions of requests per minute.

Does it support IPv6?

Yes, ipify works with both IPv4 and IPv6 addresses, and offers dedicated api6.ipify.org and universal api64.ipify.org endpoints.

What response formats are available?

You can get your IP as plain text, JSON, or JSONP.

Does ipify log visitor information?

No, ipify states that no visitor information is ever logged.

Is ipify open source?

Yes, ipify is completely open source and its code is available on GitHub.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product