Spam Score Checker
Score email content for spam signals using heuristic rules
/v1/email/spam-score
curl -X POST "https://email.toolkitapi.io/v1/email/spam-score" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{"subject": "LIMITED TIME OFFER - Act Now!!!", "body": "Congratulations! You have been selected to receive a FREE gift card worth $1000. Click here to claim your prize NOW!"}'
import httpx
resp = httpx.post(
"https://email.toolkitapi.io/v1/email/spam-score",
json={"subject": "LIMITED TIME OFFER - Act Now!!!", "body": "Congratulations! You have been selected to receive a FREE gift card worth $1000. Click here to claim your prize NOW!"},
)
print(resp.json())
const resp = await fetch("https://email.toolkitapi.io/v1/email/spam-score", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({"subject": "LIMITED TIME OFFER - Act Now!!!", "body": "Congratulations! You have been selected to receive a FREE gift card worth $1000. Click here to claim your prize NOW!"}),
});
const data = await resp.json();
console.log(data);
# See curl example
{
"score": 7.5,
"verdict": "likely_spam",
"triggered_rules": [
{"name": "all_caps_subject", "description": "Subject contains excessive capitalization", "score": 2.0},
{"name": "urgency_language", "description": "Body contains urgency/pressure language", "score": 1.5},
{"name": "free_offer", "description": "Contains free offer language", "score": 2.0},
{"name": "money_amount", "description": "Contains specific dollar amounts", "score": 1.0},
{"name": "exclamation_excess", "description": "Excessive exclamation marks", "score": 1.0}
],
"rule_count": 5
}
Description
How to Use
1. Send a POST request with `subject` and `body` fields containing your email content.
2. Check the `score` — below 3 is clean, 3–5 is suspicious, above 5 is likely spam.
3. Review `triggered_rules` to identify which specific patterns are causing issues.
4. Rewrite flagged content and re-test until the score is acceptable.
About This Tool
The Spam Score Checker analyzes email subject lines and body content for spam signals using heuristic rules. It returns a score from 0 (clean) to 10 (definite spam), a human-readable verdict, and a list of triggered rules with their individual scores.
Use this to test your marketing emails before sending — catch spam triggers that could land your messages in junk folders. The heuristic approach analyzes patterns commonly flagged by spam filters: excessive capitalization, urgency language, suspicious offers, and more.
Why Use This Tool
- Email campaign pre-testing — Score marketing emails before sending to maximize inbox placement
- Template quality assurance — Verify email templates don't contain spam triggers
- Content guidelines enforcement — Automatically flag user-generated email content that may be spammy
- Deliverability optimization — Identify and fix spam signals that hurt sender reputation
Frequently Asked Questions
What score threshold should I use?
Does this check against real spam filters?
Can I test HTML email content?
Start using Spam Score Checker now
Get your free API key and make your first request in under a minute.