# AgentProof JSON Schema Validator

> AgentProof JSON Schema Validator is a paid API for AI agents from agentproof-murex.vercel.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Validates an API JSON response against a JSON Schema and suggests repairs when validation fails

## Facts

- Endpoint: POST https://agentproof-murex.vercel.app/api/validate
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentproof-murex-vercel-app-b1f44ae9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_u-BJqy_DcGx8AqyAVFg75

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 agentproof-murex-vercel-app-b1f44ae9 -d '<json body>'
```

Example prompt: Can you validate this API response JSON against my schema and tell me what's wrong and how to fix it? Here's the response: {"user_id": "abc", "age": "thirty"} and the schema expects user_id as an integer and age as a number.

## When to prefer this

Choose this endpoint when you need to both validate a JSON payload against a schema AND receive suggestions for how to repair the violations in a single call — particularly useful for agents that need to self-heal or retry API calls with corrected payloads. Prefer it over generic JSON linters when you need schema-aware repair hints rather than just error detection.

## Known failure modes

- Malformed JSON input returns an error before schema validation can run
- Invalid or unparseable JSON Schema causes a schema parse error
- Missing required fields (response body or schema) returns a 400-level error
- Response exceeds size limits and is rejected
- Network timeout on the Vercel edge function

## How this service works

API response validation for agents - check JSON Schema and suggest repairs.

## Output

Returns a validation result indicating whether the JSON response conforms to the provided JSON Schema, listing any violations or mismatches, and providing actionable repair suggestions to correct the invalid fields or structure.

## Example request

```json
{
 "schema": {
  "type": "object",
  "required": [
   "user_id",
   "age"
  ],
  "properties": {
   "age": {
    "type": "integer"
   },
   "user_id": {
    "type": "string"
   }
  }
 },
 "response": {
  "age": "thirty",
  "user_id": "abc"
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "schema": {
   "type": "object",
   "description": "JSON Schema used to validate the response."
  },
  "response": {
   "description": "Any JSON value."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentproof-murex-vercel-app-b1f44ae9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentproof-murex.vercel.app](https://www.zero.xyz/host/agentproof-murex.vercel.app/llms.txt)
