# ScriptMasterLabs JSON Validate

> ScriptMasterLabs JSON Validate is a paid API for AI agents from acp-x402-discovery.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Validates a JSON object or schema via a pay-per-call API settled in USDC on Base via x402

## Facts

- Endpoint: GET https://acp-x402-discovery.onrender.com/x402/json-validate
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-json-validate-7f7a3c22
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2ZGVY69Ves3ZqblOCjbL-

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 scriptmasterlabs-json-validate-7f7a3c22
```

Example prompt: Can you validate this JSON string for me and tell me if it's well-formed and what errors it has: {"name": "Alice", "age": "thirty", "active": true}?

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-call JSON validation check without committing to a subscription service. It is appropriate for ad-hoc validation tasks in automated pipelines where you only pay for what you use, settled in USDC on Base. It is well-suited for agents that need to verify JSON integrity before passing data downstream.

## Known failure modes

- Missing or empty input returns an error indicating no JSON to validate
- Malformed input that cannot be parsed returns a detailed syntax error
- Network or server errors on the Render.com host may return 5xx responses
- Payment failure via x402 may result in a 402 Payment Required response before content is served

## How this service works

Pay-per-call crypto, RWA, federal, SEC, and compliance APIs. Settled in USDC on Base via x402. Hyphen routes only (e.g. /x402/rwa-aggregates, /x402/gas-tracker).

## Output

Returns a validation result indicating whether the provided JSON is valid, along with any parsing errors or structural issues found in the input properties.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scriptmasterlabs-json-validate-7f7a3c22/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-discovery.onrender.com](https://www.zero.xyz/host/acp-x402-discovery.onrender.com/llms.txt)
