# GeekVault JSON Validate

> GeekVault JSON Validate is a paid API for AI agents from api.geekvault.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Validates a JSON string or object for correctness and well-formedness, returning validation status and error details

## Facts

- Endpoint: POST https://api.geekvault.dev/dev-tools/v1/json-validate?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/geekvault-json-validate-5b8175d9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_msBcOcPas6bqt_XwH3wc7

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 geekvault-json-validate-5b8175d9 -d '<json body>'
```

Example prompt: Can you check if this JSON is valid: {"name": "Alice", "age": 30, "active": true} — and tell me if there are any syntax errors?

## When to prefer this

Choose this endpoint when you need a fast, pay-per-call JSON validation check with no setup overhead — no API keys or subscriptions required. Ideal for AI agents that need to verify dynamically generated or user-supplied JSON before further processing, and for one-off validation tasks where a dedicated SDK or library is not available in the runtime environment.

## Known failure modes

- Empty or missing input body — returns error indicating no JSON was provided
- Input exceeds size limit — returns error for oversized payloads
- Non-JSON content type or encoding issues — may cause parsing failure before validation logic runs
- Network timeout on rare occasions — retrying the request typically resolves it

## How this service works

Network, docs, image, web, and dev utility tools paid per call via x402. No signup, no API keys, no subscriptions — just USDC on Base.

## Output

Returns a validation result indicating whether the provided JSON is valid, along with detailed error messages and location information (line, column, or character offset) for any syntax errors found.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/geekvault-json-validate-5b8175d9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.geekvault.dev](https://www.zero.xyz/host/api.geekvault.dev/llms.txt)
