ip_get_details
Retrieve detailed geolocation and network data for any public IP address, including country, region, city, timezone, ISP, and organization. Optionally add extended info like ASN and proxy detection.
Instructions
Retrieves detailed geolocation and network information for a public IP address (ipAddress). If no IP is provided, automatically uses the server's current public IP. Returns comprehensive location data including country, region, city, coordinates, timezone, and network details like ISP and organization. Use includeExtendedData to get additional information such as ASN, mobile/proxy detection (requires API token). Note: Cannot lookup private IPs (e.g., 192.168.x.x, 10.x.x.x). Powered by ip-api.com. Enable useHttps for secure connections (required for paid tier).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| useHttps | No | Whether to use HTTPS for the API call (recommended). | |
| ipAddress | No | IP address to lookup (omit for current IP) | |
| includeExtendedData | No | Whether to include extended data (ASN, host, organization, etc.). Requires API token. |