ip_lookup
ip_lookupGet IP geolocation, ASN, ISP, timezone, and suspicious-factor intelligence for a specific IPv4 or IPv6 address.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"api_key": "<api_key>",
"ip": "<ip>"
},
"name": "ip_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IPv4 or IPv6 address to analyze. | |
| api_key | Yes | ip-api.io API key. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | ||
| asn | No | ||
| isp | No | ||
| location | Yes | Comprehensive geographic location and timezone intelligence for an IP address. Provides detailed location data including administrative regions, precise coordinates, timezone information, and real-time local time calculations with daylight saving awareness. **Geolocation Accuracy**: - Country: 99.8% accuracy - Region/State: 95% accuracy - City: 85-95% accuracy (varies by region and population density) - Coordinates: Median accuracy radius of ~50km **Data Sources**: Multiple commercial and open geolocation databases | |
| suspicious_factors | Yes | Comprehensive security threat assessment and suspicious activity indicators. Contains boolean flags for various types of potentially malicious or suspicious network behavior, enabling fine-grained security decision making. **Detection Methods**: - Machine learning classification models - Real-time threat intelligence feeds - Behavioral pattern analysis - Network fingerprinting techniques |