← All endpoints
toolshed.lemon-agent.dev convert xml-json
https://toolshed.lemon-agent.dev/convert/xml-json
answers 402
XML to JSON. POST an XML document; the response is JSON in fast-xml-parser's convention — attributes prefixed @_, text content under #text, and repeated sibling elements collapsed into an array (so an element appearing once is an object and twice is an array). Values stay strings; no type guessing. A document carrying a <!DOCTYPE> is refused, because internal entities are an expansion attack.
We sent a real
POST request to this endpoint and it
answered 402 with payment requirements we could parse.
- Price
- $0.006
- Network
- base
- Pay to
- 0x0adc7adac7bbaffffbd73505711e42378c4f9f9e
- Spec dialect
- v2 (declares x402Version 2)
- Transport
- PAYMENT-REQUIRED header
- HTTP method
- POST
- Response latency
- 218 ms
- Payment options
- 2 usable of 2
- Last checked
- 2026-09-06T01:12:17.345Z (28d ago)
- Category
- other
Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Ftoolshed.lemon-agent.dev%2Fconvert%2Fxml-json"