Skip to content
Fourohtwo

fastx402.tools/json-to-xml

Turn a JSON object into formatted XML (keys starting with @_ become attributes). Use it to build XML payloads, feeds or sitemaps from data.

BaseAnswering
GEThttps://fastx402.tools/json-to-xml

Uptime100% of 1 check 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://fastx402.tools/json-to-xml?json=%7B%22note%22%3A%7B%22%40_lang%22%3A%22en%22%2C%22to%22%3A%22Ada%22%2C%22body%22%3A%22Hello%22%7D%7D");
console.log(await res.json());

Example input

{
  "json": "{\"note\":{\"@_lang\":\"en\",\"to\":\"Ada\",\"body\":\"Hello\"}}"
}

More from FastX402 LabProvider status