network_ip_geolocation
Resolve any public IPv4 or IPv6 address to its geographic location and network owner including country, city, coordinates, ISP, and ASN. Flags proxy, hosting, and mobile connections.
Instructions
IP Geolocation Lookup. Resolve a single public IPv4 or IPv6 address to its geographic location and network owner by querying the external ip-api.com geolocation service (MaxMind GeoLite2). Use this when you have an IP and need its country, city, coordinates, ISP/ASN, and proxy/hosting/mobile flags; use network_my_ip instead to geolocate the caller's own public IP with no input. Read-only and non-destructive, but it makes an outbound network request, so results depend on live third-party data and may vary between calls. Rejects private/reserved IPs (10.x, 172.16-31.x, 192.168.x, 127.x). Rate-limited (10 req/min, 300/day anonymous; CAPTCHA above 30/hr). Returns nested location, network, accuracy, and data_sources objects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | Public IPv4 or IPv6 address to locate. Must be a valid, non-private, non-reserved address. | |
| worker_id | No | Optional registered healthy worker peer ID. Omit to use the default master-server behavior. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | True when the lookup succeeded. | |
| ip | No | The IP address that was looked up, echoed back. | |
| location | No | Geographic data for the IP. | |
| network | No | Network ownership and classification for the IP. | |
| accuracy | No | Static confidence estimates for each location tier. | |
| data_sources | No | Provenance of each data category. | |
| timestamp | No | ISO 8601 timestamp of the response. |