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

/office-to-pdf

agentutility / mediakit / office-to-pdf
PRICE / CALL
$0.05
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
mediakit
CATEGORY
media
STATUS
live
NAME
office-to-pdf converts office documents and other file formats into pdf from a url, no upload step required
SYNOPSIS
POST https://x402.agentutility.ai/office-to-pdf
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

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

Converts office documents and other file formats into PDF from a URL, no upload step required. Accepts DOCX, DOC, XLSX, XLS, PPTX, PPT, ODT, ODS, ODP, RTF, TXT, CSV, TSV, EPUB, Markdown, HTML, and Apple Pages, Numbers, and Keynote files, auto-detecting the source format from the file extension. Send file_url and get back pdf_url plus source_format, run through the CloudConvert engine. Use it as an office to PDF converter, document conversion API, DOCX-to-PDF tool, or spreadsheet and slide-deck to PDF service.

INPUTrequest schema
propertytypedescriptionreq?
file_urlstringSource file URL. Extension must be one of docx, doc, xlsx, xls, pptx, ppt, odt, ods, odp, rtf, txt, csv, tsv, epub, md, html, htm, pages, numbers, key.required
OUTPUTresponse shape
fieldtypedescription
pdf_urlstringTemporary download URL for the converted PDF file hosted on CloudConvert's storage.
file_size_bytesnumberSize of the generated PDF in bytes.
source_formatstringDetected input format of the source file (e.g. docx, xlsx, pptx, odt, rtf, epub).
source_urlstringEchoed URL of the original Office document that was submitted for conversion.
job_idstringCloudConvert job identifier for tracking or debugging the conversion run.
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/office-to-pdf \
  -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 office-to-pdf tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
docxxlsxpptxpdfofficeconvert
env
CLOUD_CONVERT_API_KEY
methods
POST
cluster
mediakit
price
$0.05 USDC per call
ADJACENTother endpoints in mediakit
endpointdescriptionprice
xml-to-wordConverts an XML document into a Microsoft Word (.docx) file for delivery to systems that need Word format, not raw XML.$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