Enrich any IPv4 or IPv6 address with country, city, ZIP code, latitude and longitude, timezone, ASN, ISP, organization, and proxy/VPN/Tor detection. Powered by MaxMind GeoLite2. Built for bulk: pass it 100,000 IPs and it returns geo-enriched rows in seconds. Ideal for log analysis, fraud scoring, security audits, traffic dashboards, and compliance geo-fencing.
# Start a run via the Apify API curl -X POST "https://api.apify.com/v2/acts/santamaria-automations~ip-geolocation/runs?token=YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "ips": [ "8.8.8.8", "1.1.1.1", "2606:4700:4700::1111", "185.220.101.45", "203.0.113.42" ], "detectProxy": true, "detectVpn": true }' # Or use with AI agents via MCP: # https://mcp.apify.com?tools=santamaria-automations/ip-geolocation
| Field | Type | Example |
|---|---|---|
| ip | string | 8.8.8.8 |
| country_iso | string | US |
| country_name | string | United States |
| city | string | Mountain View |
| postal_code | string | 94043 |
| latitude | number | 37.4056 |
| longitude | number | -122.0775 |
| asn | integer | 15169 |
| asn_org | string | Google LLC |
| is_proxy | boolean | false |