SMS spam detection API · Veto API by TextMeNot
Is this text spam?
One call answers.
Send the text of a message and get back a verdict, a category and the words that decided it. Built for SMS-length text, in English and US Spanish.
Try it
Paste any text message, or tap a sample. This box needs no key and stores nothing.
1
Five categories, not a yes or no
Scam, cold sales pitch, political, brand marketing and real message each get their own score, so you choose what to block, what to label and what to leave alone.
2
Fast enough to sit in the send path
Scoring takes under a millisecond per message, so you can check every message as it arrives without a queue.
3
You see why
Each answer lists the words and phrases that moved the score, which makes a blocked message easy to explain to a customer.
How it fits
- 1Get a free key below, no card.
- 2POST the message text to one endpoint.
- 3Act on the verdict, or set your own cut-offs from the scores.
Full reference: Veto API docs.
curl https://textmenot.app/api/v1/messages/analyze \
-H "Authorization: Bearer dk_live_..." \
-H "Content-Type: application/json" \
-d '{"text": "USPS: your package is on hold. Pay the $1.99 redelivery fee at usps-redelivery.top"}'{
"verdict": "junk", // junk | review | ok
"risk": 0.98, // 0 to 1
"category": "scam", // scam | junk | political | promo | ham
"scores": { ... }, // one score per category
"reasons": [ ... ] // the phrases that decided it
}Shape of an answer. Values differ per message.
Pricing
Free
$0 a month
100 checks a month
No card needed
Developer
$19 a month
25,000 checks a month
$0.76 per 1,000 checks
Growth
$99 a month
200,000 checks a month
$0.49 per 1,000 checks
Business
$399 a month
2,000,000 checks a month
$0.20 per 1,000 checks
Start on the free key. Upgrade the same key from the Veto API page when you need more.
Get a free key
100 checks a month to test with, no card. Your key appears right here.
Also built for