Tools

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

IP Location Finder

IP lookup or IP address lookup with detailed IP geolocation data

Location

City
Hong Kong
Country
Hong Kong (HK)
Continent
Asia (AS)
Coordinates
22.2842 (lat) / 114.1759 (long)
Time
2024-10-31 02:49:48 (Asia/Hong_Kong)

Network

IP address
162.158.179.144
Hostname
162.158.179.144
Provider
CLOUDFLARENET
ASN
13335

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 address 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.