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/bulk1つのリクエストで複数の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プラン:1日10,000リクエスト。エンタープライズプラン:無制限。