API

スキャナーは小さなJSON HTTP APIです。キーは不要です。

エンドポイント

GET /api/scan?url=example.com&follow=1&hide=0

URLのセキュリティヘッダーを評価します。follow=1はリダイレクトを追跡し、hide=1は公開統計にスキャンを含めません。

GET /api/osint?domain=example.com

ドメインの受動的OSINT調査:DNS、メール認証、TLS、サブドメイン、登録情報など。

GET /api/stats

評価の総合集計と殿堂入りを取得します。

$ curl "https://osint.cybercrew.co.jp/api/scan?url=example.com"

{
  "url": "https://example.com/",
  "finalUrl": "https://example.com/",
  "status": 200,
  "grade": "A",
  "report": [
    { "key": "strict-transport-security", "header": "Strict-Transport-Security", "present": true,  "value": "max-age=63072000" },
    { "key": "content-security-policy",   "header": "Content-Security-Policy",   "present": true,  "value": "default-src 'self'" }
  ],
  "notes": [],
  "warnings": [],
  "scannedAt": "2026-07-24T00:00:00.000Z"
}

ソースコード

完全なソースとドキュメントはGitHubにあります:

GitHubでリポジトリを見る