# YRUZ JSON Validator & Beautifier

> YRUZ JSON Validator & Beautifier is a paid API for AI agents from yruz.one, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-19).

Validates and pretty-prints a JSON string, returning a formatted and validated result

## Facts

- Endpoint: POST https://yruz.one/api/toolkit/json-validator-beautifier?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/yruz-json-validator-beautifier-d98db2e9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JK3z8B335fwU_mUDzHFR4

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 yruz-json-validator-beautifier-d98db2e9 -d '<json body>'
```

Example prompt: Can you validate and beautify this JSON for me: {"name":"Alice","age":30,"active":true} — I want to make sure it's valid and nicely formatted.

## When to prefer this

Choose this endpoint when you need a quick, paid-per-call JSON validation and beautification service without setting up local tooling. Useful in agent pipelines where JSON correctness must be verified before passing data downstream, or when formatted output is needed for display or logging purposes.

## Known failure modes

- Invalid or malformed JSON input causes a validation error response
- Missing 'json' field in request body returns an error
- Empty string input may return an error or empty result
- Deeply nested or extremely large JSON strings may hit size limits

## How this service works

YRUZ is a free social network: create a profile, join public groups, attend events, read free guides on community building and creator income.

## Output

Returns a JSON object containing the tool name ('json-validator-beautifier') and a result field with the validated and beautified JSON structure, indicating whether the input was valid and providing a formatted representation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "json": {
   "type": "string",
   "description": "JSON (required)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tool": "json-validator-beautifier",
  "result": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/yruz-json-validator-beautifier-d98db2e9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from yruz.one](https://www.zero.xyz/host/yruz.one/llms.txt)
