freeapis

ip-api

Find location with IP address or domain

Authentication
No auth
HTTPS
No
CORS
Unknown
Category
Geocoding
Documentation / URL
https://ip-api.com/docs

Overview

ip-api.com resolves IP addresses to location data — country, region, city, coordinates, timezone, ISP, and ASN — with a simple keyless GET. One of the most popular free IP-geolocation APIs (used by countless tutorials).

Note: the free tier is HTTP-only (verified live — http://ip-api.com/json/8.8.8.8 works); HTTPS and higher limits require a paid key.

Quick Start

Look up an IP (free endpoint, verified live):

curl "http://ip-api.com/json/8.8.8.8"
{
  "status": "success",
  "country": "United States",
  "countryCode": "US",
  "region": "CA",
  "city": "Mountain View",
  "lat": 37.4056,
  "lon": -122.0775,
  "timezone": "America/Los_Angeles",
  "isp": "Google LLC",
  "as": "AS15169 Google LLC",
  "query": "8.8.8.8"
}

Your own IP (omit the address):

curl "http://ip-api.com/json/"

Batch (up to 100 IPs):

curl "http://ip-api.com/batch" \
  -H "Content-Type: application/json" \
  -d '["8.8.8.8", "1.1.1.1"]'

Authentication

  • Free tier: no key (HTTP only, 45 requests/minute per IP).
  • Paid tier: HTTPS, higher limits, and no rate limit on requests per minute.

Rate Limits & Notes

  • Free: 45 requests/minute from one IP — enough for light use; cache aggressively.
  • Fields include status, countryCode, region, city, lat/lon, timezone, isp, as, org.
  • Batch endpoint handles up to 100 IPs per call (still 45/min).
  • The fields parameter trims the response: ?fields=country,city,lat,lon.

FAQ

Is ip-api free? Yes — free tier (HTTP only, 45 req/min); HTTPS needs a paid key.

Why HTTP only? The free tier doesn’t include HTTPS — fine for public geolocation, just don’t send secrets.

How many IPs per batch? Up to 100 per request.

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