PDF to DOCX

Converts a PDF into an editable Word document, preserving paragraph, table and image structure where the PDF exposes it.

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

Specification

Endpoint
POST /v1/convert/pdf-to-docx
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/pdf-to-docx" \
  -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