# ScriptMasterLabs YAML-to-JSON Converter

> ScriptMasterLabs YAML-to-JSON 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-09-14).

Converts a YAML string or properties input into a JSON object, paid per-call via USDC on Base using x402 protocol.

## Facts

- Endpoint: GET https://acp-x402-discovery.onrender.com/x402/yaml-to-json
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-yaml-to-json-converter-a4e76fd8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7ZU2wkpLK4ul2_5qkFstv

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-yaml-to-json-converter-a4e76fd8
```

Example prompt: Can you convert this YAML string into JSON for me? Here's the YAML: 'name: my-service\nversion: 1.2\nenabled: true'

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-call YAML-to-JSON conversion without setting up a local parser, especially within an x402-enabled micropayment workflow on Base. Best suited for single YAML document conversions billed at $0.001 USDC per call.

## Known failure modes

- Malformed or invalid YAML input may return an empty or error response
- Missing or empty 'properties' parameter may result in a null or empty JSON output
- Service availability issues on Render free tier may cause cold-start delays or 502 errors
- Complex YAML with anchors or custom tags may not parse correctly

## 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 JSON object parsed from the provided YAML input. The response contains the structured data equivalent of the YAML content, ready for programmatic consumption.

## 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-yaml-to-json-converter-a4e76fd8/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)
