Text Moderation API

Text Moderation API

by sentinel-moderation

Uses advanced AI models to analyze and classify user-generated content in real time. It detects harmful or inappropriate content, providing category-l...

231 runs
5 users
Try This Actor

Opens on Apify.com

About Text Moderation API

Uses advanced AI models to analyze and classify user-generated content in real time. It detects harmful or inappropriate content, providing category-level flags and confidence scores to help you enforce community guidelines and keep your platform safe.

What does this actor do?

Text Moderation API is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

🛡️ AI Text Moderation Actor This Apify Actor uses Sentinel Moderation's AI-powered API to classify and flag potentially harmful or inappropriate text content. It detects a wide range of categories including harassment, hate speech, sexual content, illicit activity, self-harm, and violence. Use this actor to help protect your platform and maintain community guidelines by automating content moderation at scale. --- ## 📥 Input Schema The actor accepts a simple JSON input: json { "apiKey": "your-sentinelmoderation-api-key", "content": "Text to analyze goes here..." } - apiKey (string, required): Your API key from SentinelModeration.com. - content (string, required): The text you want to classify for moderation. --- ## 📤 Output The actor returns an array containing one moderation result object with the following structure: json [ { "flagged": false, "categories": { "harassment": false, "harassment/threatening": false, "sexual": false, "hate": false, "hate/threatening": false, "illicit": false, "illicit/violent": false, "self-harm/intent": false, "self-harm/instructions": false, "self-harm": false, "sexual/minors": false, "violence": false, "violence/graphic": false }, "category_scores": { "harassment": 0.000048, "harassment/threatening": 0.0000066, "sexual": 0.000039, "hate": 0.0000142, "hate/threatening": 0.0000008, "illicit": 0.000022, "illicit/violent": 0.000019, "self-harm/intent": 0.0000011, "self-harm/instructions": 0.0000010, "self-harm": 0.0000020, "sexual/minors": 0.000010, "violence": 0.000016, "violence/graphic": 0.0000056 }, "error": "NOTE: THIS IS A SAMPLE RESPONSE, AN API KEY FROM SENTINELMODERATION.COM IS REQUIRED TO GET REAL RESULTS FOR THIS ACTOR." } ] - flagged: true if any category crosses the internal moderation threshold. - categories: A breakdown of category flags (true/false). - category_scores: Raw probability scores for each category (0.0 - 1.0). - error: A message shown when a valid API key is not provided. --- ## 🧠 Categories Detected This actor checks for content under the following moderation categories: - Harassment - Threatening language - Sexual content (general & involving minors) - Hate speech (general & threatening) - Illicit activity (including violent) - Self-harm (intent, instructions, general) - Violence (including graphic imagery) --- ## 🔐 Getting an API Key To use this actor with real moderation results, you need an API key from Sentinel Moderation: 1. Go to sentinelmoderation.com 2. Sign up and generate your API key 3. Use the key in the apiKey field of the input --- ## ✅ Example Use Cases - Moderating user comments or posts - Screening support messages for abuse - Filtering harmful prompts in AI chat systems - Pre-checking user-generated bios or profile content

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try Text Moderation API now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
sentinel-moderation
Pricing
Paid
Total Runs
231
Active Users
5
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support