Simple AI text moderation for your app
CleanMod helps you block toxic comments and abusive content with a single API call. Logs, usage, and a JS SDK included.
No credit card required. Free plan included.
Powered by Unitary toxicity model. CleanMod normalizes the scores and applies your policies.
Example response
{
"decision": "flag",
"overall_score": 0.91,
"categories": {
"toxicity": 0.91,
"insult": 0.88
}
}Why developers use CleanMod
Moderation API
Send text to a single endpoint and get a normalized decision back: allow, flag, or block.
Powered by Unitary toxicity model.
Logs & Dashboard
Inspect moderation events, track usage, and debug decisions from a clean dashboard.
SDKs & Plugins
Use our JavaScript SDK today. WordPress plugin and more integrations are coming soon.
For developers
Moderate content in a few lines of code
JavaScript SDK (@cleanmod/js)
import { createCleanModClient } from "@cleanmod/js";
const client = createCleanModClient({
apiKey: process.env.CLEANMOD_API_KEY!,
});
const result = await client.moderate({
text: "You are an idiot",
});
console.log(result.decision, result.overall_score);cURL
curl -X POST https://cleanmod.dev/api/v1/moderate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "You are an idiot",
"model": "english-basic"
}'Perfect for
Blog comments & forums
Product reviews & marketplaces
In-app chat and communities
Support & feedback forms
CleanMod is language-agnostic on the client and only needs a backend to call the API.
Start free, scale when you need to
CleanMod includes a generous free plan so you can integrate and test without stress. When you're ready, move to higher-usage tiers.
View pricingReady to ship safer comments?
Create a free account, generate an API key, and start moderating content in minutes.
Get started for free