BetterSpam

Anti-Spam Engine

Enterprise-grade spam filtering powered by machine learning, real-time threat intelligence, and 20+ blocklists. Protect your users from spam, phishing, malware, and BEC attacks with a single API call.

99.7%
Detection Rate
<50ms
Avg Response Time
20+
Blocklists
3
ML Models

Multi-Layer Protection

Defense in depth against evolving email threats

Machine Learning

DarkAPI ML models trained on millions of samples classify spam, phishing, and malware with high confidence. Catches zero-day threats before they hit blocklists.

DNS Science Intelligence

Real-time reputation lookups for IPs, domains, and URLs. Identifies malicious infrastructure including C2 servers, botnets, and phishing hosts.

Bayesian Classification

Self-learning statistical classifier that adapts to your traffic. Train with your own spam/ham samples for personalized detection.

Email Authentication

Full SPF, DKIM, and DMARC verification. Detect spoofed senders and enforce authentication policies automatically.

RBL/DNSBL Lookups

Queries 20+ real-time blocklists including Spamhaus, SURBL, and URIBL. Comprehensive coverage of known bad actors.

BEC Detection

Specialized detection for Business Email Compromise attacks. Identifies CEO fraud, invoice scams, and impersonation attempts.

Simple Integration

Scan an email with a single API call

cURL
curl -X POST https://spam.betterphish.io/v1/analyze \
  -H "Content-Type: application/json" \
  -H "X-API-Key: bp_your_api_key" \
  -d '{
    "raw_message": "From: attacker@evil.com\nSubject: Urgent!\n\nClick here: http://phish.example.com/login"
  }'

# Response
{
  "verdict": "SPAM",
  "score": 18.5,
  "is_spam": true,
  "action": "reject",
  "symbols": {
    "DNSSCIENCE_PHISHING": {"score": 6.0},
    "DARKAPI_PHISHING": {"score": 7.0},
    "BAYES_SPAM": {"score": 5.5}
  }
}

Ready to Stop Spam?

Start with 1,000 free scans per month. No credit card required. Upgrade anytime as you grow.

Python Node.js Go Ruby PHP REST API