C

Content Moderation API · Moderate

by Content Moderation API

POSTBase

$0.005

per call · USD Coin on Base

Check text for profanity/explicit terms (wordlist-based, with basic leetspeak/obfuscation detection); returns a flag, matched terms, and a redacted version.

Endpoint

POST https://content-moderation-api-hhy1.onrender.com/moderate

4

Calls / 30d

2

Unique payers / 30d

Aug 30

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://content-moderation-api-hhy1.onrender.com/moderate", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "text": "You are a jerk."
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://content-moderation-api-hhy1.onrender.com/moderate" \
  -H "Content-Type: application/json" \
  -d '{"text":"You are a jerk."}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "flagged": true,
  "match_count": 1,
  "matches": [
    {
      "end": 17,
      "start": 10,
      "term": "asshole"
    }
  ],
  "redacted_text": "You are a *******."
}

Payment details

Pay to0x7556a8772e508a8b63f8bbb4f9e6945de0017f4f
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of AI & Inference and the homepage with a featured placement.

Get featured →

More from Content Moderation API & similar services