# Mistral AI Content Moderation via Locus x402

> Mistral AI Content Moderation via Locus x402 is a paid API for AI agents from mistral.x402.paywithlocus.com, paid per call via x402, $0.008/call, status unknown (last checked 2026-10-10).

Classifies text for harmful or policy-violating content using Mistral's moderation model, returning safety labels per input string.

## Facts

- Endpoint: POST https://mistral.x402.paywithlocus.com/mistral/moderate?utm_source=zero.xyz
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mistral-ai-content-moderation-via-locus-x402-baa926c2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OHliBdjjnXy3qHZj2UbOG

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 mistral-ai-content-moderation-via-locus-x402-baa926c2 -d '<json body>'
```

Example prompt: Can you run this user comment through Mistral's content moderation to check if it violates any safety policies? The text is: 'You should seriously just disappear forever, nobody wants you here.'

## When to prefer this

Choose this endpoint when you need fast, per-call text moderation powered by Mistral's dedicated moderation model without managing API keys or subscriptions — ideal for agents that pay per use via x402/USDC micropayments. Prefer this over general LLM classification prompts when you want a purpose-built moderation model with defined safety categories rather than a freeform generation-based classifier.

## Known failure modes

- Empty or null input array returns an error or empty results
- Unsupported model name causes a model-not-found error
- Inputs exceeding token limits are rejected or truncated
- Payment of 0.008 USDC is required — missing or invalid payment header causes a 402 response
- Rate limits may throttle high-volume moderation requests
- Malformed JSON body returns a 400 bad request error

## How this service works

Premier and open-source LLMs — Mistral Large, Medium, Small, Codestral, Magistral reasoning, Pixtral vision, text embeddings, and content moderation.

## Output

Returns a JSON object with moderation results per input string, indicating whether each text triggered any safety categories (e.g. hate speech, violence, self-harm, sexual content), along with payment settlement details and a request ID for tracking.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "anyOf": [
    {
     "type": "string"
    },
    {
     "type": "array",
     "items": {}
    }
   ]
  },
  "model": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "payment": {
   "scheme": "exact",
   "settledUsdc": "0.001000",
   "authorizedMaxUsdc": "0.001000"
  },
  "request": {
   "id": "00000000-0000-4000-8000-000000000000",
   "statusUrl": "/requests/00000000-0000-4000-8000-000000000000"
  },
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mistral-ai-content-moderation-via-locus-x402-baa926c2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mistral.x402.paywithlocus.com](https://www.zero.xyz/host/mistral.x402.paywithlocus.com/llms.txt)
