IP Location API, database and fraud detection tools

IPInfoDB  provides a number of services that could be useful when developing a website including:

Web based IP geolocation lookup
IP geolocation API (XML, JSON and CSV format)
API that generate IP CIDR by country for iptables or htaccess blocklist
E-commerce fraud detection API

For example http://www.ipinfodb.com/ip_query.php?ip=82.27.34.78&output=xml&timezone=false will return the following XML.
<response>
<ip>82.27.34.78</ip>
<status>OK</status>
<countrycode>GB</countrycode
<countryname>United Kingdom</countryname>
<regioncode>Q5</regioncode>
[...]

Development