GeoIP-db

Free IP geolocation API with no key required, returning country, city, state, la

🗺 Geo & MapsHEALTHYchecked 6h ago
AUTH NONECORS AGENT HTTPS COMMERCIAL ?

Free IP geolocation API with no key required, returning country, city, state, latitude, and longitude for any IP.

94HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: 94 · healthy
Uptime history
94.1%90 days
90.0%30 days
220P50 · ms
4703P95 · ms
operationalpartialdownno data
Response time · last 48 checks
Fastest 42 ms, slowest 2425 ms, most recent 156 ms.
Live response samplecaptured by our last successful check
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
}
Call itcurl · fetch · python
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())
Endpoints · 5HealthyFULL DOCS ↗
Monitored path responding — GET /json/8.8.8.8220 mschecked 6h ago
GET/json/8.8.8.8PROBED

Free IP geolocation API with no key required, returning country, city, state, la

GET/json

Json — documented GET route.

GET/json/1

Json details by ID (example: 1).

GET/json?limit=10

Json — documented GET route.

GET/json/search?q=test

Search by query parameters.

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. 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.

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.