Tools

Troubleshoot website, network, and CDN issues for fast resolutions.

IP Location Finder

IP lookup simplified

Location

City
Chicago
Region
Illinois (IL)
Postal code
60602
Country
United States (US)
Continent
North America (NA)
Metro code
602
Coordinates
41.8483 (lat) / -87.6517 (long)
Time
2021-05-17 11:34:19 (America/Chicago)

Network

IP address
40.77.188.194
Hostname
msnbot-40-77-188-194.search.msn.com
Provider
MICROSOFT-CORP-MSN-AS-BLOCK
ASN
8075

IP Location Finder FAQ

What is IP Geolocation?

IP geolocation is the mapping of an IP address to the geographic location of the internet from the connected device. By geographically mapping the IP address, it provides you with location information such as the country, state, city, zip code, latitude/longitude, ISP, area code, and other information.

How does the IP lookup work?

ARIN's WHOIS service gives contact and registration information for the IP lookup and is freely available to access. When a company acquires a block of IP addresses, a request is submitted and then those IPs are assigned to the requested ISP.

The IP geolocation data gets updated automatically based on the databases of the regional Internet registry (RIR). Manual updates are not possible.

How accurate is IP Geolocation?

There are many different IP location databases in which you can pull from. Most vendors claim a 98% or higher accuracy. IP mapping to specific cities can sometimes vary slightly based upon the location of the nearest ISP provider's network hub.

Does it support IPv6 location lookups?

Yes, IPv6 geoloaction is supported as well. Just enter a valid address above to perform the IPv6 lookup.

IP Location Finder API

Get the IP geolocation data through the simple REST API. All the responses are JSON encoded. We are rate limiting requests (3r/s) to avoid overload of the system.

Please note that the use of this service requires a link back in your project: [IP Location Finder by KeyCDN](https://tools.keycdn.com/geo)

It is required to set the request header User-Agent in the format keycdn-tools:https?://.*, which must include the website you are using the API for. Missing attributions or invalid values will be blocked.

                        
                            GEThttps://tools.keycdn.com/geo.json?host={IP or hostname}
                        
                    

Request Parameters

Parameter Value Default
host
required
{alphanumeric}

Response Parameters

Parameter
host
ip
rdns
asn
country_name
country_code
region_name
region_code
city
postal_code
contitent_code
latitude
longitude
metro_code
timezone
datetime

Example

                                
                                    $ curl -H "User-Agent: keycdn-tools:https://www.example.com" "https://tools.keycdn.com/geo.json?host=www.example.com"
                                
                            
                                
                                    {
                                        "status":"success",
                                        "description":"Data successfully received.",
                                        "data":{
                                            "geo":{
                                                "host":"www.example.com",
                                                "ip":"93.184.216.34",
                                                "rdns":"93.184.216.34",
                                                "asn":15133,
                                                "isp":"MCI Communications Services, Inc. d\/b\/a Verizon Business",
                                                "country_name":"United States",
                                                "country_code":"US",
                                                "region_name":"Massachusetts",
                                                "region_code":"MA",
                                                "city":"Norwell",
                                                "postal_code":"02061",
                                                "continent_name":"North America",
                                                "continent_code":"NA",
                                                "latitude":42.1596,
                                                "longitude":-70.8217,
                                                "metro_code":506,
                                                "timezone":"America\/New_York",
                                                "datetime":"2019-06-01 00:00:00"
                                            }
                                        }
                                    }
                                
                            

Get started for free

Try KeyCDN with a free 14 day trial, no credit card required.

Get startedPricing
KeyCDN uses cookies to make its website easier to use. Learn more about cookies.