freeapis

IP Geolocation

Geolocate website visitors from their IPs

Authentication
API Key
HTTPS
Yes
CORS
Yes
Category
Geocoding
Data source
public-apis + marcelscruz

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_key query 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

APIAuthHTTPSCORS
Actinia Grass GIS

Actinia is an open source REST API for geographical data that uses GRASS GIS

API KeyYesUnknown↗
administrative-divisons-db

Get all administrative divisions of a country

No authYesYes↗
adresse.data.gouv.fr

Address database of France, geocoding and reverse

No authYesUnknown↗
Airtel IP

IP Geolocation API. Collecting data from multiple sources

No authYesUnknown↗
Apiip

Get location information by IP address

API KeyYesYes↗