Abstract IP Geolocation API
by abstractapi.com
IP to location APIs
Added on October 31st, 2026
Checked and working on November 14th, 2026
Visit abstractapi.com →
What it does
Abstract's IP Geolocation API returns the location of any IP address worldwide: city, region, country, postal code, coordinates and time zone, plus the currency, the network (ASN) and connection type, and flags for VPN and proxy addresses. Send the IP address (or nothing, to get the caller's own address) and your key over HTTPS. Responses are JSON. Free plan with a monthly request limit; paid plans for more requests and features.
At a glance
- API key
- Needed, free · More APIs with a free key
- Pricing
- Free plan with a monthly request limit; paid plans for more requests and features.
- From the browser
- Yes (CORS)
- Formats
- JSON
- Interface
- REST, HTTP-GET
- Provider
- abstractapi.com
- Last checked
- Working on November 14th, 2026
More information: https://www.abstractapi.com/api/ip-geolocation-api
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://ipgeolocation.abstractapi.com/v1/?api_key=YOUR_API_KEY&ip_address=8.8.8.8'
JavaScript
const response = await fetch("https://ipgeolocation.abstractapi.com/v1/?api_key=YOUR_API_KEY&ip_address=8.8.8.8");
const data = await response.json();
console.log(data);
Python
import requests
response = requests.get(
"https://ipgeolocation.abstractapi.com/v1/?api_key=YOUR_API_KEY&ip_address=8.8.8.8",
timeout=30,
)
print(response.json())
Replace YOUR_API_KEY with your own key. The JavaScript works in a web page as well as in Node.js 18 or newer.