# DocParse JSON Utility

> DocParse JSON Utility is a paid API for AI agents from 72-56-90-243.sslip.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-12).

Validates, pretty-prints, or minifies a JSON string, returning parse errors with line/column info on failure

## Facts

- Endpoint: POST https://72-56-90-243.sslip.io/v1/util/json?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/docparse-json-utility-27e9877b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZpOQX6IJ_ia_ml9PaKQoV

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 docparse-json-utility-27e9877b -d '<json body>'
```

Example prompt: Can you validate this JSON for me and tell me if there are any syntax errors — if it's valid, pretty-print it with 4 spaces of indentation: {"name":"Alice","age":30}

## When to prefer this

Choose this endpoint when you need a pay-per-call, no-account JSON utility — especially useful for AI agents that occasionally need to validate or reformat JSON as part of a larger workflow without setting up an API key. Ideal for lightweight, one-off validation or formatting tasks where the $0.001 USDC micropayment model fits better than integrating a heavier library or service. Prefer alternatives if you need bulk processing of many JSON documents simultaneously.

## Known failure modes

- Malformed input that is not JSON returns valid:false with line/column error location
- Empty input string may return a validation error
- Payment failure (x402) if USDC micropayment cannot be processed — no charge on failure
- Indent value out of range (0–8) may be rejected
- Mode enum value not matching validate/pretty/minify returns an error

## How this service works

Pay-per-call tools for AI agents: any document to clean Markdown (PDF, Word, Excel, PowerPoint, web pages); US company fundamentals, SEC filings and insider trades; Treasury yields; FRED macro data; official FX rates (ECB, Bank of Russia); hash, base64, JWT, UUID and JSON utilities. x402 USDC micropayments, no account or API key. Charged only on success.

## Output

Returns a JSON object with a 'valid' boolean field. On success (valid JSON), returns the processed text (pretty-printed or minified if requested). On failure, returns 'valid: false' plus an 'error' string describing the syntax problem along with 'line' and 'column' integers pinpointing where the error occurred.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mode": {
   "enum": [
    "validate",
    "pretty",
    "minify"
   ],
   "type": "string",
   "description": "validate (default), pretty or minify"
  },
  "input": {
   "type": "string",
   "description": "JSON text"
  },
  "indent": {
   "type": "integer",
   "maximum": 8,
   "minimum": 0,
   "description": "Indent for pretty (default 2)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "line": 1,
  "error": "Expected double-quoted property name in JSON at position 7",
  "valid": false,
  "column": 8
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/docparse-json-utility-27e9877b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 72-56-90-243.sslip.io](https://www.zero.xyz/host/72-56-90-243.sslip.io/llms.txt)
