IP2Geo api offers the REST API that bring IP to geography information,such as longitude,latitude, country info, region info, zip code, time zone etc, with JSON format.For more, IPv4 and IPv6 and domain is all available.