IPGP Geolocation API

3 years ago we launched our IP Address Geolocation API. During this time we provided more than 10 billion results. We have constantly upgraded the service to provide better and more accurate details.

Today, using our API you can programatically get the following details about any IP Address:

  • Country
  • State
  • City
  • Internet Service Provider
  • Organization
  • Latitude
  • Longitude
  • Link to country flag

 

Our API is very easy to use. The information is provided in XML format. The URL for accessing the API is: http://www.ipgp.net/api/xml/IP_ADDRESS/API_KEY .

 

Here is an example of how results are returned:

<IpLookup>
<Ip>123.123.123.123</Ip>
<Code>CN</Code>
<Country>China</Country>
<Flag>http://www.ipgp.net/flags/cn.png</Flag>
<City>Beijing</City>
<Region>Beijing</Region>
<Isp>China Unicom Beijing Province Network</Isp>
<Organization>China Unicom Beijing province network</Organization>
<Lat>39.9289</Lat>
<Lng>116.3883</Lng>
</IpLookup>

If you want to try IP Address Geolocation API, request your API key.

Leave a Reply