Skip to main content

Quick Start

URL Detection

curl -X POST "https://api.scam.ai/url-detection" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://suspicious-website.com"}'

QR Code Detection

curl -X POST "https://api.scam.ai/qr-code-detection" \
  -H "x-api-key: YOUR_API_KEY" \
  -F "file=@/path/to/qr-code-image.png"

Response Examples

URL Detection:
{
  "is_malicious": true,
  "threat_type": "phishing",
  "confidence_score": 0.94,
  "processing_time_ms": 156
}
QR Code Detection:
{
  "qr_detected": true,
  "embedded_url": "https://malicious-site.com",
  "is_malicious": true,
  "confidence_score": 0.89,
  "processing_time_ms": 234
}

Use Cases

  • Email security - Scan links in incoming emails
  • QR code safety - Verify QR codes before scanning
  • Web browsing - Real-time URL threat detection
  • Mobile security - Protect against SMS phishing