# JSON Pretty-Print with Tab Indentation

> JSON Pretty-Print with Tab Indentation is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-23).

Reformats a JSON string using tab-based pretty-printing indentation, returning a human-readable version of the input JSON.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/json-pretty-tab?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/json-pretty-print-with-tab-indentation-773973ba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3DeXzdb9jsmGLSgPhCWwa

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 json-pretty-print-with-tab-indentation-773973ba -d '<json body>'
```

Example prompt: Can you reformat this JSON with tab indentation so it's readable? Here's the raw JSON: {"name":"Alice","age":30,"city":"Zurich"}

## When to prefer this

Choose this endpoint when you need tab-based (not space-based) JSON indentation specifically, and want a deterministic, offline transformation with no network calls or LLM involvement. Prefer the free sandbox endpoint POST /v1/sandbox/json-pretty-tab first; use this paid endpoint only if the sandbox is unavailable or you need guaranteed SLA. Avoid if you need space-indented output or any structural transformation beyond formatting.

## Known failure modes

- Invalid or malformed JSON input returns an error response
- Empty string input rejected due to minLength:1 constraint
- Input exceeding 100,000 characters rejected due to maxLength constraint
- Malformed request body or missing 'text' field returns a 400-level error
- Payment failure (wrong amount or missing x402 header) blocks execution

## How this service works

Call when an agent needs JSON rewritten with the pretty-tab transform. No network. Exact $0.005 USDC. Prefer unpaid POST /v1/sandbox/json-pretty-tab first.

## Output

A tab-indented, human-readable version of the submitted JSON string, with each nested level indented by one tab character. The response is a formatted JSON string with no changes to data values or structure.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "examples": [
    "{\"b\":1,\"a\":2}"
   ],
   "maxLength": 100000,
   "minLength": 1,
   "description": "Input for this SKU. The route description says whether it is plain text, a URL, base64 bytes, or an already-encoded token."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/json-pretty-print-with-tab-indentation-773973ba/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
