What is IP Geolocation?

IP Geolocation is the identification of the geographic location of a device, such as a mobile phone, gadget, laptop, server and so on, by using an IP address.

W3C Geolocation API Demo

Geolocation Search

IP Information

IP Address
Country United States of America Geolocation country flag
Region Virginia
City Ashburn
ZIP or Postal Code 20146
Latitude 39.04372
Longitude -77.48749
ISP Amazon Data Services NoVa
Domain Name amazon.com [WHOIS] [Check Mail Server]
Usage Type DCH
Weather View Weather
Time Zone -04:00
Local Time 17 May, 2021 09:34 PM (UTC -04:00)
The IP geolocation data is powered by https://www.ip2location.com.

Try Our IP2Location Geolocation API

$ curl "https://api.ip2location.com/v2/?ip={YOUR_API_KEY}&package=WS24&addon=continent,country,region,city,geotargeting,country_groupings,time_zone_info"

    "country_code": "US",
    "country_name": "United States of America",
    "region_name": "Virginia",
    "city_name": "Ashburn",
    "latitude": "39.04372",
    "longitude": "-77.48749",
    "zip_code": "20146",
    "time_zone": "-04:00",
    "isp": "Amazon Data Services NoVa",
    "domain": "amazon.com",
    "net_speed": "T1",
    "idd_code": "1",
    "area_code": "703",
    "weather_station_code": "USVA0027",
    "weather_station_name": "Ashburn",
    "mcc": "-",
    "mnc": "-",
    "mobile_brand": "-",
    "elevation": "89",
    "usage_type": "DCH",
    "credits_consumed": 33,
    "continent": {
        "name": "North America",
        "code": "NA",
        "hemisphere": [
        "translations": []
    "country": {
        "name": "United States of America",
        "alpha3_code": "USA",
        "numeric_code": "840",
        "demonym": "Americans",
        "flag": "https:\/\/cdn.ip2location.com\/assets\/img\/flags\/us.png",
        "capital": "Washington, D.C.",
        "total_area": "9826675",
        "population": "331002651",
        "currency": {
            "code": "USD",
            "name": "United States Dollar",
            "symbol": "$"
        "language": {
            "code": "EN",
            "name": "English"
        "idd_code": "1",
        "tld": "us",
        "is_eu": false,
        "translations": []
    "region": {
        "name": "Virginia",
        "code": "51",
        "translations": []
    "city": {
        "name": "Ashburn",
        "translations": []
    "geotargeting": {
        "metro": "511"
    "country_groupings": [
            "acronym": "Americas",
            "name": "Americas"
            "acronym": "APEC",
            "name": "Asia-Pacific Economic Cooperation"
            "acronym": "DAC",
            "name": "Development Assistance Committee"
            "acronym": "G2",
            "name": "Group of Two"
            "acronym": "G20",
            "name": "Group of Twenty"
            "acronym": "G7",
            "name": "Group of Seven"
            "acronym": "G8+5",
            "name": "Group of Eight + Five"
            "acronym": "NAFTA",
            "name": "North American Free Trade Agreement"
            "acronym": "NALA",
            "name": "North America and Latin America"
            "acronym": "OAS",
            "name": "Organization of American States"
            "acronym": "OECD",
            "name": "Organisation for Economic Co-operation and Development"
            "acronym": "P5",
            "name": "Permanent Members of the United Nations Security Council"
            "acronym": "UN",
            "name": "United Nations"
    "time_zone_info": {
        "olson": "America\/New_York",
        "current_time": "2021-05-17T21:34:44-04:00",
        "gmt_offset": -14400,
        "is_dst": "yes",
        "sunrise": "05:53",
        "sunset": "20:19"

Try Our IP2Proxy Geolocation API

$ curl "http://api.ip2proxy.com/?key={YOUR_API_KEY}&ip="

    "response": "OK",
    "countryCode": "US",
    "countryName": "United States of America",
    "regionName": "Virginia",
    "cityName": "Ashburn",
    "isp": "Amazon Data Services NoVa",
    "domain": "amazon.com",
    "usageType": "DCH",
    "asn": "14618",
    "as": "Amazon.com Inc.",
    "lastSeen": "17",
    "proxyType": "DCH",
    "isProxy": "NO"

What are the types of Geolocation?

IP Geolocation

IP Geolocation is a technique to lookup for visitor\'s geolocation information, such as country, region, city, ZIP code/postal code, latitude, longitude, domain, ISP, area code, mobile data, weather data, usage type, proxy data, elevation and so on, using an IP address. This IP lookup data source can be found in various forms, for example, database, file, and web service, for users to build the geolocation solutions. This technology is widely used in firewalls, domain name servers, ad servers, routing, mail systems, web sites, and other automated systems where geolocation may be useful. You can visit IP2Location.com to learn more.


W3C Geolocation API

W3C Geolocation API is an effort by the World Wide Web Consortium (W3C) to standardize an interface to retrieve the geographical location information for a client-side device. The most common sources of location information are IP address, Wi-Fi and Bluetooth MAC address, radio-frequency identification (RFID), Wi-Fi connection location, or device Global Positioning System (GPS) and GSM/CDMA cell IDs. The location is returned with a given accuracy depending on the best location information source available.



Geocoding is often related to Geolocation. It is a process of finding associated geographic coordinates (latitude and longitude) from other geographic data such as city or address. With geographic coordinates, the features can be mapped and entered into Geographic Information Systems. Reverse geocoding is the finding an associated textual location such as an address, from geographic coordinates. You can visit GeoDataSource.com for a comprehensive list of world cities with latitude and longitude.


Free IP Geolocation Downloads

IP Geolocation Database

This database provides you the continent name for up to 81 different languages.
This database provides you the country name for up to 81 different languages.
This database provides you the region and city name in their country native language.
ZIP Code
to Metro
This database provides you the mapping of ZIP Code to Metro.

US State Code and Name

United States
State Code
A complete list of US state codes and names. Example, ALABAMA -> AL, ALASKA -> AK.

IP2Location World SVG Map

IP2Location World SVG Map Free World SVG Map
IP2Location Widget
IP2Location Programming Contest 2020