# ScriptMasterLabs JSON to YAML Converter

> ScriptMasterLabs JSON to YAML Converter is a paid API for AI agents from acp-x402-discovery.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-23).

Converts a JSON object into YAML format, paid per-call via USDC on Base using the x402 protocol.

## Facts

- Endpoint: GET https://acp-x402-discovery.onrender.com/x402/json-to-yaml?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-json-to-yaml-converter-281c4fc6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LUv2-5sBkI4s11n2Houa8

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 scriptmasterlabs-json-to-yaml-converter-281c4fc6
```

Example prompt: Convert this JSON to YAML for me: {"name": "myapp", "replicas": 3, "image": "nginx:latest"} — I need it formatted as a proper YAML document.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call JSON-to-YAML conversion settled in USDC on Base via x402, especially within automated agent workflows that already use the x402 micropayment protocol and need to interoperate with YAML-based tools like Kubernetes, Ansible, or Docker Compose without standing up a dedicated conversion service.

## Known failure modes

- Malformed or invalid JSON input may result in a parse error or empty response
- Missing 'properties' parameter may yield an empty or error response
- Service hosted on Render free tier may experience cold-start delays or downtime
- x402 payment failure or insufficient USDC balance blocks the request
- Deeply nested or very large JSON objects may be truncated or improperly serialized

## How this service works

Pay-per-call crypto, RWA, federal, SEC, and compliance APIs. Settled in USDC on Base via x402. Hyphen routes only (e.g. /x402/rwa-aggregates, /x402/gas-tracker).

## Output

A YAML-formatted string representation of the input JSON data, suitable for use in configuration files, infrastructure tools, or any system requiring YAML input.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scriptmasterlabs-json-to-yaml-converter-281c4fc6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-discovery.onrender.com](https://www.zero.xyz/host/acp-x402-discovery.onrender.com/llms.txt)
