GeoIP service

Posted on by Igor Khomenko

Hello!

We are glad to open a free IP location definition service.  It is based  on MaxMind GeoLite City database which is destibuted under GPL license. Our GeoIP service is autoupdated.

To use our GeoIP service you should send GET request to http://geoip.quickblox.com with the IP address.

For example: http://geoip.quickblox.com/?ip=79.171.123.12

You will receive XML answer based on database record for this IP:

<geoip>
  <country>UA</country>
  <region>07</region>
  <city>Kharkiv</city>
  <postalcode/>
  <latitude>50.0000</latitude>
  <longitude>36.2500</longitude>
</geoip>

Namespace description:
State/Region char(2) For US/Canada, ISO-3166-2 code for the state/province name, with the addition of AA, AE, and AP for Armed Forces America, Europe and Pacific. Outside of the US and                         Canada, FIPS 10-4 code. Region name lookups are available here.
City Name varchar(255) Name of city or town in ISO-8859-1 encoding.
Postal Code varchar(6) For US, Zipcodes, for Canada, postal codes.
Latitude numeric (float) Latitude of city where IP is located
Longitudenumeric (float) Longitude of city where IP is located

Please put your comments on this service.

PS. Happy New Year! = )