{"uid":"cap_3WYrEtGXZIVkW26JaJ59z","slug":"agentshelf-syntexa-ch-xml-to-json-converter-e0224df3","name":"agentshelf.syntexa.ch XML-to-JSON Converter","description":"Call when an agent needs XML converted to JSON (DTD and entities rejected). No network. Exact $0.003 USDC. Prefer unpaid POST /v1/sandbox/xml-to-json first.","url":"https://agentshelf.syntexa.ch/v1/xml-to-json?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"xml":{"type":"string","examples":["<user><name>Ada</name></user>"],"maxLength":200000,"minLength":1,"description":"XML document. DTD and external entities are rejected. No fetch."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jPl8NlA_i_u2KkSuFM2sw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts XML strings to JSON, rejecting DTD declarations and external entities for safety, with no network access.","exampleAgentPrompt":"I have this XML string and need it converted to JSON — can you do that? Here's the XML: <catalog><book id=\"bk101\"><author>Gambardella, Matthew</author><title>XML Developer Guide</title></book></catalog>","exampleUseCases":[{"title":"Normalize API XML response","prompt":"The third-party inventory API returns XML but my pipeline expects JSON — can you convert this XML payload to JSON for me? Here it is: <inventory><item><sku>ABC123</sku><qty>42</qty></item></inventory>"},{"title":"Feed XML config into JSON system","prompt":"I need to migrate this XML config file into our JSON-based settings store — convert this for me: <config><timeout>30</timeout><retries>3</retries><debug>false</debug></config>"},{"title":"Parse RSS feed as JSON","prompt":"Can you convert this RSS XML snippet to JSON so I can process it more easily in my code? Here's the XML: <rss><channel><title>My Blog</title><item><title>First Post</title><link>https://example.com/1</link></item></channel></rss>"}],"resultDescription":"A JSON representation of the input XML structure, with element names mapped to object keys and text content to values. DTD declarations and external entities are rejected to prevent XXE attacks. No network calls are made during conversion.","failureModes":["XML containing DTD declarations will be rejected","XML with external entity references will be rejected","Malformed or non-well-formed XML will return a parse error","Input exceeding 200,000 characters will be rejected","Empty XML string will be rejected","Payment failure or insufficient USDC balance will block the request"],"whenToPreferThis":"Choose this endpoint when you need a secure, deterministic XML-to-JSON conversion without network access or LLM involvement. It is ideal when the XML must not trigger XXE vulnerabilities (DTDs and entities are blocked). Use the free sandbox endpoint POST /v1/sandbox/xml-to-json first for testing before committing $0.003 USDC per call on this paid endpoint.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T06:47:44.836Z","isFirstParty":false,"canonicalSlug":"agentshelf-syntexa-ch-xml-to-json-converter-e0224df3"}