IP Geolocation Enrichment - Bulk IP to Location, ASN, ISP avatar

IP Geolocation Enrichment - Bulk IP to Location, ASN, ISP

Pricing

from $1.00 / 1,000 ip enricheds

Go to Apify Store
IP Geolocation Enrichment - Bulk IP to Location, ASN, ISP

IP Geolocation Enrichment - Bulk IP to Location, ASN, ISP

Bulk enrich IP addresses with country, city, latitude/longitude, ASN, ISP, and network information. Powered by MaxMind GeoLite2. Perfect for log analysis, fraud detection, audience analytics, and security investigations. Supports IPv4 and IPv6.

Pricing

from $1.00 / 1,000 ip enricheds

Rating

0.0

(0)

Developer

NanoScrape

NanoScrape

Maintained by Community

Actor stats

0

Bookmarked

9

Total users

2

Monthly active users

6 days ago

Last modified

Features

Limited permissions

Share

Know where any IP address is located. Bulk enrich IP addresses with country, city, latitude/longitude, ASN, ISP, network, and timezone. Perfect for log analysis, fraud detection, audience analytics, and security investigations. Supports both IPv4 and IPv6.

Features

  • Works out of the box: no API keys or setup required
  • Bulk enrichment: process thousands of IPs per run
  • IPv4 and IPv6: full support for modern and legacy addressing
  • City-level geolocation: country, region, city, postal code, latitude/longitude
  • Timezone: IANA timezone name (e.g. Europe/Berlin)
  • ASN and ISP: AS number, organization, network
  • EU flag: is_in_eu boolean for GDPR workflows
  • Anonymizer detection: flag anonymous proxies and satellite providers
  • Pay per result: no monthly subscriptions, $1 per 1,000 IPs

Use with AI Agents (MCP)

Connect this actor to any MCP-compatible AI client: Claude Desktop, Claude.ai, Cursor, VS Code, LangChain, LlamaIndex, or custom agents.

Apify MCP server URL:

https://mcp.apify.com?tools=santamaria-automations/ip-geolocation

Example prompt once connected:

"Use ip-geolocation to process data with ip geolocation. Return results as a table."

Clients that support dynamic tool discovery (Claude.ai, VS Code) will receive the full input schema automatically via add-actor.

Input

FieldTypeRequiredDescription
ipAddressesstring[]yesList of IP addresses (IPv4 or IPv6) to enrich
includeCitybooleanno (default true)Enrich with city, region, coordinates, timezone
includeASNbooleanno (default true)Enrich with ASN, ISP, network

Example Input

{
"ipAddresses": [
"8.8.8.8",
"1.1.1.1",
"213.133.98.98",
"2001:4860:4860::8888"
],
"includeCity": true,
"includeASN": true
}

Output Examples

Google DNS (8.8.8.8)

{
"ip": "8.8.8.8",
"is_valid": true,
"ip_version": 4,
"country_iso": "US",
"country_name": "United States",
"continent": "North America",
"region": null,
"region_iso": null,
"city": null,
"postal_code": null,
"latitude": 37.751,
"longitude": -97.822,
"accuracy_radius_km": 1000,
"time_zone": "America/Chicago",
"is_in_eu": false,
"asn": 15169,
"asn_organization": "GOOGLE",
"isp": "GOOGLE",
"network": "8.8.8.0/24",
"is_anonymous_proxy": false,
"is_satellite_provider": false,
"error": null,
"scraped_at": "2026-04-07T10:00:00Z"
}

Cloudflare DNS (1.1.1.1)

{
"ip": "1.1.1.1",
"is_valid": true,
"ip_version": 4,
"country_iso": "US",
"country_name": "United States",
"continent": "North America",
"latitude": 37.751,
"longitude": -97.822,
"accuracy_radius_km": 1000,
"asn": 13335,
"asn_organization": "CLOUDFLARENET",
"isp": "CLOUDFLARENET",
"network": "1.1.1.0/24",
"is_in_eu": false,
"scraped_at": "2026-04-07T10:00:00Z"
}

European IP - Hetzner (213.133.98.98)

{
"ip": "213.133.98.98",
"is_valid": true,
"ip_version": 4,
"country_iso": "DE",
"country_name": "Germany",
"continent": "Europe",
"region": "Bavaria",
"region_iso": "BY",
"city": "Nuremberg",
"postal_code": "90475",
"latitude": 49.4478,
"longitude": 11.0683,
"accuracy_radius_km": 20,
"time_zone": "Europe/Berlin",
"is_in_eu": true,
"asn": 24940,
"asn_organization": "HETZNER-AS",
"isp": "HETZNER-AS",
"network": "213.133.96.0/20",
"scraped_at": "2026-04-07T10:00:00Z"
}

Use Cases

  • Log analysis: understand where your site visitors, API consumers, or attackers come from
  • Fraud detection: flag logins from unexpected countries or anonymous proxies
  • Audience analytics: enrich visitor demographics with country, region, city, timezone
  • Security investigations: trace attack origins, identify hosting providers and ASNs
  • Ad targeting validation: confirm geo-targeting accuracy across regions
  • GDPR compliance: use the is_in_eu flag to route EU vs non-EU traffic correctly
  • Infrastructure mapping: group traffic by ASN and CIDR network for cost attribution

Pricing

Pay-per-event pricing keeps costs predictable:

EventPrice
Run start$0.001
Per IP enriched$0.001

Rows for invalid or private IPs are returned but not charged.

Example: 1,000 IPs = ~$1. Runs in seconds.

Changelog

1.1

  • The MaxMind license key is a secret input field and is now decrypted before use. If the key cannot be used (not decryptable, or the database download fails), the run status says so and the results come from the public fallback source.

Issues & Feedback

Found a bug or have a feature request? Open an issue on the Issues tab: we respond within 24 hours.