ipapi.co
by ipapi.co
IP to location APIs
Added on October 31st, 2026
Checked and working on November 15th, 2026
Visit ipapi.co →
What it does
ipapi.co returns the location and details of an IP address: city, region, country, postal code, coordinates, time zone, currency, calling code, languages and the network (ASN and organisation). Ask for one field or the full record, as JSON, XML, CSV or YAML. Free without a key up to about 1,000 requests per day; paid plans for more.
At a glance
- API key
- Not needed · More APIs with no key
- Pricing
- Free without a key up to about 1,000 requests per day; paid plans for more.
- From the browser
- Yes (CORS)
- Formats
- JSON, XML, CSV
- Interface
- REST, HTTP-GET
- Provider
- ipapi.co
- Last checked
- Working on November 15th, 2026
More information: https://ipapi.co/api/
Compare: ip-api vs ipapi.co
Is this your service? Show that it is listed
Put this badge on your website or in your README; it links to this page. About the badge
Example request
curl
curl 'https://ipapi.co/8.8.8.8/json/'
JavaScript
const response = await fetch("https://ipapi.co/8.8.8.8/json/");
const data = await response.json();
console.log(data);
Python
import requests
response = requests.get(
"https://ipapi.co/8.8.8.8/json/",
timeout=30,
)
print(response.json())
The JavaScript works in a web page as well as in Node.js 18 or newer.