intel.rallylive.ca/dev/xml-to-json
XML to JSON converter producing an element tree ({name, attrs, text, children}) that preserves order, attributes, CDATA and repeated elements, plus the element count. Handles up to 5,000 elements. Sitemaps, feeds, SOAP bodies and config files. $0.01 per conversion.
POST
https://intel.rallylive.ca/dev/xml-to-jsonUptime100% of 5 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://intel.rallylive.ca/dev/xml-to-json", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"text":"<catalog><book id=\"1\"><title>Dune</title><price currency=\"USD\">9.99</price></book><book id=\"2\"><title>Emma</title></book></catalog>"}),
});
console.log(await res.json());Example input
{
"text": "<catalog><book id=\"1\"><title>Dune</title><price currency=\"USD\">9.99</price></book><book id=\"2\"><title>Emma</title></book></catalog>"
}