News for hackers. Stuff that matters.
Re:Show HN: JavaScript IP Country lookup in under 500KiB by maytheforth on Tuesday May 04, 2021 @08:01PM (#27044423)
Nice! How accurate is it?
Re:Show HN: JavaScript IP Country lookup in under 500KiB by rroim on Tuesday May 04, 2021 @09:01PM (#27044858)
It's using IP2Location Lite (it's the only offering we found that had a lax enough license while still being accurate). They have an accuracy report here that measures it at 99%+: https://www.ip2location.com/data-accuracy

There's also this third party report which measures 80% overall accuracy, but likely higher practical accuracy (eg accuracy in the US/Europe is much higher than 80% and most of your customers might be there): https://www.cl.cam.ac.uk/~nz247/publications/JSAC2011-Geoloc...