Risk Score API
Calculate risk score for specific IP address
Analyzes a specific IP address with optional email correlation for enhanced fraud detection.
IP Analysis Includes:
- Network type classification (residential, datacenter, mobile)
- Anonymization service detection (VPN, proxy, Tor)
- Threat intelligence feeds (spam, malware, botnet)
- Geographic anomaly detection
- Historical behavior patterns
Combined Analysis (when email provided):
- Cross-reference IP and email reputation
- Account takeover risk assessment
- Multi-factor fraud indicators
Response Time: Typically < 200ms for cached results, < 1s for new lookups
get/api/v1/risk-score/{ip}
Path parameters
ipstring required
Target IP address for risk score analysis. Supports both IPv4 (e.g., 203.0.113.1) and IPv6 (e.g., 2001:db8::1) formats. Private IP ranges (10.x.x.x, 192.168.x.x, 172.16-31.x.x) will return limited analysis.
Query parameters
emailstring
Optional email address for combined IP+email risk analysis. When provided, enables cross-correlation between IP and email reputation, account takeover detection, and enhanced fraud scoring. Must be a valid email format.
Response
Risk score calculated successfully with detailed factor breakdown
Example response
{
"score": 0.675,
"risk_level": "HIGH",
"ip": "203.0.113.195",
"email": "user@example.com",
"factors": {
"ip_factors": {
"is_proxy": false,
"is_tor_node": false,
"is_spam": true,
"is_vpn": false,
"is_datacenter": true,
"risk_contribution": 0.15
},
"email_factors": {
"is_disposable": false,
"is_valid_syntax": true,
"risk_contribution": 0
}
}
}