Find IP address location information.
ipapi.co API is a free Geocoding API that requires no API key, is served over HTTPS and supports CORS, so it can be called from the browser.
Documentation for ipapi - IP Lookup API supporting JSON, CSV, YAML and XML and usage examples in PHP, JavaScript, jQuery, Node.js, Python, Java, Ruby, C# and Go.
Details from ipapi.co.

Unified API suite · now live
Geocode an address, validate an email, track a flight or pull stock data with one account, one dashboard and one API key.
Unlimited free IP Address API with useful information
IP geolocation with ASN, timezone, currency and threat data, 5,000 keyless calls a day
The ipapi.co API is provided by ipapi (ipapi.co). Documentation for ipapi - IP Lookup API supporting JSON, CSV, YAML and XML and usage examples in PHP, JavaScript, jQuery, Node.js, Python, Java, Ruby, C# and Go.
Yes. The ipapi.co API is listed in the Geocoding category of the public-apis directory, which only includes APIs that are free or have a free tier. Check its documentation for rate limits and paid plans.
No. The ipapi.co API requires no authentication, so you can start making requests without signing up.
Yes. The ipapi.co API supports CORS, so front-end JavaScript can call it directly.
Yes. The ipapi.co API is served over HTTPS, so it's safe to use in production.