GeoIP-db
Free IP geolocation API with no key required, returning country, city, state, latitude, and longitude for any IP.
🟢 Online · 94 ms
99.86%
Unlimited, no key, no credit card
No key required
Is GeoIP-db down right now?
No — GeoIP-db was up at our last check (Sun, 29 Nov 2026 08:20 UTC): HTTP 200 in 94 ms. It answered 99.86% of our hourly checks over the last 30 days.
We check every tracked API hourly from Cloudflare's network; this page is rebuilt every few hours. For the value right now, query the public JSON API or the MCP server.
Free alternatives (live ranking)
- ip-api.com — 🟢 Online · 45 calls/min (HTTP only), no key, no credit card
- BigDataCloud Reverse Geocoding — 🟢 Online · Unlimited (client-side), no key for basic endpoints
- Geoapify — 🟢 Online · 3,000 calls/day, free key, no credit card
Paid alternatives
- IPinfo — from $49/mo
Frequently Asked Questions
Does GeoIP-db require an API key?
No, GeoIP-db is freely accessible without registration or an API key.
What is GeoIP-db's free tier?
Unlimited, no key, no credit card
Is GeoIP-db down right now?
At our last check (Sun, 29 Nov 2026 08:20 UTC) GeoIP-db was up, with HTTP 200 in 94 ms. We check it every hour, and it answered 99.86% of checks over the last 30 days.
Implementation notes
When to use GeoIP-db
GeoIP-db is the simplest no-key IP geolocation option that works over HTTPS — unlike ip-api.com's free tier, which is HTTP-only. It returns country, state, city, latitude, and longitude for any IP with no account or key needed. Use it for basic visitor analytics or content localisation in browser-side code.
Common pitfalls
- The service has no documented rate limits and no SLA. It is a free public service maintained without commercial backing — downtime is possible and has been observed. Do not use it as a sole dependency for critical features; add a fallback.
- Accuracy is city-level at best and degrades for mobile IPs, VPNs, and cloud provider ranges. The `latitude`/`longitude` returned for a city is the geographic centroid of that city, not the precise user location.
- The API returns `null` for unknown or private IPs (RFC 1918 ranges like `192.168.x.x`). If you pass a local or internal IP, the response body includes `null` for all address fields rather than an error status, which can be tricky to detect.
- CORS is permissive — the API allows cross-origin requests. However, the response does not set a `Vary` header, which can cause proxy caches to return stale results for different IPs served through the same CDN node.
Quick start (bash)
curl "https://geolocation-db.com/json/8.8.8.8" Embed this badge
Add a live status badge to your README, docs, or website.
Markdown
[](https://freeapi.watch/geoip-db) HTML
<a href="https://freeapi.watch/geoip-db"><img src="https://api.freeapi.watch/badge/geoip-db.svg" alt="GeoIP-db Status"/></a>