Find IP address location information.
ipapi.co provides a REST API for retrieving the geographic location of an IP address. For a given IPv4 or IPv6 address, it returns data including city, region, country, continent, postal code, latitude and longitude, timezone, UTC offset, EU membership status, country calling code, capital, top-level domain, currency, country area and population, languages spoken, ASN, and organization. Hostname lookup is available as an optional beta add-on upon request.
Requests are made via HTTP GET to an endpoint of the form https://ipapi.co/{ip}/{format}/, with responses available in JSON, XML, CSV, YAML, or JSONP. Individual fields can also be requested directly (e.g., country only) rather than the full response. The API can be called from either server-side or client-side code, and can also be used to determine the public IP address of the requesting device.
Code examples are provided for Ruby, Python, PHP, JavaScript, Node.js, jQuery, Java, C#, and Go, making the service usable across a range of programming environments without requiring a specific client library.
It returns city, region, country, continent, postal code, latitude/longitude, timezone, UTC offset, EU membership, calling code, currency, country area/population, languages, ASN, and organization.
The API supports json, xml, csv, yaml, and jsonp formats.
Yes, both IPv4 and IPv6 type addresses are supported.
Example code is provided for Ruby, Python, PHP, JavaScript, Node.js, jQuery, Java, C#, and Go, and any language capable of making an HTTP request can consume the API.
No, hostname is an optional beta add-on that requires contacting ipapi.co to enable it for your account.
Show your product to thousands of developers
· 100k monthly pageviews
· 7k newsletter subscribers
IP geolocation web service to get more than 55 parameters.
Bundle of Free IP geolocation and WHOIS API.
Detect proxy and VPN using IP address.
Unlimited free IP Address API with useful information.
IP Geolocation AP with free plan 30k requests per month.
Free Geolocation tools and APIs for country, region, city and time zone lookup by IP address.