riffraff

Spam scoring API

Every point,
shown.

Riffraff scores each form submission against a stack of plain rules, adds them up, and tells you which rule cost what. No model, no black box. When it gets one wrong you can see exactly why, and say so.

Endpoint
1
Rules
9
Hidden
0

A real submission, scored

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+

That is the whole response. Four rules fired, and each one says what it cost.

What you get

three things.
nothing more.

01

one endpoint

POST JSON to /api/evaluate. you get a verdict and a score back. that’s the whole API.

02

reasons, in english

every flag ships with a plain-english explanation. no opaque ML. reply to legitimate messages with confidence.

03

drop-in for statamic

install the addon, paste a token, done. submissions get scored automatically and spam is stored with its reasons.

How it works

point. score.
decide.

send the contents of the form. we send back a verdict. what you do with it — deliver, drop, queue for review — is up to you.

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.