$ man moderate-content
/moderate-content
NAME
moderate-content — moderates content for safety, scoring harassment, hate_speech, violence, sexual_content, self_harm, spam, phishing, doxing, illegal_activ…
SYNOPSIS
POST https://x402.agentutility.ai/moderate-content
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Moderates content for safety, scoring harassment, hate_speech, violence, sexual_content, self_harm, spam, phishing, doxing, illegal_activity, plus custom categories, and returning allow/review/block. Morpheus primary, Venice fallback. Use it as a content moderation API, safety classifier, or OpenAI-style toxicity API.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| text | string | — | required |
| custom_categories | array | — | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| categories | object | Per-category scores or booleans (harassment, hate_speech, violence, sexual_content, self_harm, spam, phishing, doxing, illegal_activity). |
| verdict | string | Overall decision: allow, review, or block. |
| summary | string | Short human-readable explanation of why the verdict was reached. |
| flagged_count | number | Number of categories that crossed the flag threshold for this text. |
| categories_evaluated | array | List of category names the classifier scored on this request (defaults plus any custom ones). |
| input_chars | number | Character count of the submitted text. |
| model | string | Identifier of the moderation model that produced the verdict. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/moderate-content \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster npx -y @agentutility/mcp-<cluster> # Required: EVM private key with USDC on Base export X402_PRIVATE_KEY=0x... # Then call the moderate-content tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- moderationsafetyclassifytrust
- env
- VENICE_API_KEY
- methods
- POST
- cluster
- wordmint
- price
- $0.02 USDC per call
ADJACENT — other endpoints in wordmint
| endpoint | description | price |
|---|---|---|
| alt-text-generator | Alt text generator / accessibility image description API. | $0.02 |
| classify | Zero-shot text classifier. | $0.02 |
| classify-text | Classifies text into caller-supplied labels (2-25), with multi-label mode. | $0.02 |
| describe-image | Describes images with a vision LLM across five modes: describe, alt_text (accessibility, <=125 chars), OCR (extract visible text), tags (… | $0.02 |
| detect-pii | Detects PII in text: emails, phones, SSNs, credit cards, addresses, names, IPs, and API tokens. | $0.02 |
| email-draft | Writes emails with AI: subject, body, salutation, and sign-off. | $0.02 |
| extract | Named entity extractor / NER. | $0.02 |
| image-describe | Returns detailed image descriptions, short captions, alt text, OCR text, or tags from a public image URL. | $0.02 |
SEE ALSO