IP Address Locator

Our IP Address Locator lets you find out the location of over 16,000 IP Addresses per hour for free – no registration, no captchas, no keys required. Both robotic and human IP Address lookups are welcome. Optionally deep link directly to the IP Address Locator results. AJAX, JSON, and JSON-P all supported. Scroll down for a list of nearby cities and a map.

IP Address to locate:

IP AddressLocation
Nearby Cities
MiKmCityBearingDirection
0.000.00Boston0.00North
0.370.60North Waltham17.66North
0.370.60Readville17.66North
1.772.85Charlestown358.35North
2.604.18Cambridge301.07North-West
2.814.53East Boston59.92North-East
3.325.35Somerville321.79North-West
3.345.37Chelsea27.31North-East
3.415.48Brookline Village246.21South-West
3.455.56Allston275.77West
3.515.64New Town277.49West
Country Code
Country
Region Code
Region
City Code
City
CityId
Latitude
Longitude
Capital City
TimeZone
NationalitySingular
Population
NationalityPlural
CIA MapReference
Currency
CurrencyCode
Link to these results: https://geobytes.com/iplocator/?IpAddress=18.190.159.202

Map

Here is a code sample showing how to use this service programmatically.

In PHP, for example, you might access this IP Address Locator service like this:

   function getIP() {
      foreach (array('HTTP_CLIENT_IP','HTTP_X_FORWARDED_FOR','HTTP_X_FORWARDED',
                     'HTTP_X_CLUSTER_CLIENT_IP','HTTP_FORWARDED_FOR','HTTP_FORWARDED',
                     'REMOTE_ADDR') as $key) {
         if (array_key_exists($key, $_SERVER) === true) {
            foreach (explode(',', $_SERVER[$key]) as $ip) {
               if (filter_var($ip, FILTER_VALIDATE_IP) !== false) {
                  return $ip;
               }
            }
         }
      }
   }

   $json = file_get_contents('https://secure.geobytes.com/GetCityDetails?key=7c756203dbb38590a66e01a5a3e1ad96&fqcn=' . getIP());
   $data = json_decode($json);
   echo '<b>'. getIP() .'</b> resolves to:
'. var_dump($data);

– because everybody's somewhere

BESbswy
BESbswy