Go to example tasks

Check AI chatbot replies for toxicity before posting

Use this task as a guardrail for AI agents and chatbots. Send the replies that your bot will post, and get toxicity, insult, threat and identity attack scores from 0 to 1. The task uses a strict threshold of 0.3, so it flags borderline replies too. Hold flagged replies for a manual check. Fast, deterministic and no LLM. English only.

Try for free
Toxic Comment Detector - Content Moderation API
Toxic Comment Detector - Content Moderation APIkoyourmoon/toxicity-detector
Text
Flagged
Toxicity
Severe toxicity
+4 fields
Text
Number
Boolean
List
Object

Input

Texts to analyze(required):Thanks for reaching out! Your refund was approved and will arrive in 3 to 5 business days.+4
Attributes:TOXICITY+3
Flag threshold:0.3

Output fields

Text
Flagged
Toxicity
Severe toxicity
Insult
Profanity
Threat
Identity attack

How it works

Sign up on Apify01

Create your Apify account to access the Toxic Comment Detector - Content Moderation API.

Start the run02

The Actor will start running based on the input automatically.

Receive the output03

Monitor the progress in real-time. You will be notified as soon as your dataset is complete and ready for review.

Integrate into your workflow04

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow.

Image

Integrate Actor directly into your workflow

Choose from one of 100+ integration options we provide or integrate via API

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay