IP Geolocation Lookup
ipgeolocation_lookupLook up geolocation, network, ASN, and currency details for any IP address or hostname. Optionally include security, timezone, or abuse data.
Instructions
Look up geolocation data for an IP address, IPv6 address, or hostname. Returns location, network/ASN, currency, and optionally security, timezone, hostname, abuse contact, and user-agent data. 'ip' field is required — pass the IP or hostname to look up.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IPv4 address, IPv6 address, or hostname to look up. | |
| lang | No | Language for location name fields. Defaults to English. | en |
| include | No | Additional data modules to include. Available: security, hostname, liveHostname, hostnameFallbackLive, user_agent, abuse, dma_code, time_zone, geo_accuracy. | |
| fields | No | Comma-separated dot-path fields to include in the response (allowlist). E.g. 'location.city,asn.organization'. | |
| excludes | No | Comma-separated dot-path fields to exclude from the response (denylist). E.g. 'location.city,asn.organization'. |