# ScriptMasterLabs JSON to YAML Converter

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

Converts JSON data into YAML format, payable per-call in USDC on Base via x402 protocol

## Facts

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

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-8553cc3d
```

Example prompt: Convert this JSON object to YAML for me: {"name": "myApp", "version": 2, "enabled": true}.

## When to prefer this

Choose this endpoint when you need a pay-per-call, programmatic JSON-to-YAML conversion without provisioning your own tooling, and are already operating within an x402 micropayment workflow on Base. Useful for agents that handle dynamic config generation or need on-demand format translation as part of a larger pipeline.

## Known failure modes

- Invalid or malformed JSON input returns an error or unexpected output
- Missing or empty properties field may result in empty YAML output
- Payment failure via x402 protocol returns HTTP 402 before processing
- Service downtime on Render free tier may cause slow cold-start or unavailability

## 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

Returns the input JSON data serialized as a YAML-formatted string or document, preserving the structure and values of the original JSON.

## 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-8553cc3d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-scriptmasterlabs.onrender.com](https://www.zero.xyz/host/acp-x402-scriptmasterlabs.onrender.com/llms.txt)
