Skip to content
Fourohtwo

fastx402.tools/xml-to-json

Parse XML (RSS and Atom feeds, sitemaps, SOAP and other API responses) into JSON, keeping attributes as @_name keys. Use it to read XML an agent fetched.

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

Uptime100% of 3 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://fastx402.tools/xml-to-json?xml=%3Crss+version%3D%222.0%22%3E%3Cchannel%3E%3Ctitle%3EFastX402%3C%2Ftitle%3E%3Citem%3E%3Ctitle%3ENew+tool%3C%2Ftitle%3E%3Clink%3Ehttps%3A%2F%2Ffastx402.tools%2Fqr-code%3C%2Flink%3E%3C%2Fitem%3E%3C%2Fchannel%3E%3C%2Frss%3E");
console.log(await res.json());

Example input

{
  "xml": "<rss version=\"2.0\"><channel><title>FastX402</title><item><title>New tool</title><link>https://fastx402.tools/qr-code</link></item></channel></rss>"
}

More from FastX402 LabProvider status