All free APIs
Free APIProductivityNo keyOfficial

ipify

Dead-simple 'what is my public IP' API, IPv4 and IPv6

ipify returns the caller's public IP address in plain text, JSON, or JSONP. It is free, keyless, has no rate limit, and supports both IPv4 and IPv6 via dedicated hostnames. The canonical zero-config way for a server or client to learn its own egress IP.

Free tier

Free, no key, unlimited

Rate limits

No rate limit (explicitly advertised as unlimited)

Auth

No key

Base URL

https://api.ipify.org

What you'd build with it

  • Detect a server's egress IP to allowlist it against a third-party service
  • Show a user their current public IP in a network-diagnostics tool
  • Pair with a geo-IP API to resolve approximate location from the returned IP

Key endpoints

  • GET/?format=jsonReturn caller public IPv4/IPv6 as JSON
  • GET/Return caller public IP as plain text
Members

Members get the runnable recipe

Sign in free to copy the example request, see a sample response, and read the gotchas.

Tags

ipnetworkutilitygeo