# Tanship PayAI Console — Content Moderation API

> Tanship PayAI Console — Content Moderation API is a paid API for AI agents from x402.tanship.dev, paid per call via x402, $0.5/call, status unknown (last checked 2026-09-15).

Analyzes text or content for policy violations, harmful content, or inappropriate material using AI moderation via the x402 payment protocol

## Facts

- Endpoint: POST https://x402.tanship.dev/v1/ai/moderate
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tanship-payai-console-content-moderation-api-8656c025
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bfwl8_0XFjt38mn2HHLWW

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tanship-payai-console-content-moderation-api-8656c025 -d '<json body>'
```

Example prompt: Can you run this user comment through AI content moderation and tell me if it violates any safety or policy guidelines: 'You are all idiots and should be ashamed'?

## When to prefer this

Choose this endpoint when you need pay-per-call AI content moderation without a subscription or API key, especially if you are already using the x402 micropayment protocol on Base. Ideal for low-volume or bursty moderation needs where per-call USDC billing ($0.002) is more cost-effective than a monthly SaaS plan. Also suited for agent workflows that autonomously pay for moderation as part of a larger pipeline.

## Known failure modes

- Payment not included or insufficient USDC — returns HTTP 402 requiring x402 payment header
- Malformed request body or missing required 'input' field — returns 400 Bad Request
- Input body type mismatch (e.g. sending form-data when json expected) — returns 422 or 400
- Empty or null content body — moderation may return undefined results or error
- Network or upstream AI service unavailability — returns 503 or timeout
- Unsupported content type submitted — may return classification error

## How this service works

Payment-gated AI and browser automation API using the x402 protocol. All /v1/* endpoints require USDC payment on Base (eip155:8453) via x402 v2 exact scheme.

## Output

Returns an AI-generated moderation verdict indicating whether the submitted content violates content policies, along with classification labels (e.g. hate speech, harassment, explicit content, spam) and likely a confidence score or severity level for each detected category.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tanship-payai-console-content-moderation-api-8656c025/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.tanship.dev](https://www.zero.xyz/host/x402.tanship.dev/llms.txt)
