Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint · rollforge · bestiary · statline · matchpoint · retail · agentops · browserworkflow · modelrouter · compose
$ man xml-to-word

/xml-to-word

agentutility / mediakit / xml-to-word
PRICE / CALL
$0.05
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
mediakit
CATEGORY
uncategorized
STATUS
live
NAME
xml-to-word converts an xml document into a microsoft word (.docx) file for delivery to systems that need word format, not raw xml
SYNOPSIS
POST https://x402.agentutility.ai/xml-to-word
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

Converts an XML document into a Microsoft Word (.docx) file for delivery to systems that need Word format, not raw XML. Send xml_url, a public HTTPS link, or inline xml text plus an optional title; the endpoint renders the XML into structured HTML that preserves element nesting as headings and lists, converts that HTML to DOCX, and returns a downloadable docx_url along with file size and character counts. Useful for legal and finance pipelines that emit XML reports but need Word deliverables, regulator-format compliance workflows, and agent-led document generation. Use it as an XML to Word converter, XML to DOCX API, or XML document formatter for downstream Word delivery.

INPUTrequest schema
propertytypedescriptionreq?
xml_urlstringPublic HTTPS URL to the source XML. Provide this or 'xml'.optional
xmlstringInline XML string to convert directly. Provide this or 'xml_url'. Max 5MB after fetch.optional
OUTPUTresponse shape
fieldtypedescription
docx_urlstringSigned URL to download the converted Microsoft Word (DOCX) file.
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/xml-to-word \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster
npx -y @agentutility/mcp-<cluster>

# Required: EVM private key with USDC on Base
export X402_PRIVATE_KEY=0x...

# Then call the xml-to-word tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
mediakitfile-conversiondocument-conversionxmldocxwordxml-to-docxxml-to-word
methods
POST
cluster
mediakit
price
$0.05 USDC per call
ADJACENTother endpoints in mediakit
endpointdescriptionprice
office-to-pdfConverts office documents and other file formats into PDF from a URL, no upload step required.$0.05
pdf-splitSplit a PDF into multiple files by page range or one file per page.$0.04
split-pdfSplit a PDF into multiple files by page range or one PDF per page.$0.04
logo-detectBrand logo detection / brand recognition in images.$0.03
video-thumbnailPull a single still frame out of a video without transcoding the whole file.$0.03
html-to-pdfRender a live webpage as a PDF document.$0.08
subtitlesGenerate ready-to-use subtitle files from a video or audio URL.$0.08
add-watermarkStamp a text or image watermark onto a PDF, image, or video file.$0.02
SEE ALSO
agentutility · mediakit · x402 · mcp · llms.txt · registry.json · bazaar.x402.org