ip-api.com
Free IP geolocation (non-commercial)
Location and ISP metadata. Free without key on HTTP; HTTPS needs paid plan.
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
}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
/json/8.8.8.8?fields=status,country,city,lat,lonPROBEDFree IP geolocation (non-commercial)
/jsonJson — documented GET route.
/json/1Json details by ID (example: 1).
/json?limit=10Json — documented GET route.
/json/search?q=testSearch by query parameters.
/json/8.8.8.8?limit=58 8 8 8 — documented GET route.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.
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.