IP Geolocation API
IP Geolocation API — The IP2Location API provides a RESTful interface for de…
IP Geolocation API exposes the IP2Location API provides a RESTful interface for determining the geographical location of users based on their IP addresses in real time. It supports both IPv4 and IPv6 lookups, returning detailed information such as country, city, and coordinates without requiring an API key for up to 500 queries daily. We verified a keyless GET endpoint returning JSON (Open Data). Check the provider docs for rate limits and terms before production use.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Open provider docs ↗
On our probe schedule. Uptime charts appear after the first check lands.
GET https://api.ip2location.io/?ip=8.8.8.8
{
"ip": "8.8.8.8",
"country_code": "US",
"country_name": "United States of America",
"region_name": "California",
"city_name": "Mountain View",
"latitude": 37.38605,
"longitude": -122.08385,
"zip_code": "94035"
}curl "https://api.ip2location.io/?ip=8.8.8.8"const res = await fetch("https://api.ip2location.io/?ip=8.8.8.8");
const data = await res.json();
console.log(data);import requests
res = requests.get("https://api.ip2location.io/?ip=8.8.8.8")
print(res.json())BROWSER CALLS BLOCKED (NO CORS/HTTPS) — USE THE CURL SNIPPET
/?ip=8.8.8.8PROBEDIP Geolocation API — The IP2Location API provides a RESTful interface for de…
/?limit=5IP Geolocation API root or index route.
/?page=1IP Geolocation API root or index route.
/?ip=8.8.8.8&key={YOUR_API_KEY}API root or index route.
/?key={YOUR_API_KEY}&ip=8.8.8.8&format=jsonAPI root or index route.
/?key={YOUR_API_KEY}&ip=8.8.8.8&format=xmlAPI root or index route.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.
Not tracked yet. Shape-change history starts once this API joins our probe schedule.
IP Geolocation API: common questions
Is IP Geolocation API free to use?
Yes — IP Geolocation API is a free open data API. Free tier: Free — limits not published. Whether the free tier allows commercial use is unclear — check the provider docs.
Does IP Geolocation API need an API key?
No — IP Geolocation API needs no API key or signup. You can call it straight away; rate limits still apply (Unpublished).
Can I call IP Geolocation API from the browser?
Not directly — IP Geolocation API 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 Geolocation API up right now?
IP Geolocation API is catalogued but not yet on our probe schedule, so we don't publish a live status for it. Check the provider's own status page or docs for its current state.