GeoIP-db
Free IP geolocation API with no key required, returning country, city, state, la
Free IP geolocation API with no key required, returning country, city, state, latitude, and longitude for any IP.
GET https://geolocation-db.com/json/8.8.8.8
{
"country_code": "US",
"country_name": "United States",
"city": null,
"postal": null,
"latitude": 37.751,
"longitude": -97.822,
"IPv4": "8.8.8.8",
"state": null
}curl "https://geolocation-db.com/json/8.8.8.8"const res = await fetch("https://geolocation-db.com/json/8.8.8.8");
const data = await res.json();
console.log(data);import requests
res = requests.get("https://geolocation-db.com/json/8.8.8.8")
print(res.json())/json/8.8.8.8PROBEDFree IP geolocation API with no key required, returning country, city, state, la
/jsonJson — documented GET route.
/json/1Json details by ID (example: 1).
/json?limit=10Json — documented GET route.
/json/search?q=testSearch by query parameters.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.
Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.
GeoIP-db: common questions
Is GeoIP-db free to use?
Yes — GeoIP-db is a free geo & maps API. Free tier: Unlimited, no key, no credit card. Whether the free tier allows commercial use is unclear — check the provider docs.
Does GeoIP-db need an API key?
No — GeoIP-db needs no API key or signup. You can call it straight away; rate limits still apply (Unpublished).
Can I call GeoIP-db from the browser?
Yes — GeoIP-db returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.
Is GeoIP-db up right now?
As of our last scheduled check, GeoIP-db is healthy with 94.1% uptime over 90 days and a 220 ms median response. We re-probe it every sweep — the status badge and uptime chart above always show the latest.