freeapis

IP2Location

IP geolocation web service to get more than 55 parameters

Authentication
API Key
HTTPS
Yes
CORS
Unknown
Category
Geocoding

Overview

IP2Location’s web service resolves an IP address to location data: country, region, city, latitude/longitude, ZIP, timezone, ISP, and (on paid tiers) proxy/VPN detection, threat data, and more. A free key lets you query the lite dataset.

Quick Start

Look up an IP (replace YOUR_KEY):

curl "https://api.ip2location.io/?key=YOUR_KEY&ip=8.8.8.8"

No ip parameter returns the caller’s own IP info:

curl "https://api.ip2location.io/?key=YOUR_KEY"

Authentication

  • Register at ip2location.io — a free key (100 requests/month) is provided.
  • Send it as the key query parameter.

Rate Limits & Notes

  • Free tier: 100 requests/month (2 locations/s rate) — the lite dataset (country/region/city/coordinates).
  • Paid tiers add proxy/VPN detection, threat intelligence, ISP, and higher limits.
  • Responses are JSON with fields like country_code, city_name, latitude, longitude, time_zone, asn.
  • They also sell offline databases (IP2Location LITE is free) if you need bulk lookup without an API.

FAQ

Is IP2Location free? There’s a free tier (100 requests/month) with the lite dataset.

How accurate is it? City-level accuracy varies by IP; it’s geolocation, not exact physical location.

Can I get VPN/proxy detection for free? No — that’s on paid tiers.

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