ipbase offers an API that supports both IPv4 and IPv6 and provides precise location data from IP addresses.