{"slug":"agent-data-tools-revmesh2074-workers-dev-xml-to-json-5bfd9a","title":"XML to JSON converter","host":"agent-data-tools.revmesh2074.workers.dev","method":"GET","resource":"https://agent-data-tools.revmesh2074.workers.dev/xml/to-json","category":"other","description":"XML to JSON converter. Convert an XML document to JSON: attributes become \"@name\" keys, text becomes \"#text\" (or the value itself when an element only holds text), and repeated child elements become arrays. DOCTYPEs and external entities are refused, so nothing outside the document is ever loaded. U","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":42,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"xml":"<order id=\"7\"><item sku=\"a1\">Pen</item><item sku=\"b2\">Ink</item></order>"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"xml":{"description":"The XML document","examples":["<order id=\"7\"><item sku=\"a1\">Pen</item><item sku=\"b2\">Ink</item></order>"],"type":"string"}},"required":["xml"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"json":{"properties":{"order":{"properties":{"@id":{"type":"string"},"item":{"items":{"properties":{"#text":{"type":"string"},"@sku":{"type":"string"}},"type":"object"},"type":"array"}},"type":"object"}},"type":"object"},"root":{"type":"string"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":42,"error":null}],"description_full":"XML to JSON converter. Convert an XML document to JSON: attributes become \"@name\" keys, text becomes \"#text\" (or the value itself when an element only holds text), and repeated child elements become arrays. DOCTYPEs and external entities are refused, so nothing outside the document is ever loaded. Up to 100,000 characters. Use to read XML feeds, SOAP responses and config files in an agent.","last_updated":"2026-10-23T19:45:03.451Z","schemes":["exact"]}