ipapi

ipapi.co is a secure fast & easy to use API to get location of an IP address. Get started without a credit card with our free plan. Upgrade as you grow. Supported output formats are JSON, CSV, XML & YAML. The API can be used to find your external IP address programmatically & lookup location information like city, country, latitude, longitude, timezone & ASN associated with an IP address. Both IPv4 & IPv6 formats are supported. Our bulk lookup service lets you perform batch IP address conversion