# Bolt JSON Format

> Bolt JSON Format is a paid API for AI agents from v0-bolt.orbonomy.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Parses and pretty-prints a JSON string, returning a structured object with optional indentation control

## Facts

- Endpoint: POST https://v0-bolt.orbonomy.xyz/api/json-format
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bolt-json-format-77ae175d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_W5jMlNLwp4d26txR40EFt

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 bolt-json-format-77ae175d -d '<json body>'
```

Example prompt: Take this minified JSON string '{"name":"Alice","age":30,"active":true}' and format it with 2-space indentation so it's readable.

## When to prefer this

Use this endpoint when you need to parse and optionally pretty-print a raw JSON string into a structured object, especially when you want configurable indentation. Prefer this over manual parsing when working within the Bolt x402 pay-per-request ecosystem.

## Known failure modes

- Invalid JSON string input returns success: false
- Missing required 'json' field returns a validation error
- Malformed or truncated JSON causes parse failure
- Non-integer indent value may be rejected

## How this service works

Utility toolkit for AI agents. 54 endpoints — tools, data, and AI processing. Pay per request in USDC via x402.

## Output

Returns a JSON object with a 'success' boolean and a 'data' object containing the parsed and formatted result of the input JSON string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "json"
 ],
 "properties": {
  "json": {
   "type": "string"
  },
  "indent": {
   "type": "integer"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bolt-json-format-77ae175d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from v0-bolt.orbonomy.xyz](https://www.zero.xyz/host/v0-bolt.orbonomy.xyz/llms.txt)
