$ man office-to-pdf
/office-to-pdf
PRICE / CALL
$0.05
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
mediakitCATEGORY
media
STATUS
● live
NAME
office-to-pdf — office to pdf converter — docx/doc, xlsx/xls, pptx/ppt, odt/ods/odp, rtf, txt, csv, epub, md, html, apple pages/numbers/keynote to pdf
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
Office to PDF converter — DOCX/DOC, XLSX/XLS, PPTX/PPT, ODT/ODS/ODP, RTF, TXT, CSV, EPUB, MD, HTML, Apple Pages/Numbers/Keynote to PDF. CloudConvert engine.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| file_url | string | — | required |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| pdf_url | string | Temporary download URL for the converted PDF file hosted on CloudConvert's storage. |
| file_size_bytes | number | Size of the generated PDF in bytes. |
| source_format | string | Detected input format of the source file (e.g. docx, xlsx, pptx, odt, rtf, epub). |
| source_url | string | Echoed URL of the original Office document that was submitted for conversion. |
| job_id | string | CloudConvert job identifier for tracking or debugging the conversion run. |
EXAMPLES — two 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
ADJACENT — other endpoints in mediakit
| endpoint | description | price |
|---|---|---|
| xml-to-word | XML to Microsoft Word (DOCX) converter via CloudConvert. | $0.05 |
| pdf-split | PDF splitter / PDF page extractor. | $0.04 |
| split-pdf | Splits a PDF by page ranges into multiple PDFs. | $0.04 |
| logo-detect | Brand logo detection / brand recognition in images. | $0.03 |
| video-thumbnail | Video thumbnail / video frame extractor. | $0.03 |
| html-to-pdf | Converts a URL to PDF with CloudConvert capture-website; renders JS. | $0.08 |
| subtitles | SRT / VTT subtitle generator from video or audio. | $0.08 |
| add-watermark | Add watermark to PDF, image, or video. | $0.02 |
SEE ALSO