XML to JSON & YAML Converter API
Convert XML to JSON (attributes kept with @), JSON to XML, YAML to JSON and JSON to YAML. POST the document, get the converted result.
Authentication & base URL
Subscribe through one of our marketplace listings; your marketplace API key and base URL are shown there. All endpoints return JSON over HTTPS, served from a global edge network (typically 20–150 ms).
Endpoints
POST /v1/convert/xml-to-json
XML to JSON
Request body: application/xml
POST /v1/convert/json-to-xml
JSON to XML
Request body: application/json
POST /v1/convert/yaml-to-json
YAML to JSON
Request body: text/plain
POST /v1/convert/json-to-yaml
JSON to YAML
Request body: application/json
Example
POST /v1/convert/xml-to-json
<note id="1"><to>Ana</to></note>
{
"note": {
"to": "Ana",
"@id": "1"
}
}Convert XML to JSON (attributes kept with @), JSON to XML, YAML to JSON and JSON to YAML. POST the document, get the converted result.
Use cases
Legacy XML integrations, config file conversion, ETL, no-code automations.
Why this API
- Fast: runs on a global edge network, typical response well under 1 second.
- Reliable: simple JSON, clear error messages.
- Fair pricing: Free plan 500 requests/month, Pro 25,000 for $4.99, Ultra 150,000 for $14.99.
Pricing
Free plan with 500 calls per month, then Pro (25,000 calls for $4.99/month) and Ultra (150,000 calls for $14.99/month). See all plans.