jloh / geojs

Geo-location lookup API
https://geojs.io
MIT License
89 stars 10 forks source link

[Bug] API returns wrong location #44

Closed roy1210 closed 3 years ago

roy1210 commented 3 years ago

Hi team! This is such a great API! I am happy to use it :D

However, I found an error about fetching data from IP: 78.47.78.165. This IP should belong to "Germany", but the API returns "US"

https://app.geojs.io/s/78.47.78.165 https://ipgeolocation.io/browse/ip/78.47.78.165

Highly appreciate if you can fix this issue! Thank you!

jloh commented 3 years ago

Hi @roy1210. The data provided by GeoJS is supplied from the MaxMind GeoLite2 databases. Unfortunately these databases can sometimes be slower to update compared to paid services which can result in the responses you're seeing. They usually resolve after 1-2 months but its outside of my control.

Thanks for using GeoJS!