IP Geolocation API

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

📚 Open DataUNMONITORED
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.

HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: — · unmonitored
ON PROBE SCHEDULE

We probe a documented GET and expect 2xx JSON — full uptime and health score. Open provider docs ↗

Uptime historystarts after first probe

On our probe schedule. Uptime charts appear after the first check lands.

Example responsefrom provider docs — not verified by us
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 · 6On scheduleFULL DOCS ↗
On schedule — GET /?ip=8.8.8.8 awaits first probe
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

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.