Real-time fraud detection for phone numbers, crypto tokens, and properties. One endpoint, consistent schema, sub-200ms responses.
/api/scoreAccepts a type and input, routes to the domain module, and returns a trust assessment. Currently supports phone numbers, with token and property coming soon.
typestringrequired"phone", "token", or "property". Determines which module processes the input.inputobjectrequiredInput data for the module. For phone: { phone_number: string }. Accepts E.164, national, or formatted numbers.scoreinteger (0-100)Trust score. 100 = most trustworthy, 0 = highest risk.confidencenumber (0-1)Confidence level. Higher when more data sources contributed.decisionstring"safe" (≥70), "warning" (40-69), or "high_risk" (<40).signalsobjectRaw signals from all data sources. Shape varies by module type.risk_flagsstring[]Human-readable risk indicators. E.g. "VoIP number", "Known spammer".summarystringHuman-readable summary of the trust evaluation._metaobjectMetadata: latency_ms, type, sources array./api/batch-scoreProcess up to 25 inputs in parallel. Each item follows the same schema as POST /api/score. Failed items return an error string instead of a result.
itemsarray (max 25)requiredArray of { type, input } objects. Same schema as /api/score./api/healthReturns server status, registered modules, and current timestamp. Use for uptime monitoring.
/api/openapiReturns the full OpenAPI 3.1 spec as JSON. Import into Swagger UI, Postman, or use as a tool schema for LLM agents.
Returns the complete OpenAPI 3.1.0 specification including all schemas, examples, and error codes.