{"uid":"cap_etf1lhEvmBr3m-n9wsD-A","slug":"strale-xml-to-json-converter-f6f85262","name":"Strale XML to JSON Converter","description":"The trust layer for AI agents — 250+ independently tested data capabilities across 27 countries. Execute capabilities via REST, MCP, A2A, or x402 micropayments. Every call returns an audit record with cryptographic chain hashing.","url":"https://api.strale.io/x402/v2/xml-to-json","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["xml_string"],"properties":{"xml_string":{"type":"string"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0324","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.0324/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0324","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0324","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_H4Mj18i6nzCtx1UBRasF4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0324","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts an XML string into a structured JSON representation via a GET request with cryptographic audit trail","exampleAgentPrompt":"Convert this XML string to JSON for me: '<catalog><book id=\"1\"><title>The Great Gatsby</title><author>Fitzgerald</author></book></catalog>'","exampleUseCases":[{"title":"Parse legacy XML API response","prompt":"I'm getting XML back from an old SOAP service and need it as JSON — can you convert this XML string for me: '<order><id>ORG-9921</id><status>shipped</status><items><item>Widget A</item></items></order>'"},{"title":"Normalize config file format","prompt":"I have an XML config file I need to process as JSON. Here's the XML: '<config><database host=\"localhost\" port=\"5432\"/><cache ttl=\"300\"/></config>' — can you transform that into JSON?"},{"title":"Process RSS feed as structured data","prompt":"Can you convert this RSS XML snippet into JSON so I can work with it programmatically? Here it is: '<rss><channel><title>Tech News</title><item><title>AI Advances</title><link>https://example.com/1</link></item></channel></rss>'"}],"resultDescription":"A JSON object representing the parsed XML structure, along with an audit record containing a cryptographic chain hash for traceability and trust verification. The JSON mirrors the hierarchy and attributes of the source XML.","failureModes":["Malformed or invalid XML input returns a parsing error","Empty xml_string parameter results in a bad request response","Deeply nested or extremely large XML may time out or hit size limits","XML with namespaces or CDATA sections may not convert perfectly","Missing required xml_string query parameter returns a validation error"],"whenToPreferThis":"Choose this endpoint when you need a reliable, auditable XML-to-JSON conversion with a cryptographic audit trail — particularly useful in compliance-sensitive or agent-to-agent workflows where data provenance matters. Prefer it over generic libraries when you need a consistent REST-accessible transformation without deploying your own parser, or when operating in a trust-sensitive pipeline where every data operation must be logged and verifiable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:08:58.028Z","isFirstParty":false}