If you need to locate a user based on their IP address, what services are available (free and not free services are fine)?
P.S. I understand that some users use proxies etc., that means the result is not 100% accurate. That's ok.
The IP address routes Internet traffic to your computer. To clarify, it does not reveal your location. If someone was able to get your IP address they could learn a bit about your Internet service, such as which provider you use to connect to the internet, but they really can't locate you, your home, or your office.
To find the exact location of your IP address, just visit our website IP-Lookup.org. Here you will find and get all the relevant details related to your IP. To find out exact location from a specific IP, other than your own, you need an IP, but you can also use a domain name.
Most geolocation services allow you to download a database full of IP Address to city or country maps. Some also provide web service apis for free (limited number of requests) or a paid subscription.
MaxMind has one such service that you can use which is free to determine the user's location. Their minFraud service allows 500 free queries per day.
A sample for their web service in ASP
Dim objHttp, strQuery strQuery = "http://geoip1.maxmind.com/a?l=" & license_key & _ "&i=" & ipaddress set objHttp = Server.CreateObject("Msxml2.ServerXMLHTTP") objHttp.open "GET", strQuery, false objHttp.send Response.Write objHttp.ResponseText Set objHttp = Nothing
They also offer APIs for determing credit card fraud probability based on location, card number, etc, in their paid version.
Another service is ip2location. John Millikin
Also, IPLigence offers 50 free queries a day.
For .NET Coders, there is the IPAdressExtensions module (open source, free and no web service required) purekrome
More info about geolocation is available on wikipedia.
It's also worth noting that MaxMind allow you to download their geolocation database as a CSV file:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With