IP geolocation API returning country, region, city, latitude, longitude, timezone, and ISP details for any IPv4 or IPv6 address.
https://api.ip2location.io
Auth type
API Key Header
Auth header
GET /?key=YOUR_KEY&ip=8.8.8.8
Rate limit
30,000 requests/month (free tier)
Pricing
Free tier available
Free quota
30,000 queries/month on free tier
Documentation
https://www.ip2location.io/ip2location-documentation
Endpoint status
Server online — HTTP 401 — server is online but path returned an error (may require auth)1.81s
(checked Mar 29, 2026)
Builder score
C
51%
builder-friendly
API key as a query parameter (key)
GET /?key=YOUR_KEY&ip=8.8.8.8
Free tier with 30,000 monthly queries; paid plans for higher volume and additional data fields.
| Method | Path | Description |
|---|---|---|
| GET | / |
Geolocate an IP address |
curl 'https://api.ip2location.io/?key=YOUR_KEY&ip=8.8.8.8'
{"ip":"8.8.8.8","country_code":"US","country_name":"United States","region_name":"California","city_name":"Mountain View","latitude":37.38605,"longitude":-122.08385}
Data sourced from API Map. Always verify pricing and rate limits against the official IP2Location documentation.