# ScriptMasterLabs XML to JSON Converter

> ScriptMasterLabs XML 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 XML data to JSON format via a pay-per-call API settled in USDC on Base via x402 protocol

## Facts

- Endpoint: GET https://acp-x402-discovery.onrender.com/x402/xml-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-xml-to-json-converter-6a32f32b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__97Gzu0cD58n_wrLdvJrQ

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-6a32f32b
```

Example prompt: Can you convert this XML string into JSON for me? I have an XML document with product data and I need it in JSON format.

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call XML-to-JSON conversion without managing your own parsing infrastructure, and when you are already operating within the x402 micropayment ecosystem using USDC on Base. Suitable for one-off conversions at very low cost ($0.001 per call).

## Known failure modes

- Invalid or malformed XML input returns an error
- Missing required properties parameter may result in empty or error response
- Service unavailability on the Render.com hosted instance
- Payment failure via x402/USDC may block access
- Very large XML documents may time out or be rejected

## 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 representation of the provided XML input. The response contains the parsed and converted data structure from XML format translated into JSON key-value pairs and nested objects.

## 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-6a32f32b/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)
