Document to Markdown: Korean HWP/HWPX to Markdown, plus web pages, PDF and DOCX
convert_to_markdownUse when an agent must read a document as clean Markdown: web page, PDF, DOCX or Korean HWP/HWPX, tables kept. Input: url (http/https) via GET, or POST a file (multipart 'file', raw body, or JSON contentBase64+filename). Free-plan size cap → 413 before payment: HWP 48 KB, HWPX 100 KB XML. Output: JSON markdown, title, pages, sourceType, warnings. Price by detected type: HTML $0.0027, PDF/DOCX $0.0045, HWP/HWPX $0.009. Example: ?url=https://example.com/ Price: $0.0027–$0.009 USDC (Base or Solana) via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public http(s) URL of a web page, PDF, DOCX, HWP or HWPX (max 10 MB) | |
| type | No | Optional expected type: html, text, pdf, docx, hwp, hwpx | |
| filename | No | Original file name, e.g. report.hwp (helps detection) | |
| contentBase64 | No | Document bytes as base64 (alternative to url; max 10 MB decoded) |