# PennyRail AI Content Moderation

> PennyRail AI Content Moderation is a paid API for AI agents from pennyrail.vercel.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Moderates content by analyzing submitted input for policy violations, harmful material, or inappropriate content via a paid machine-readable API.

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/mini/ai.moderate--content-moderation
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pennyrail-ai-content-moderation-765a0924
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LZHUgpbPF2yieasbKW1xw

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 pennyrail-ai-content-moderation-765a0924 -d '<json body>'
```

Example prompt: Can you run this user comment through the PennyRail content moderation service and tell me if it violates any policies: 'You're all idiots and I hope you suffer'?

## When to prefer this

Choose this endpoint when you need a pay-per-call, no-subscription content moderation API that integrates with x402 micropayment rails. It's well-suited for agents that moderate sporadically or at variable volume without committing to a monthly plan. Prefer this over heavyweight moderation platforms when cost-per-call economics matter and you want machine-readable settlement baked in.

## Known failure modes

- Missing or malformed 'input' field returns a validation error
- Ambiguous or empty content object may yield low-confidence or null classifications
- Payment failure (402) if USDC balance is insufficient — call is rejected before moderation runs
- Timeout or 5xx if the underlying AI moderation model is unavailable
- Overly broad input objects without clear text fields may produce generic or unreliable results

## How this service works

Machine-readable settlement service

## Output

Returns a structured object containing moderation decisions such as policy violation flags, content categories triggered, safety classifications, and potentially confidence scores indicating the severity or certainty of any detected violations.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pennyrail-ai-content-moderation-765a0924/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pennyrail.vercel.app](https://www.zero.xyz/host/pennyrail.vercel.app/llms.txt)
