riffraff

Spam scoring API

Scoring
at the door

Let through

85

Real enquiries, straight to the inbox. Nothing held, nothing to check.

Turned away

42

Each one with the rules it broke and what they cost. Disagree and say so.

Why it was turned away

Every point,
itemised

No model, no confidence percentage, nothing you have to take on trust. A stack of plain rules, each one carrying a cost, added up against the line. When riffraff gets one wrong, you can see precisely which rule did it and tell us.

Endpoint
1
Rules
9
Hidden
0

Re: your website

[email protected]

Suspicious HTML tags detected
+150
Sender address uses dot obfuscation
+80
Non-professional email domain
+20
Too many links detected
+20

Total

270

Spam

170 over the line

0 threshold 100 200+

What you get

Three things.
Nothing more.

one endpoint

POST JSON to /api/evaluate. You get a verdict and a score back. That is the whole API.

reasons, in english

Every flag carries a plain-English explanation. Nothing opaque, so you can answer a real enquiry with confidence.

drop-in for statamic

Install the addon, paste a token, done. Submissions are scored as they arrive, and anything held keeps its reasons.

How it works

point. score.
decide.

Send the contents of the form. We send back a verdict. Deliver it, drop it, or queue it for review. That part is yours.

Request

01
POST /api/evaluate
Authorization: Bearer <your-token>

{
  "email":   "[email protected]",
  "subject": "quick question",
  "content": "Hi, do you offer…"
}

Response

spam: 270 / 100
{
  "is_spam":   true,
  "score":     270,
  "threshold": 100,
  "reasons": [
    "Spam phrases detected: \"business proposal\"",
    "Non-professional email domain",
    "Bot-generated name pattern"
  ]
}

Pricing

start free.
grow on your terms.

Every plan includes the full API, plain-English reasons, and the Statamic addon. Pick a monthly allowance that matches your traffic.

Free

free

1,000 evaluations / month

  • Full API access
  • Plain-English reasons
  • Team seats included

Starter

£19.00/mo

25,000 evaluations / month

  • Full API access
  • Plain-English reasons
  • Team seats included
  • Priority support
Choose Starter

No card to sign up

Most popular

Pro

£99.00/mo

250,000 evaluations / month

  • Full API access
  • Plain-English reasons
  • Team seats included
  • Priority support
Choose Pro

No card to sign up

Need more than the pro allowance? Get in touch and we’ll size something up.

Stop reading junk.
Start shipping.

One API call. No configuration. Free tier, no card.