ipstack offers a powerful, real-time IP to geolocation API capable of looking up accurate location data and assessing security threats originating from risky IP addresses. … Using the ipstack API you will be able to locate website visitors at first glance and adjust your user experience and application accordingly.
There are modules for Location, Currency, Time Zone, Connection, and Security.