# Bolt JSON Formatter

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

Formats and pretty-prints a JSON string with optional indentation control

## Facts

- Endpoint: POST https://datault.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-formatter-03850b05
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EAmHqH9EoB_YrgrDuclBG

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-formatter-03850b05 -d '<json body>'
```

Example prompt: Can you format this JSON string for me with 4 spaces of indentation so it's readable: '{"name":"Alice","age":30,"roles":["admin","user"]}'?

## When to prefer this

Use this endpoint when you have a raw JSON string that needs to be parsed into a structured object or pretty-printed with controlled indentation. Prefer this over manual parsing when working within the Bolt toolkit ecosystem and paying per-request via USDC x402.

## Known failure modes

- Invalid JSON string input causes parsing failure with success=false
- Missing required 'json' field returns an error response
- Malformed or truncated JSON string may result in a parse error
- Negative or non-integer indent value may cause unexpected formatting

## 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 parsed JSON object under the 'data' key along with a boolean 'success' field indicating whether the formatting and parsing succeeded.

## 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-formatter-03850b05/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from datault.orbonomy.xyz](https://www.zero.xyz/host/datault.orbonomy.xyz/llms.txt)
