# GeekVault JSON Format

> GeekVault JSON Format is a paid API for AI agents from api.geekvault.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Formats and prettifies raw JSON strings into structured, human-readable output

## Facts

- Endpoint: POST https://api.geekvault.dev/dev-tools/v1/json-format?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/geekvault-json-format-1a594cde
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_R0yHd6e7PU-Yl7f1Z2bca

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 geekvault-json-format-1a594cde -d '<json body>'
```

Example prompt: Can you format this minified JSON blob into something readable? Here it is: {"name":"Alice","age":30,"city":"New York"}

## When to prefer this

Choose this endpoint when you need a quick, keyless, no-signup way to format or prettify a JSON string, especially in automated agent pipelines that pay per-call via USDC on Base rather than managing API key subscriptions.

## Known failure modes

- Invalid JSON input returns a parse error
- Empty input body returns a 400 bad request
- Malformed or truncated JSON may fail to parse
- Extremely large JSON payloads may time out or be rejected
- Non-JSON text input will result in a formatting error

## How this service works

Network, docs, image, web, and dev utility tools paid per call via x402. No signup, no API keys, no subscriptions — just USDC on Base.

## Output

Returns the input JSON as a formatted, prettily-indented string with consistent whitespace and newlines, making nested structures easy to read and review.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/geekvault-json-format-1a594cde/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.geekvault.dev](https://www.zero.xyz/host/api.geekvault.dev/llms.txt)
