Hatchloop /

IP Geolocation

Free API

Look up any IP address

Enter an IPv4 or IPv6 address, or leave blank to look up your own IP.

Raw JSON

      

REST API Reference

Zero-auth, CORS-open. Returns JSON.

GET /ip-geolocation?ip=8.8.8.8

{
  "ip":       "8.8.8.8",
  "city":     "Mountain View",
  "region":   "California",
  "country":  "US",
  "lat":      37.4056,
  "lon":      -122.0775,
  "org":      "AS15169 Google LLC",
  "postal":   "94043",
  "timezone": "America/Los_Angeles"
}

Omit ip to geolocate the caller's IP. Health: GET /ip-geolocation/health