ip_lookup
Resolve public IPv4 and IPv6 addresses to country, city, timezone, ASN, and ISP data for fraud checks, geo-routing, and analytics.
Instructions
IP Geolocation — IP lookup and geolocation: resolve any public IPv4 or IPv6 address to location and network data from a local database (no third-party call, answers in milliseconds): country, country_code, region, city, lat/lon, IANA timezone, continent, is_eu, ASN with organization (isp, org, asn). Use for fraud and bot checks, geo-routing, analytics, or tagging traffic. Invalid, private and reserved addresses are rejected for free. Params: ip (defaults to the caller's IP). IP Geolocation by DB-IP (https://db-ip.com), CC BY 4.0. Cost: $0.0055 USDC per call. Latency p99: 150ms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IPv4 or IPv6 address to look up (e.g. '8.8.8.8' or '2001:4860:4860::8888') |