DEFINITION GeoIP provides a public HTTP API for software developers to search the geolocation of IP addresses. It uses a database of IP addresses that are associated to cities along with other relevant information like time zone, latitude and longitude.
Searching, please wait...
Server returned {{error}}
{{rateLimit.remaining}} calls remaining, resets in {{rateLimit.expires}}IP | {{record.ip}} |
Country | {{record.country_name}} |
Region | {{record.region_name}} |
City | {{record.city}} |
Zip/Postal code | {{record.zip_code}} |
Lat/Long | {{record.latitude}}, {{record.longitude}} |
Metro code | {{record.metro_code||''}} |
Time zone | {{record.time_zone}} |
The HTTP API takes GET requests in the following schema:
geoip.definitionhub.com/{format}/{IP_or_hostname}
Supported formats are: csv, xml, json and jsonp. If no IP or hostname is provided, then your own IP is looked up.
geoip.definitionhub.com/csv/8.8.8.8
geoip.definitionhub.com/xml/4.2.2.2
geoip.definitionhub.com/json/github.comMake it JSONP by adding the callback argument to the request.