Get IP location from ASP.NET, PHP, etc.
Just found this free service http://ipinfodb.com/ip_location_api.php
XML API:
To get City precision:
http://ipinfodb.com/ip_query.php?ip=your_ip_address
To get Country precision: (claims this is more faster than above)
http://ipinfodb.com/ip_query_country.php?ip=your_ip_address
Get more details about xml api here: http://ipinfodb.com/ip_location_api.php
JSON API:
To get City precision:
http://ipinfodb.com/ip_query.php?ip=your_ip_address&output=json
To get Country precision:
http://ipinfodb.com/ip_query_country.php?ip=your_ip_address&output=json
Optional call back:
http://ipinfodb.com/ip_query.php?ip=your_ip_address&output=json&callback=myfunction
Get more details about json api here: http://ipinfodb.com/ip_location_api_json.php
No related posts.























May 29th, 2009 at 8:29 am
[...] Get IP location from ASP.NET, PHP, etc. [...]
May 29th, 2009 at 3:58 pm
[...] Read the rest here: Get IP location from ASP.NET, PHP, etc. | NinethSense [...]
June 10th, 2009 at 3:00 pm
iplocationtools.com moved to ipinfodb.com
June 10th, 2009 at 3:43 pm
Thanks for the information. Good that there is redirection set.
Updated all the links on blog.