You can display a friendly message to your visitors based on their IP location by using this API. This API is free to use but you will need to register first to get your API key. You will immediately get 1000 free credits when you activate your account. 1 credit will be deducted each time that this API is loaded. To get more credits, all you have to do is display the IPLocationTools banner in your web site. Each time you display the banner, your credits will be incremented by 1.

To start using this IP Address API, you need to include codes below into your page.

Below is the functions available:

Country Flag -

ip2location_country_flag();

Country Name (Short) -

ip2location_country_short();

Country Name (Long) -

ip2location_country_long();

Region -

ip2location_region();

City -

ip2location_city();

Latitude -

ip2location_latitude();

Longitude -

ip2location_longitude();

ZIP Code -

ip2location_zip_code();

Time Zone -

ip2location_time_zone();

ISP (Internet Service Provider / Company) -

ip2location_isp();

Domain -

ip2location_domain();

Net Speed -

ip2location_net_speed();

IDD Code -

ip2location_idd_code();

Area Code -

ip2location_area_code();

Weather Station Code -

ip2location_weather_station_code();

Weather Station Name -

ip2location_weather_station_name();

Show IPLocationTools Banner to earn Credits

ip2location_banner();

ip2location_banner1();

ip2location_banner2();
* You MUST call this function to display our banner to prevent your credits from running out.

IP2Location

IP2Location Free Widget

IP2Location Firefox Add-on