IP Geolocation Without an API Key — Country, City, ISP in One Call
Source: Dev.to
ip-api.com provides free IP geolocation with no key needed.
One API Call
http://ip-api.com/json/8.8.8.8?fields=country,city,isp,org,as,proxy,hosting
What You Get
- Country, city, region, zip
- ISP and organization
- ASN (Autonomous System Number)
- Latitude/longitude
- Timezone and UTC offset
- VPN/proxy detection – identifies if the IP is a proxy or hosting
- Mobile detection – identifies mobile IPs
Rate Limit
45 requests/minute on the free tier. For batch processing, use the batch endpoint.
Use Cases
- Security: detect VPN/proxy usage
- Analytics: geolocate your visitors
- Fraud detection: flag suspicious IPs
- Content: serve region‑specific content
I built an IP Geolocation tool on Apify that also resolves domains to IPs — search knotless_cadence ip-geolocation.