API文档
通过我们的REST API将诈骗检测集成到您的应用中。
身份验证
所有API请求需要Bearer令牌。订阅API方案后获取您的API密钥。
Authorization: Bearer your_api_key_here
接口端点
POST
/api/v1/check分析内容中的诈骗指标。
{
"content": "Your suspicious text here...",
"input_type": "text", // "text" | "url" | "email"
"locale": "en" // optional, for explanation language
}POST
/api/v1/bulk在单个请求中检查多个URL或内容项。
{
"items": [
{ "content": "https://suspicious-url.com" },
{ "content": "Check this email text..." }
]
}响应格式
{
"id": "abc123xyz",
"verdict": "likely_scam",
"composite_score": 72,
"confidence": 88,
"scam_type": "phishing",
"explanation": "This message...",
"red_flags": [...],
"layers": [...],
"processing_time_ms": 2340
}速率限制
API方案:每天10,000次请求。企业方案:无限制。