IP Geolocation Lookup
ipgeolocation_lookupLook up geolocation data for an IP address, IPv6, or hostname. Returns location, network, currency, timezone, and optional security details.
Instructions
Look up geolocation data for an IP address, IPv6 address, or hostname. Returns location, network/ASN, currency, timezone and optionally security, dma_code, 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 |
| fields | No | Comma-separated dot-path fields to include in the response (allowlist). E.g. 'location.city,asn.organization'. | |
| include | No | Additional data modules to include. Available: security, hostname, liveHostname, hostnameFallbackLive, user_agent, abuse, dma_code, geo_accuracy. Use '*' to include all modules. Note: 'security' and 'abuse' fields cost extra credits. | |
| excludes | No | Comma-separated dot-path fields to exclude from the response (denylist). E.g. 'location.city,asn.organization'. |