Spam

Spam Detection API

Stop AI spam and scam DMs before they reach users.

One API for spam text, suspicious links, and bot-generated media.

What it detects

  • AI-generated spam
  • Scam DMs
  • Bot-generated comments
  • Suspicious links
  • Repeated content patterns
  • Custom rules

Why developers choose Vettly

  • Tuned for templated and AI-generated content
  • Same API for text, links, and media
  • Streaming endpoint for real-time DM gating
  • Decision logs for repeat offender detection
Example request
bash
curl -X POST https://api.vettly.dev/v1/check \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"content": "You are terrible.", "contentType": "text"}'
Example response
json
{
  "flagged": true,
  "action": "block",
  "categories": {
    "harassment": 0.93,
    "hate": 0.02
  },
  "policy": "default",
  "latency_ms": 142
}

Compared to rule-based spam filters

AI classification catches new spam patterns the day they appear, not after you write a rule.

Get an API key

Start making decisions in minutes with a Developer plan and clear upgrade paths.

Get an API key