Web server that retrieves geolocation information from any IPv4, IPv6 or hostname.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
_error
_lib
_public
client
server
.gitignore
LICENSE.md
README.md

README.md

Maintained YES
Ask Me Anything !

logo GEOIP-TOOLS

Free GeoIP service that provides a public HTTPS (SSL access) API to retrieve geolocation information from any IPv4, IPv6 or hostname.

version 0.2.5

API DOCS

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

  • 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.

  • 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   
}

Acknowledgment

  • This site includes GeoLite2 data created by MaxMind, available from maxmind.com