risk_score
risk_scoreCalculate fraud risk for an IP address, optionally correlated with an email 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": "risk_score"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IPv4 or IPv6 address to score. | |
| No | Optional email address to correlate with the IP. | ||
| api_key | Yes | ip-api.io API key. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | ||
| No | |||
| score | Yes | ||
| factors | Yes | Comprehensive breakdown of factors contributing to the risk score calculation. This object separates analysis results into IP-specific and email-specific factors, allowing for granular understanding of what influenced the final risk score. **Null Handling**: - ip_factors: null when no IP was analyzed - email_factors: null when no email was analyzed **Score Calculation**: The final risk score is calculated by averaging the individual IP and email risk scores. | |
| risk_level | Yes |