How to find IP address of website visitors

  • 41

Do you have a website and need to modify the content based on the IP address location of the users? Or, do you require to enter security threats approaching from unsafe IP addresses? You can do all these things by applying ipstack API.

Sites to Find Geographic Location of an IP Address

These websites are based on a pre-compiled database of existing IP Addresses to display the exact position of an IP. Therefore, we advise that you always cross-check the location of a particular IP address from the different websites listed below. So, let’s check out.


If you are in need of a simple and easy-to-use platform to find out the IP location, then you need to check out This website gives you the Geographic location, ISP, Proxy, Platform, Browser, User-Agent details, etc. It also explains to you whether the user has enabled the Cookie and Javascript or not.


On this website, you can easily find out the IPv4 or IPv6 addresses of internet users. This gives you an idea about what part of the country or world you are getting the visitors from. The IP lookup tool allows you to know the ISP name, IP hostname, Country, Region, City, Latitude & Longitude, Area Code, etc.


With, you can determine the geolocation of any IP Address. The Lookup result shows you the city, state/region, postal/zip code, country name, ISP, and time zone. However, no IP lookup tool is 100% accurate due to many different factors. So, we recommend you cross-check the IP Lookup results with different websites listed in the article.


If you are searching for a web-based tool to gather information about the IP Address, then might be the best pick for you. This tool tells you about the IP address, hostname, provider, ASN, Country, Continent, Coordinates, etc. The site also supports IPv6 geolocation. You just need to enter a valid IP Address in order to perform an IP lookup.


The site serves as a Geo IP solution to identify a country, region, city, latitude, longitude, ZIP code, time zone, connection speed, ISP, domain code, etc. The site is known for its non-intrusive IP location lookup technology that retrieves geolocation information with no explicit permission.


If you are searching for an easy-to-use website to find the approximate geographic location of an IP Address, then you need to give a try. It’s one of the best sites for reverse IP lookup. It provides essential information about the IP Address like ISP, TimeZone, Area Code, State, etc.

7. Melissa


Well, Melissa is a website from where you can find details about the Zip codes, Email Check, Global IP location, etc. The site also offers an IP lookup tool that lets you find the accurate location of an IP Address. It also shows other information about the IP like geolocation, city, state, ISP, etc.


ipstack is a website that lets you locate and identify website visitors by IP Address. According to the site, ipstack is trusted by lots of popular companies like Microsoft, Airbnb, Samsung, etc. The IP Lookup feature is free, but if you want to explore the advanced features, then you need to purchase a premium account.


It’s basically a DNS lookup service that’s mostly used to check domain name server records. It also has an IP lookup feature that provides information about the location of any entered IP Address. It also shows the location on the live interactive map.


Neustar offers an IP Address & Geolocation lookup tool that you can use for free. The IP lookup tool is extremely easy to use. You just need to enter the IP Address and hit the lookup button. Once done, it will show you all available information such as country code, region, state, Postal Code, Area Code, Carrier, etc.

So, these are the five best websites to find out the geolocation of any IP Address. I hope this article helped you! Share it with your friends also.

What does ipstack offer? offers a mighty, real-time IP to geolocation API suitable for looking up exact position data and assessing security troubles arising from risky IP addresses. Results are served within milliseconds in JSON or XML format.

By applying the ipstack API you’ll be good to detect website visitors at first sight and edit your user experience and application perfectly.

The ipstack API is being applied by thousands of designers and corporates worldwide to know where the users are coming from and modify the content based on their position.

The ipstack database and API are incorporated with numerous large ISPs worldwide to get the ultimate information about fresh and existing IP ranges and so provide exact data.


Ipstack is integrated with many channels giving real-time IP data, which is why the database used by the ipstack API is modernized regularly, with up to 24 database updates per day.

Let’s see how to apply ipstack API to acquire the data about the website visitors applying jQuery.

In order to call the ipstack API and get the IP address and other data about the visitors, you will be required to have an API key. For trial purposes, you can get it free by registering with their free plan from here.

ipstack registration form

After getting done with the registration, you will get your free API access key, as shown below.

This API key can be used in 3 ways:

  • Standard Lookup: Look up the data behind an IP address.
  • Bulk Lookup: Look up the data behind multiple IP addresses at once.
  • Requester Lookup: Look up the data behind the IP address your API request is coming from.

The base URL will be

For the standard lookup, send a request to<ipaddress>?access_key=<your access key>

For the bulk lookup, send the request to<ip address1, IP address2, IP address3>?access_key=<your access key>

For requester lookup, send request<your access key>

Let’s test requester lookup.

Open your browser and enter Replace XXX with your API access key. You will get the JSON response as shown below.

IP address : IPSTACK

How to use jQuery to lookup IP address of website visitors

The following example shows the standard lookup request using jQuery.

// set endpoint and your access key
var ip = ''
var access_key = 'YOUR_ACCESS_KEY';

// get the API result via jQuery.ajax
    url: '' + ip + '?access_key=' + access_key,   
    dataType: 'jsonp',
    success: function(json) {

        // output the "capital" object inside "location"

When you finish executing the above request, you will get the following JSON response.

        "ip": "",
        "hostname": "",
        "type": "ipv4",
        "continent_code": "NA",
        "continent_name": "North America",
        "country_code": "US",
        "country_name": "United States",
        "region_code": "CA",
        "region_name": "California",
        "city": "Los Angeles",
        "zip": "90013",
        "latitude": 34.0453,
        "longitude": -118.2413,
        "location": {
        "geoname_id": 5368361,
        "capital": "Washington D.C.",
        "languages": [
            "code": "en",
            "name": "English",
            "native": "English"
        "country_flag": "",
        "country_flag_emoji": "🇺🇸",
        "country_flag_emoji_unicode": "U+1F1FA U+1F1F8",
        "calling_code": "1",
        "is_eu": false
        "time_zone": {
        "id": "America/Los_Angeles",
        "current_time": "2018-03-29T07:35:08-07:00",
        "gmt_offset": -25200,
        "code": "PDT",
        "is_daylight_saving": true
        "currency": {
        "code": "USD",
        "name": "US Dollar",
        "plural": "US dollars",
        "symbol": "$",
        "symbol_native": "$"
        "connection": {
        "asn": 25876,
        "isp": "Los Angeles Department of Water & Power"
        "security": {
        "is_proxy": false,
        "proxy_type": null,
        "is_crawler": false,
        "crawler_name": null,
        "crawler_type": null,
        "is_tor": false,
        "threat_level": "low",
        "threat_types": null

Thus, you can use ipstack API to know visitors’ IP addresses easily and quickly.

Do you have a website and need to modify the content based on the IP address location of the users?…

Do you have a website and need to modify the content based on the IP address location of the users?…

Leave a Reply

Your email address will not be published.