geoIP.tools

geoIP.tools

Welcome to geoip.tools, a free GeoIP service that provides a public HTTPS (SSL access) API to retrieve geolocation from any IP or hostname. CORS support.
IP
City
Region/Code
Country/Code
Zip Code
Time Zone
Lat/Lon

API doc (version 0.2.5)

HTTP Request template:
GET https://geoip.tools/v1/{format}/?q={IP-or-hostname}
Supported formats : json, xml and csv
If no IP or hostname is provided it retrieves your own IP
IPv4 and IPv6 supported
CORS support out of the box makes geoip.tools perfect to your front end apps or webs
Examples:
- https://geoip.tools/v1/json
- https://geoip.tools/v1/json/?q=geoip.tools
- https://geoip.tools/v1/xml/?q=192.168.200.200
- https://geoip.tools/v1/xml/?q=2a00:1450:4006:803::200e

Usage Limits:
300 requests per minute (432.000 API requests daily) Once reached subsequent requests will result in error 503 until your quota is cleared
If you need more quota contact us
Our API requires no key or signup.

JSON response example
{   
  "ip": "192.168.200.200",
  "country_code": "GB",
  "country_name": "United Kingdom",
  "region_code": "ENG",
  "region_name": "England",
  "city": "London",
  "zip_code": "SL1",
  "time_zone": "Europe/London",
  "latitude": 50.0500,
  "longitude": 0.6172   
}