# x402-toolbox JSON Format Utility

> x402-toolbox JSON Format Utility is a paid API for AI agents from x402-toolbox.shablony-pro.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Formats or validates a JSON schema string into a canonical, pretty-printed JSON structure via pay-per-call over x402.

## Facts

- Endpoint: GET https://x402-toolbox.shablony-pro.workers.dev/util/json-format?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-toolbox-json-format-utility-3160126c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_42B38ZfRkJ1aFNYZecVxG

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 x402-toolbox-json-format-utility-3160126c
```

Example prompt: Can you format this JSON schema string for me so it's readable and properly structured: '{"type":"object","properties":{"name":{"type":"string"}}}'?

## When to prefer this

Choose this endpoint when you need a lightweight, no-signup, pay-per-call JSON formatting or schema validation utility without managing API keys — ideal for AI agents that can pay via x402 USDC on Base and need deterministic, stateless JSON normalization on demand.

## Known failure modes

- Invalid or malformed JSON schema string returns a parse error
- Missing 'schema' parameter may return a bad request or empty response
- x402 payment failure results in 402 Payment Required with no data returned
- Extremely large schema strings may time out on the Cloudflare Worker edge

## How this service works

309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.

## Output

Returns a JSON object with an 'ok' boolean indicating success and a 'paid' boolean confirming the x402 micropayment was accepted, along with the formatted or validated JSON output.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-toolbox-json-format-utility-3160126c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-toolbox.shablony-pro.workers.dev](https://www.zero.xyz/host/x402-toolbox.shablony-pro.workers.dev/llms.txt)
