IP Geolocation
Geolocate website visitors from their IPs
- Authentication
- API Key
- HTTPS
- Yes
- CORS
- Yes
- Category
- Geocoding
- Documentation / URL
- https://www.abstractapi.com/ip-geolocation-api
Overview
Abstract’s IP Geolocation API resolves IPs to location and connection data. Auth is an API key (an invalid key returns 401, verified).
Quick Start
Lookup (replace YOUR_KEY):
curl "https://ipgeolocation.abstractapi.com/v1/?api_key=YOUR_KEY&ip_address=8.8.8.8"
{
"ip_address": "8.8.8.8",
"city": "Mountain View",
"city_geoname_id": 5375480,
"region": { "iso_code": "CA", "name": "California" },
"country": { "code": "US", "name": "United States" },
"longitude": -122.0838,
"latitude": 37.386,
"timezone": { "name": "America/Los_Angeles" },
"connection": { "autonomous_system_number": 15169, "connection_type": "Corporate" }
}
Authentication
- Register at abstractapi.com → free API key (in the dashboard).
- Send it as the
api_keyquery parameter (invalid → 401, verified).
Rate Limits & Notes
- Free tier: ~20,000 requests/month (check the dashboard); paid plans scale.
- Includes geolocation, timezone, currency, and connection/ASN data.
- CORS-enabled for browser use.
FAQ
Is Abstract IP Geolocation free? Free tier: ~20,000 requests/month; more is paid.
How do I get a key? abstractapi.com → dashboard → API key.
What’s included? Location, timezone, currency, and ASN data.
More in Geocoding
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| Actinia Grass GIS Actinia is an open source REST API for geographical data that uses GRASS GIS | API Key | Yes | Unknown | ↗ |
| administrative-divisons-db Get all administrative divisions of a country | No auth | Yes | Yes | ↗ |
| adresse.data.gouv.fr Address database of France, geocoding and reverse | No auth | Yes | Unknown | ↗ |
| Airtel IP IP Geolocation API. Collecting data from multiple sources | No auth | Yes | Unknown | ↗ |
| Apiip Get location information by IP address | API Key | Yes | Yes | ↗ |