x402-gateway Document to Markdown (Auto-Detect) is a paid API for AI agents from x402.freeq.one, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-10).
Converts any document (PDF, DOCX, PPTX, XLSX, CSV, EPUB, HTML, or plain text) to clean Markdown with automatic format detection, via a URL or base64 bytes, paid per-call in USDC on Base via x402.
Document to Markdown (auto-detect): Convert any document to Markdown with automatic format detection. One endpoint for pdf, docx, pptx, xlsx, csv, epub, html and plain text — provide a URL or base64 bytes and the type is detected from the file contents. Spreadsheets return both a Markdown table and a JSON array of rows. Pay per call in USDC on Base via x402 — POST https://x402.freeq.one/tools/document_to_markdown.
Returns a JSON object with a 'result' field containing the converted Markdown text. For spreadsheet formats (XLSX, CSV), also includes a Markdown table representation and a JSON array of rows. Output may be truncated if max_length is specified.
POSThttps://x402.freeq.one/tools/document_to_markdown?utm_source=zero.xyzChoose this endpoint when you need to convert any of a wide variety of document formats (PDF, DOCX, PPTX, XLSX, CSV, EPUB, HTML, plain text) to Markdown in a single unified call without knowing the format in advance. Prefer it over format-specific sibling endpoints (like the dedicated PDF-to-Markdown or XLSX-to-Markdown tools) when the document type is unknown or mixed, or when you want a single integration point. Ideal for LLM data preparation pipelines where documents arrive in heterogeneous formats.
| Field | Type | Description |
|---|---|---|
| url | string | Direct URL to any supported document (pdf, docx, pptx, xlsx, csv, epub, html, text) |
| file_b64 | string | Base64-encoded document bytes (alternative to url) |
| max_length | integer | Truncate output to N characters |
{
"type": "json",
"example": {
"result": {}
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"