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
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.