Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>There are two approaches: using an Internet service and using some kind of local list (perhaps wrapped in a library). What you want will depend on what you are building.</p> <p>For services:</p> <ul> <li><a href="http://www.hostip.info/use.html" rel="nofollow noreferrer">http://www.hostip.info/use.html</a> (as mentioned by <a href="https://stackoverflow.com/questions/1033/ip-to-country#1034">Mark</a>)</li> <li><a href="http://www.team-cymru.org/Services/ip-to-asn.html" rel="nofollow noreferrer">http://www.team-cymru.org/Services/ip-to-asn.html</a></li> </ul> <p>For lists:</p> <ul> <li><a href="http://www.maxmind.com/app/geoip_country" rel="nofollow noreferrer">http://www.maxmind.com/app/geoip_country</a> (as mentioned by <a href="https://stackoverflow.com/questions/1033/ip-to-country#1056">Orion</a>)</li> <li><p>You could roll your own by downloading the lists from the RIRs:</p> <ul> <li><a href="ftp://ftp.arin.net/pub/stats/arin/delegated-arin-latest" rel="nofollow noreferrer">ftp.arin.net/pub/stats/arin/delegated-arin-latest</a></li> <li><a href="ftp://ftp.ripe.net/ripe/stats/delegated-ripencc-latest" rel="nofollow noreferrer">ftp.ripe.net/ripe/stats/delegated-ripencc-latest</a></li> <li><a href="ftp://ftp.afrinic.net/pub/stats/afrinic/delegated-afrinic-latest" rel="nofollow noreferrer">ftp.afrinic.net/pub/stats/afrinic/delegated-afrinic-latest</a></li> <li><a href="ftp://ftp.apnic.net/pub/stats/apnic/delegated-apnic-latest" rel="nofollow noreferrer">ftp.apnic.net/pub/stats/apnic/delegated-apnic-latest</a></li> <li><p><a href="ftp://ftp.lacnic.net/pub/stats/lacnic/delegated-lacnic-latest" rel="nofollow noreferrer">ftp.lacnic.net/pub/stats/lacnic/delegated-lacnic-latest</a></p> <p>The format is documented <a href="ftp://ftp.arin.net/pub/stats/arin/README" rel="nofollow noreferrer">in this README</a></p></li> </ul></li> </ul>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload