ipify

Your public IP as JSON. One job, done perfectly.

🔧 Developer ToolsHEALTHYchecked 2h ago
AUTH NONECORS AGENT HTTPS COMMERCIAL

ipify returns the caller’s public IP address. That is the entire API — which is exactly why it appears in half the networking tutorials ever written. Unlimited, CORS-open, commercial-friendly, and in five years of community memory it has effectively never been down.

HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: — · healthy
Uptime history
—%90 days
—%30 days
P50 · ms
P95 · ms
operationalpartialdownno data
Live response samplecaptured by our last successful check
GET https://api.ipify.org/?format=json

{
  "ip": "154.160.1.24"
}
Call itcurl · fetch · python
curl "https://api.ipify.org/?format=json"
const res = await fetch("https://api.ipify.org/?format=json");
const data = await res.json();
console.log(data);
import requests

res = requests.get("https://api.ipify.org/?format=json")
print(res.json())
Endpoints · 2HealthyFULL DOCS ↗
Monitored path responding — GET /?format=jsonchecked 2h ago
GET/?format=jsonPROBED

Your public IPv4 or IPv6 address as JSON.

GET/?format=json&callback=getIP

JSONP variant for legacy browser scripts.

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.

Response-shape history

Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.

ipify: common questions

Is ipify free to use?

Yes — ipify is a free developer tools API. Free tier: Unlimited. Commercial use is allowed on the free tier.

Does ipify need an API key?

No — ipify needs no API key or signup. You can call it straight away; rate limits still apply (None).

Can I call ipify from the browser?

Yes — ipify returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.

Is ipify up right now?

As of our last scheduled check, ipify is healthy. We re-probe it every sweep — the status badge and uptime chart above always show the latest.