DOCX to PDF

Converts a Word document to PDF. Macros and embedded scripts are never executed.

POST /v1/convert/docx-to-pdf $0.05 per call

Limitations. Complex layouts may reflow. Macro-enabled content is stripped, never run.

Specification

Endpoint
POST /v1/convert/docx-to-pdf
Price
$0.05 per call · tier heavy_processing
Payment
x402 on X Layer (chain 196) · settled in USDG or USDT0 · scheme exact
Data source
Local sandboxed processing of the uploaded file
Timeout
120 seconds
Max request
20 MB
Version
1.0.0

Calling it

The first call returns a 402 with the payment challenge. Retry with a signed authorisation in the X-PAYMENT header — see the payment guide for the exact shape.

curl -i -X POST "https://api.dana-edu.pp.ua/v1/convert/docx-to-pdf" \
  -H "content-type: application/json" \
  -d '{ ... }'

Response

No fixed example. This service reads an uploaded file, so its response depends entirely on what you send. Try it against your own document.

Every response is wrapped in the same envelope: data plus warnings, sources, confidence, informational_only and a measured processing_ms. See the envelope reference.

Related endpoints