GeoIP-db
Free IP geolocation API with no key required, returning country, city, state, latitude, and longitude for any IP.
Status
🟢 Online · 981 ms
🟢 Online · 981 ms
30-day uptime
71.84%
71.84%
Free tier
Unlimited, no key, no credit card
Unlimited, no key, no credit card
Auth
No key required
No key required
Free alternatives (live ranking)
- Nominatim (OpenStreetMap) — 🟢 Online · 1 req/sec, must set User-Agent, no key
- ip-api.com — 🟢 Online · 45 calls/min (HTTP only), no key, no credit card
- IPinfo — 🟢 Online · 50,000 calls/month, no key (token extends limits)
Compare GeoIP-db with…
- GeoIP-db vs Nominatim (OpenStreetMap) — 1 req/sec, must set User-Agent, no key
- GeoIP-db vs ip-api.com — 45 calls/min (HTTP only), no key, no credit card
- GeoIP-db vs IPinfo — 50,000 calls/month, no key (token extends limits)
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 currently online?
We check GeoIP-db every hour. The current status is shown at the top of this page. You can also see the 30-day uptime history in the chart above.
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://freeapi-builder.a10ayassine.workers.dev/badge/geoip-db.svg" alt="GeoIP-db Status"/></a>