Skip to content

Fraud Detection

The Fraud Detection integration scores consent sessions for fraud risk in real time using IP address and device signals. Each session receives a fraud risk assessment that is automatically attached to the Verification Dossier on the certificate.

DetailValue
ProviderAnura via epcvip
Cost$0.05 per check
Rate limit1,000 requests/min
BillingWallet-based (pre-paid), charged per lookup
InputConsumer IP address (required), user agent, session ID

When a consent session is created, you can send the consumer’s IP address to the fraud detection endpoint. The integration forwards the request to Anura’s fraud scoring engine, which evaluates the IP and device signals against known fraud patterns. The response includes a fraud score, risk level, and whether the result was served from cache.

The fraud result is then attached to the session’s Verification Dossier, providing a permanent record of the fraud assessment alongside the certificate.

POST https://api.econsent.org/api/integrations/:companyId/fraud/detect

Use Bearer token authentication with your Fraud Detection integration token:

Authorization: Bearer YOUR_API_TOKEN
ParameterTypeDescription
companyIdstringYour Company ID
FieldTypeRequiredDescription
ip_addressstringYesThe consumer’s IP address to evaluate
user_agentstringNoThe consumer’s browser user agent string
session_idstringNoThe eConsent session ID to attach the result to
timeoutnumberNoRequest timeout in seconds (default: 5)
Terminal window
curl -X POST https://api.econsent.org/api/integrations/YOUR_COMPANY_ID/fraud/detect \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-d '{
"ip_address": "203.0.113.42",
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36",
"session_id": "sess-abc-123-def-456",
"timeout": 5
}'
{
"success": true,
"status": 200,
"data": {
"fraud_score": 15,
"risk_level": "low",
"ip_address": "203.0.113.42",
"session_id": "sess-abc-123-def-456",
"cached": false
},
"billing": {
"currency": "USD",
"cost_charged": 0.05,
"remaining_balance": 99.95,
"formatted": {
"cost_charged": "$0.05",
"remaining_balance": "$99.95"
}
},
"processing_time_ms": 220,
"service": "fraud",
"company_id": "comp-abc",
"timestamp": "2026-03-15T14:22:08Z",
"provider": "anura"
}
FieldTypeDescription
data.fraud_scorenumberFraud risk score (0—100, higher indicates greater risk)
data.risk_levelstringRisk classification: low, medium, or high
data.ip_addressstringThe IP address that was evaluated
data.session_idstringThe session ID the result is attached to
data.cachedbooleanWhether the result was served from cache
Score rangeRisk levelRecommendation
0—30LowSession appears legitimate
31—70MediumReview recommended before acting on consent
71—100HighStrong fraud indicators detected
StatusMeaning
400Bad request: missing or invalid IP address
401Unauthorized: invalid API token
402Payment required: insufficient wallet balance
403Forbidden: integration not enabled
429Rate limited: exceeded 1,000 requests/min

Each fraud detection lookup is charged from your wallet balance. Lookups served from cache are not billed.

When a fraud detection lookup is performed for a session, the result is automatically included in the Verification Dossier section of the certificate. This provides a permanent, tamper-proof record of the fraud assessment at the time consent was captured.

The Verification Dossier on the certificate includes:

  • Fraud score and risk level
  • The IP address that was evaluated
  • Timestamp of the fraud check
  • Provider identification (Anura)

You can verify your integration status, wallet balance, and available services using the health check endpoint:

GET https://api.econsent.org/api/integrations/:companyId/vzew/health

The response includes your current wallet balance, available integrations, service costs, and routing configuration.

async function detectFraud(ipAddress, userAgent, sessionId) {
const companyId = process.env.ECONSENT_COMPANY_ID;
const token = process.env.ECONSENT_FRAUD_TOKEN;
const response = await fetch(
`https://api.econsent.org/api/integrations/${companyId}/fraud/detect`,
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': `Bearer ${token}`,
},
body: JSON.stringify({
ip_address: ipAddress,
user_agent: userAgent,
session_id: sessionId,
timeout: 5,
}),
}
);
const data = await response.json();
if (data.success) {
console.log('Fraud Score:', data.data.fraud_score);
console.log('Risk Level:', data.data.risk_level);
console.log('Cached:', data.data.cached);
return data.data;
} else {
throw new Error(data.error);
}
}

Fraud detection is powered by Anura, accessed through the epcvip integration layer. Anura specializes in ad fraud detection and provides real-time scoring based on IP reputation, device fingerprinting, and behavioral signals.

  • Cost per check: $0.05
  • Rate limit: 1,000 requests/min
  • Billing method: Wallet-based (pre-paid via Stripe)

View all pricing details