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.
Enter an IP address to obtain geolocation information.
W3C Geolocation API Demo
|
||
United States of America ![]() |
Virginia | Ashburn |
20146 | 39.039474 | -77.491809 |
Amazon Data Services NoVa | amazon.com [WHOIS] [Check Mail Server] | DCH |
View Weather | America/New_York | 2023-06-06T02:03:26-04:00 |
Unicast | Data Centers | Loudoun County |
14618 | Amazon.com Inc. | |
No | - |
$ curl "https://api.ip2location.io/?key={YOUR_API_KEY}&ip=44.200.112.172"
{
"ip": "44.200.112.172",
"country_code": "US",
"country_name": "United States of America",
"region_name": "Virginia",
"city_name": "Ashburn",
"latitude": 39.039474,
"longitude": -77.491809,
"zip_code": "20146",
"time_zone": "-04:00",
"asn": "14618",
"as": "Amazon.com Inc.",
"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": 83,
"usage_type": "DCH",
"address_type": "Unicast",
"continent": {
"name": "North America",
"code": "NA",
"hemisphere": [
"north",
"west"
],
"translation": {
"lang": null,
"value": null
}
},
"district": "Loudoun County",
"country": {
"name": "United States of America",
"alpha3_code": "USA",
"numeric_code": 840,
"demonym": "Americans",
"flag": "https:\/\/cdn.ip2location.io\/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"
},
"tld": "us",
"translation": {
"lang": null,
"value": null
}
},
"region": {
"name": "Virginia",
"code": "US-VA",
"translation": {
"lang": "",
"value": ""
}
},
"city": {
"name": "Ashburn",
"translation": {
"lang": null,
"value": null
}
},
"time_zone_info": {
"olson": "America\/New_York",
"current_time": "2023-06-06T02:03:26-04:00",
"gmt_offset": -14400,
"is_dst": true,
"sunrise": "05:44",
"sunset": "20:32"
},
"geotargeting": {
"metro": "511"
},
"ads_category": "IAB19-11",
"ads_category_name": "Data Centers",
"is_proxy": false,
"proxy": {
"last_seen": 1,
"proxy_type": "DCH",
"threat": "SCANNER",
"provider": "-"
}
}
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 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.
This database provides you the continent name for up to 81 different languages.
This database provides you the region and city name in their country native language.
This database provides you a list of cities and country codes.
A complete list of US state codes and names. Example, ALABAMA -> AL, ALASKA -> AK.