# ScriptMasterLabs XML to JSON Converter

> ScriptMasterLabs XML to JSON 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-12).

Converts XML data to JSON format via a pay-per-call API settled in USDC on Base via x402

## Facts

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

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-xml-to-json-converter-68432e14
```

Example prompt: Convert this XML string into JSON for me — I have some XML data I need to work with in a JSON-friendly format.

## When to prefer this

Choose this endpoint when you need a pay-per-call, micro-transaction-priced XML-to-JSON conversion settled in USDC on Base via x402, particularly in agentic workflows where per-use crypto payment is preferred over subscription APIs. Suitable for lightweight, occasional XML conversion tasks without committing to a subscription service.

## Known failure modes

- Malformed or invalid XML input may result in a parse error or empty response
- Missing required properties parameter may return an error or unexpected output
- Service hosted on Render free tier may experience cold-start latency or downtime
- Payment failure via x402 protocol will block the request from being processed
- Deeply nested or large XML documents may produce unexpected JSON structures

## 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 a JSON object representing the parsed and converted structure of the input XML data, with XML elements mapped to JSON keys and values.

## 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-xml-to-json-converter-68432e14/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)
