IP2Location

IP2Location — free tier with API key

🗺 Geo & MapsREACHABLEchecked 7h ago
AUTH APIKEYCORS AGENT HTTPS COMMERCIAL ?

IP2Location exposes a free-tier JSON API. Register for an API key if required; we verified a public or demo endpoint.

100REACHABILITY SCORE ⓘ
Status badge · for your READMEshipapis health badge: — · healthy
CHECK TIER · REACHABILITY

We probe without your API key. A 401/403 auth wall means the server is up — not a full health pass.

Uptime history
100%90d reachable
100%30d reachable
7hLast check · since JUL 8 · server OK
operationalpartialdownno data
Live response samplecaptured by our last successful check
GET https://api.ip2location.com/v2/?key=demo

{
  "response": "OK",
  "country_code": "US",
  "credits_consumed": 1
}
Call itcurl · fetch · python
curl "https://api.ip2location.com/v2/?key=demo"
const res = await fetch("https://api.ip2location.com/v2/?key=demo");
const data = await res.json();
console.log(data);
import requests

res = requests.get("https://api.ip2location.com/v2/?key=demo")
print(res.json())

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

Endpoints · 6ReachableFULL DOCS ↗
Auth wall reachable — GET /v2/?key=demo (key stripped)131 mschecked 7h ago
GET/v2/?key=demoPROBED

IP2Location — free tier with API key

GET/v2/

V2 — documented GET route.

GET/v2/search

Search by query parameters.

GET/v2/popular

Popular items ranked by usage.

GET/v2/?limit=5

V2 — documented GET route.

GET/v2/?page=1

V2 — documented GET route.

Machine-readable spec

We probe without your API key. A 401/403 auth wall means the server is up — not a full health pass. 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.

IP2Location: common questions

Is IP2Location free to use?

Yes — IP2Location is a free geo & maps API. Free tier: Free tier — API key required. Whether the free tier allows commercial use is unclear — check the provider docs.

Does IP2Location need an API key?

Yes — IP2Location needs a free API key, which you pass on each request. Rate limits: Unpublished.

Can I call IP2Location from the browser?

Not directly — IP2Location 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 IP2Location up right now?

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