the402 endpoint detail

← All endpoints

fittings.sh fmt xml-to-json

https://fittings.sh/v1/fmt/xml-to-json

answers 402

Convert an XML document to an ordered JSON tree with resolved namespaces, attributes, CDATA and mixed content preserved.

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.0045
Network
base
Pay to
0xe025442C0d6dC17aD2b9eB888B3565bdFCd98638
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
168 ms
Payment options
1 usable of 1
Last checked
2026-09-06T01:21:45.933Z (23d ago)
Category
data

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Ffittings.sh%2Fv1%2Ffmt%2Fxml-to-json"