ip-api.com

Free IP geolocation (non-commercial)

🔧 Developer ToolsHEALTHYchecked 11h ago
AUTH NONECORS AGENT HTTPS COMMERCIAL ?

Location and ISP metadata. Free without key on HTTP; HTTPS needs paid plan.

99HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: 99 · healthy
Uptime history
99.02%90 days
100%30 days
33P50 · ms
251P95 · ms
operationalpartialdownno data
Response time · last 48 checks
Fastest 13 ms, slowest 199 ms, most recent 39 ms.
Live response samplecaptured by our last successful check
GET http://ip-api.com/json/8.8.8.8?fields=status,country,city,lat,lon

{
  "status": "success",
  "country": "United States",
  "city": "Ashburn",
  "lat": 39.03,
  "lon": -77.5
}
Call itcurl · fetch · python
curl "http://ip-api.com/json/8.8.8.8?fields=status,country,city,lat,lon"
const res = await fetch("http://ip-api.com/json/8.8.8.8?fields=status,country,city,lat,lon");
const data = await res.json();
console.log(data);
import requests

res = requests.get("http://ip-api.com/json/8.8.8.8?fields=status,country,city,lat,lon")
print(res.json())

BROWSER CALLS BLOCKED (NO CORS/HTTPS) — USE THE CURL SNIPPET

Endpoints · 6HealthyFULL DOCS ↗
Monitored path responding — GET /json/8.8.8.8?fields=status,country,city,lat,lon33 mschecked 11h ago
GET/json/8.8.8.8?fields=status,country,city,lat,lonPROBED

Free IP geolocation (non-commercial)

GET/json

Json — documented GET route.

GET/json/1

Json details by ID (example: 1).

GET/json?limit=10

Json — documented GET route.

GET/json/search?q=test

Search by query parameters.

GET/json/8.8.8.8?limit=5

8 8 8 8 — documented GET route.

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.

ip-api.com: common questions

Is ip-api.com free to use?

Yes — ip-api.com is a free developer tools API. Free tier: Free — limits not published. Whether the free tier allows commercial use is unclear — check the provider docs.

Does ip-api.com need an API key?

No — ip-api.com needs no API key or signup. You can call it straight away; rate limits still apply (Unpublished).

Can I call ip-api.com from the browser?

Not directly — ip-api.com doesn't send browser-friendly CORS headers, so call it from a server or proxy instead. Copy the curl or Python snippet on this page to get started.

Is ip-api.com up right now?

As of our last scheduled check, ip-api.com is healthy with 99.02% uptime over 90 days and a 33 ms median response. We re-probe it every sweep — the status badge and uptime chart above always show the latest.