# Citiview Agent Market – Llama Guard 3 Content Moderation

> Citiview Agent Market – Llama Guard 3 Content Moderation is a paid API for AI agents from agents.citiviewgroup.com, paid per call via x402, $0.0034/call, status unknown (last checked 2026-10-15).

Checks text for harmful or policy-violating content using Llama Guard 3, returning OpenAI-compatible moderation results with flagged status, category scores, and raw Llama Guard codes.

## Facts

- Endpoint: GET https://agents.citiviewgroup.com/v1/moderations?utm_source=zero.xyz
- Price: $0.0034/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/citiview-agent-market-llama-guard-3-content-moderation-c74f071c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KRyu5mHWRmcZN6tXTcGVs

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 citiview-agent-market-llama-guard-3-content-moderation-c74f071c
```

Example prompt: Check if this message is safe to display to users: 'You should hurt yourself if you fail' — I need to know if it's flagged, which harm categories it hits, and the confidence scores.

## When to prefer this

Choose this endpoint when you need an OpenAI-compatible moderation API but want Llama Guard 3 as the underlying model instead of OpenAI's classifier — particularly useful for open-model pipelines, avoiding OpenAI dependency, or when raw Llama Guard category codes are needed alongside standard moderation fields. Also useful when you need to moderate up to 10 texts in a single call at a low per-call cost.

## Known failure modes

- Missing required `input` parameter returns a validation error
- Input exceeding token limits may be truncated or rejected
- GET method only supports single input; batch inputs require POST
- Network or upstream Llama Guard model errors may return 5xx responses
- Payment failure (x402) blocks request if USDC balance is insufficient

## How this service works

OpenAI-compatible moderation (Llama Guard 3): same response shape as OpenAI /v1/moderations with flagged, categories and category_scores, plus the raw Llama Guard codes. Up to 10 inputs per call. Priced by size: $0.003 + $0.0004 per input + $0.0004 per 1,000 characters. Also callable as GET with the same fields as query parameters.

## Output

Returns an OpenAI-compatible moderation response object with: a top-level `flagged` boolean, a `categories` object mapping harm category names to booleans, a `category_scores` object with confidence floats per category, and the raw Llama Guard 3 classification codes. Supports up to 10 inputs per POST call; GET supports a single input via query parameter.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "input"
     ],
     "properties": {
      "input": {
       "type": "string",
       "description": "Text to check (POST also accepts an array of up to 10)"
      },
      "model": {
       "type": "string",
       "description": "Ignored"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/citiview-agent-market-llama-guard-3-content-moderation-c74f071c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.citiviewgroup.com](https://www.zero.xyz/host/agents.citiviewgroup.com/llms.txt)
