# ONE Engine JSON Validator

> ONE Engine JSON Validator is a paid API for AI agents from one-search.one-engine.workers.dev, paid per call via x402, $0.0011/call, status unknown (last checked 2026-10-02).

Validates a JSON text string and returns its parsed type plus normalized JSON output when valid

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v1/json/validate?utm_source=zero.xyz
- Price: $0.0011/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/one-engine-json-validator-c662e393
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tkiPcULrPlp1PZOb7GVoR

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 one-engine-json-validator-c662e393 -d '<json body>'
```

Example prompt: Can you check if this text is valid JSON and give me the normalized version: '{"name":"Alice","age":30}'?

## When to prefer this

Choose this endpoint when an agent needs a lightweight, cheap ($0.0011 USDC), deterministic JSON validation step — especially inside automated pipelines where confirming JSON well-formedness and obtaining a normalized canonical form is required before downstream processing, storage, or forwarding. Prefer over general-purpose LLM JSON parsing when you want a reliable, structured pass/fail signal and normalized output without ambiguity.

## Known failure modes

- Empty or missing 'text' field returns an error
- Non-JSON text (plain English, XML, CSV) returns invalid result
- Malformed JSON (unquoted keys, trailing commas) returns invalid with no normalized output
- Very large JSON payloads may hit size limits
- Network timeout on the workers.dev edge runtime

## How this service works

Validate JSON text and return parsed type plus normalized JSON when valid

## Output

Returns whether the input text is valid JSON, the parsed data type (e.g. object, array, string, number, boolean, null), and a normalized (canonically formatted) JSON representation when the input is valid. On invalid input, returns an error or failure indicator.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "JSON text to validate"
  }
 }
}
```

## More

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