The IP2Location IP Geolocation Web Service API offers a service to identify the location and other geo-information of an IP address, such as ISO3166 country code, region or state, city, latitude and longitude, ZIP/Postal code, time zone, Internet Service Provider (ISP) or company name, domain name, net speed, area code, weather station code, weather station name, mobile country code (MCC), mobile network code (MNC) and carrier brand, elevation, and usage type.
There are also 7 categories of additional add-on response fields supported such as metro, olson time zone, translations and more.
Search results are derived from IP2Location™ index of over 4 billion unique IP addresses. IPv4 and IPv6 are supported.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.
The IP2Location PHP Display IP Geolocation Information Sample Code demonstrates how to use IP2Location Web Service to lookup geolocation information from the visitor's IP address. Developers can test this REST API in a web browser to ensure quality for their projects.
The IP2Location C# Display IP Geolocation Information Sample Code demonstrates how to use the IP2Location Web Service to lookup geolocation information from the visitor's IP address. IP2Location REST API uses a single web interface to perform the reverse lookup logic.
The IP2Location VB.NET Display IP Geolocation Information Sample Code demonstrates how to lookup geolocation information from a visitor's IP address. The REST API uses a single web interface to perform the reverse lookup logic by using the protocols of HTTP or HTTPS GET.