SpamBlock Demo

Test the spam detection system below. Try different inputs to see what triggers blocking.

Contact Form

This form uses the data-block-spam attribute

💡 Try: tempmail.com or mailinator.com to trigger disposable email detection

💡 Try: spam keywords (viagra, casino, winner), random strings (x8q2m6k9p4r7t1), Russian text on an English page, or fast submission (<1.2s)

Logs

// Logs will appear here...

Understanding the Response

Each submission returns a JSON response with:

  • allow: Whether the submission passed spam checks
  • score: Total risk score (threshold: 60 points)
  • reasons: Array of detected spam indicators
  • latencyMs: API response time in milliseconds

💡 Tip: Submissions with a score ≥ 60 are automatically blocked. Scores below 60 are allowed through.