IP2Location
IP2Location — free tier with API key
IP2Location exposes a free-tier JSON API. Register for an API key if required; we verified a public or demo endpoint.
We probe without your API key. A 401/403 auth wall means the server is up — not a full health pass.
GET https://api.ip2location.com/v2/?key=demo
{
"response": "OK",
"country_code": "US",
"credits_consumed": 1
}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
/v2/?key=demoPROBEDIP2Location — free tier with API key
/v2/V2 — documented GET route.
/v2/searchSearch by query parameters.
/v2/popularPopular items ranked by usage.
/v2/?limit=5V2 — documented GET route.
/v2/?page=1V2 — documented GET route.
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.
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.