API docs

Making requests
GET https://geoipify.whoisxmlapi.com/api/v1?apiKey=YOUR_API_KEY&ipAddress=8.8.8.8

It takes up to 2 minutes to activate your account after Sign Up.

Input parameters
apiKey
Required. Get your personal API KEY on My products page.
ipAddress
Required. IPv4 to search location by.
Free access
After Sign Up you automatically get a free subscription plan limited to 1,000 queries per month.
Output format
                            {
  "ip":"8.8.8.8",
  "location": {
    "country": "US",
    "region": "California",
    "city": "Mountain View",
    "lat": "37.40599",
    "lng": "-122.078514",
    "postalCode": "94043",
    "timezone": "-08:00"
  }
}

                        
ip
Requested IP address.
location.country
Two letters country code from ISO 3166.
location.region
Region
location.city
City
location.lat
Latitude
location.lng
Longitude
location.postalCode
Postal Code
location.timezone
Timezone
Try IP Geolocation API for FREE
Have questions?
support@whoisxmlapi.com
We will get back to you within a day.
WHOIS API, LLC

California
USA

Contact us