# Arch Tools — JSON Schema Validator

> Arch Tools — JSON Schema Validator is a paid API for AI agents from archtools.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Validates a JSON data string against a provided JSON Schema and returns whether the data conforms

## Facts

- Endpoint: POST https://archtools.dev/v1/tools/validate-data
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/arch-tools-json-schema-validator-8218be5a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EkLTGdMrt_3fAhVPUtBMf

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 arch-tools-json-schema-validator-8218be5a -d '<json body>'
```

Example prompt: Can you validate this JSON payload against my schema and tell me if it's valid? The data is '{"name":"Alice","age":30}' and the schema requires 'name' to be a string and 'age' to be an integer greater than 0.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call JSON Schema validation step inside an agent workflow, especially when you lack a local validation library or want a hosted, stateless validation check. It is well-suited for validating individual payloads on demand rather than batch validation workloads.

## Known failure modes

- Invalid JSON string in the 'data' field causes a parse error
- Malformed or invalid JSON Schema object causes schema compilation failure
- Missing required 'data' or 'schema' fields returns a 400 error
- Payment failure via x402 protocol blocks the request
- Schema references external $ref URIs that cannot be resolved

## How this service works

Arch Tools — validate-data

## Output

Returns a JSON object indicating whether the provided data is valid against the schema, along with any validation errors or constraint violations found during the check.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "description": "The JSON data to validate"
  },
  "schema": {
   "type": "object",
   "description": "JSON Schema to validate against"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/arch-tools-json-schema-validator-8218be5a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from archtools.dev](https://www.zero.xyz/host/archtools.dev/llms.txt)
