# Avedaris JSON Validator

> Avedaris JSON Validator is a paid API for AI agents from api.avedaris.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Validates a JSON string for strict conformance and returns deterministic parse diagnostics including error location and description.

## Facts

- Endpoint: POST https://api.avedaris.com/v1/paid/json-validate
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/avedaris-json-validator-2759ee84
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_v9BfwlA31SJ2ebgrzcg62

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 avedaris-json-validator-2759ee84 -d '<json body>'
```

Example prompt: Can you check if this JSON is valid and tell me exactly where the error is: '{"name": "Alice", "age": 30, "active": true, "tags": ["admin", "user"]}'?

## When to prefer this

Use this endpoint when you need deterministic, exact parse diagnostics for a JSON string — especially when debugging malformed JSON, validating user-submitted payloads before processing, or building automated pipelines that need precise error positions. Prefer this over client-side JSON.parse() when you need structured, machine-readable diagnostics with consistent error reporting regardless of runtime environment.

## Known failure modes

- Empty input string rejected (minLength:1 constraint)
- Input exceeding 100,000 characters rejected (maxLength constraint)
- Non-string body field causes schema validation failure
- Malformed request body returns 4xx error
- Transient network or server error returns 5xx

## How this service works

AveDaris is the economic coordination layer for autonomous software: discover, route, evaluate, procure, verify, and learn across agent services.

## Output

Returns deterministic parse diagnostics: whether the input is valid strict JSON, and if not, details about the specific parse error including position, line number, and a description of what went wrong.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "maxLength": 100000,
   "minLength": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "valid": true,
   "valueType": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/avedaris-json-validator-2759ee84/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.avedaris.com](https://www.zero.xyz/host/api.avedaris.com/llms.txt)
