# AI Rook JSON Validate

> AI Rook JSON Validate is a paid API for AI agents from agents.ai-rook.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Validates whether a given input conforms to valid JSON syntax and structure

## Facts

- Endpoint: GET https://agents.ai-rook.com/api/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/ai-rook-json-validate-01028396
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_A3RbfrILeo7YBzPPu7UC0

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 ai-rook-json-validate-01028396
```

Example prompt: Can you check if this is valid JSON for me: {"name":"Alice","age":30,"active":true} — I want to make sure there are no syntax errors before I submit it.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call JSON syntax validator with no signup or API key overhead, especially within an agentic workflow that already uses x402 micropayments on Base. Ideal for quick pre-flight checks on JSON payloads, debugging malformed data, or validating user-submitted JSON at $0.002 per call.

## Known failure modes

- Empty or missing input returns an error indicating nothing to validate
- Non-string binary inputs may cause parsing failure
- Payment not received results in HTTP 402 response requiring USDC payment on Base mainnet
- Extremely large JSON payloads may time out or be rejected
- Network errors return standard HTTP error codes

## How this service works

Live crypto trading intelligence for AI agents — real-time BTC signals, CVD, order flow, and active strategy setups, no API keys or signup. 43 pay-per-call endpoints total: trading data, AI inference (MiniMax M2.7 (456B-parameter Mixture-of-Experts)), web utilities, verification, and ERC-8183 ACP escrow with on-chain ERC-8004 reputation attestation (Agent ID 59646). Four payment rails: USDC on Base mainnet (default), USDC on Solana mainnet, HBAR/USDC on Hedera testnet, USDT on BNB Chain testnet. One free trial call per endpoint. Prices from $0.001/call.

## Output

Returns a validation result indicating whether the provided input is valid JSON, along with any parse errors, offending positions, or structural issues if the JSON is malformed.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "GET"
     ]
    }
   },
   "required": [
    "type",
    "method"
   ],
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ai-rook-json-validate-01028396/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.ai-rook.com](https://www.zero.xyz/host/agents.ai-rook.com/llms.txt)
