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
bashcurl -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.
Keep exploring
Content Moderation in Next.js
Add content moderation to a Next.js App Router project in minutes. Route Handlers, Server Actions, edge runtime, policy setup, and safe error handling.
Content Moderation in Node.js
Add content moderation to any Node.js service in minutes. Works with Express, Fastify, NestJS, Hono, and any HTTP framework.
Vettly vs OpenAI Moderation
Multi-modal coverage, dashboards, and provider freedom vs text-only checks.
AI Chatbot Moderation API
Moderate inputs and LLM outputs in real time. Block prompt injection, NSFW content, and policy violations before users see them.