mardi 5 mai 2015

Public HTTP API geolocation service




http://freegeoip.net

freegeoip.net provides a public HTTP API for software developers to search the geolocation of IP addresses. It uses a database of IP addresses that are associated to cities along with other relevant information like time zone, latitude and longitude.
You're allowed up to 10,000 queries per hour by default. Once this limit is reached, all of your requests will result in HTTP 403, forbidden, until your quota is cleared.
The freegeoip web server is free and open source so if the public service limit is a problem for you, download it and run your own instance.

example http output
http://freegeoip.net/xml/74.56.72.100



















http://ipinfodb.com
(require signin/key)

IPInfoDB.com has a goal of providing high-quality geolocation service to all users for free. For your information, our servers are currently running in almost full capacity. Thousands of new users sign-up every month since 2010.

example http output
http://api.ipinfodb.com/v3/ip-country/?key={your key here}&ip=74.56.72.87&format=xml