IP Geolocation API

IP Geolocation API — The IP2Location API provides a RESTful interface for de…

📚 Open DataHEALTHYchecked 13h ago
AUTH NONECORS AGENT HTTPS COMMERCIAL ?

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.

95HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: 95 · healthy
Uptime history
94.1%90 days
90.0%30 days
257P50 · ms
654P95 · ms
operationalpartialdownno data
Response time · last 48 checks
Fastest 49 ms, slowest 624 ms, most recent 112 ms.
Live response samplecaptured by our last successful check
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"
}
Call itcurl · fetch · python
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

Endpoints · 6HealthyFULL DOCS ↗
Monitored path responding — GET /?ip=8.8.8.8257 mschecked 13h ago
GET/?ip=8.8.8.8PROBED

IP Geolocation API — The IP2Location API provides a RESTful interface for de…

GET/?limit=5

IP Geolocation API root or index route.

GET/?page=1

IP Geolocation API root or index route.

GET/?ip=8.8.8.8&key={YOUR_API_KEY}

API root or index route.

GET/?key={YOUR_API_KEY}&ip=8.8.8.8&format=json

API root or index route.

GET/?key={YOUR_API_KEY}&ip=8.8.8.8&format=xml

API root or index 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 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?

As of our last scheduled check, IP Geolocation API is healthy with 94.1% uptime over 90 days and a 257 ms median response. We re-probe it every sweep — the status badge and uptime chart above always show the latest.