
This won’t give you information about the IP’s geolocation, however, once you have the IP address, you can use a dedicated geolocation tool to get more detailed information about it. If you have access to your site’s logs, you can get a user’s IP from the access log. Now you can see information like device ID, and compare how your site performs across desktop, tablet, and mobile devices. Use a similar method to find out information about your users’ devices
#Ip locator exact location free#
Google will not charge you until you’ve exceeded the API’s free limit quota. In order to make a request, you need an API key, which you can get by creating a Google Developer account, setting up a project, and adding a billing method. Geolocation requests to the Maps API are sent using a POST request and JSON request object. If you get a 404 response, you’ve confirmed that the device is out of range of cell towers or WiFi. This will prevent Google from falling back to the IP address. To test this, try setting the considerIp option in your request object to false. In this case, the location cannot be accurately estimated. When this happens, it indicates that the device is out of range of cell phone towers or WiFi access points, or that none of the provided points were valid or recognized. If the location is estimated based on the device’s IP address alone, this radius can be quite large. The accuracy field represents a radius, in meters, around the given location. The Maps API does not require an IP address to look up a device’s location.

It is able to look up the latitude and longitude of a mobile client based on that device’s proximity to cell phone towers and WiFi nodes.


The Google Maps Geolocation API is primarily meant to be used without an IP address. How Does the Google Map Geolocation API work? Google returns a lot of information about cell phone towers, WiFi nodes, and radio types, but no information about the country, city, postcode, or other useful information. It is not easy and there are a lot of hurdles in the way of setting up a simple test for app development.Īdditionally, the information returned by the Google API is not necessarily the information you might want to use in your app. Getting started with the Google Maps Geolocation API requires creating a Developer account in the Google Cloud, defining a new project, and entering billing information. Unfortunately, the Google Map Geolocation API console is cumbersome and confusing to use.
