Back to all APIs
Fraud Detection
Multi-signal fraud risk assessment with MaxMind IP intelligence, disposable email detection, cross-field analysis, and bot fingerprinting
Category: Identity & SecurityEndpoint:
/v1/fraud/checkAvg Response
<50ms
Uptime SLA
99.99%
Free Tier
1,000/mo
Quick Start
JavaScript / TypeScript
javascript
import { KhaleejiAPI } from '@khaleejiapi/sdk'; const client = new KhaleejiAPI('your_api_key'); const result = await client.identity.checkFraud({ email: 'user@tempmail.com', ip: '185.220.101.1', phone: '+971501234567', userAgent: navigator.userAgent,}); console.log(result);// {// riskScore: 82, riskLevel: "high", recommendation: "block",// signals: [// { field: "email", risk: "critical", score: 100, reason: "Disposable email provider" },// { field: "ip", risk: "high", score: 90, reason: "Known Tor exit node" }// ],// ipIntelligence: { country: "DE", isTorExitNode: true, isVPN: false },// crossFieldAnalysis: [// { type: "ip_phone_country_mismatch", risk: "high", detail: "IP in DE, phone in AE" }// ]// }Python
python
from khaleejiapi import KhaleejiAPI client = KhaleejiAPI('your_api_key') result = client.identity.check_fraud( email="user@tempmail.com", ip="185.220.101.1", phone="+971501234567") print(f"Risk: {result['riskLevel']} ({result['riskScore']}/100)")print(f"IP: {result['ipIntelligence']['country']} (Tor: {result['ipIntelligence']['isTorExitNode']})")for signal in result["signals"]: print(f" [{signal['risk']}] {signal['field']}: {signal['reason']}")cURL
curl
curl -X POST "https://khaleejiapi.dev/api/v1/fraud/check" \ -H "x-api-key: your_api_key" \ -H "Content-Type: application/json" \ -d '{"email":"user@tempmail.com","ip":"185.220.101.1","phone":"+971501234567"}'