What does the Comment Moderation API do?
The Simple Comment Moderation API scores text for policy violations and toxic language so you can auto-hold, flag, or reject UGC before human moderators review it. Integrate at post time in forums, chat apps, and review widgets.
Use cases
- Community forum pre-moderation
- Product review filtering
- Live chat safety pipelines
- Marketplace listing descriptions
Code examples
Replace endpoint paths and hosts with the values shown in your RapidAPI subscription dashboard.
cURL
curl -X GET "https://simple-comment-moderation.p.rapidapi.com/moderate" \
-H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
-H "X-RapidAPI-Host: simple-comment-moderation.p.rapidapi.com"Node.js (fetch)
const response = await fetch("https://simple-comment-moderation.p.rapidapi.com/moderate", {
headers: {
"X-RapidAPI-Key": process.env.RAPIDAPI_KEY,
"X-RapidAPI-Host": "simple-comment-moderation.p.rapidapi.com"
}
});
const data = await response.json();
console.log(data);Python (requests)
import requests
response = requests.get(
"https://simple-comment-moderation.p.rapidapi.com/moderate",
headers={
"X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY",
"X-RapidAPI-Host": "simple-comment-moderation.p.rapidapi.com",
},
)
print(response.json())Response schema
{
"text": "sample comment",
"safe": true,
"flags": [],
"confidence": 0.94
}Pricing
Free
Starter moderation quota
Pro
Community-scale volume
Enterprise
Custom moderation SLAs
Visit RapidAPI for live pricing, rate limits, and plan comparison.
FAQ
Does it replace human moderators?
Use it as a first-line filter; keep human review for edge cases and appeals.
Which languages are supported?
Test your locales in the RapidAPI playground.
Can I tune sensitivity?
Apply thresholds in your app based on returned scores and flags.
How fast is moderation?
Designed for synchronous pre-publish checks at post time.
Is there a free tier?
Subscribe on RapidAPI to obtain your API key. Replace YOUR_RAPIDAPI_KEY with your subscription key.