{"slug":"x402-freeq-one-tools-document-to-markdown-d852f5","title":"Document to Markdown (auto-detect)","host":"x402.freeq.one","method":"POST","resource":"https://x402.freeq.one/tools/document_to_markdown","category":"other","description":"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 ","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":909,"reported_calls_30d":5,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"file_b64":"file_b64","max_length":100000,"url":"https://x402.freeq.one/samples/report.pdf"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"description":"JSON request body. See GET /tools for the parameter catalog.","properties":{"file_b64":{"description":"Base64-encoded document bytes (alternative to url)","maxLength":28000000,"type":"string"},"max_length":{"description":"Truncate output to N characters","example":100000,"type":"integer"},"url":{"description":"Direct URL to any supported document (pdf, docx, pptx, xlsx, csv, epub, html, text)","example":"https://x402.freeq.one/samples/report.pdf","type":"string"}},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"description":{"type":"string"},"headers":{"additionalProperties":{"type":"string"},"type":"object"},"mcpServerUrl":{"type":"string"},"method":{"enum":["POST"],"type":"string"},"queryParams":{"additionalProperties":{"type":"string"},"type":"object"},"toolName":{"type":"string"},"transport":{"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"result":{"description":"Tool output (JSON)"}},"type":"object"},"type":{"const":"json","type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":909,"error":null}],"description_full":"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.","last_updated":"2026-09-21T20:30:39.842Z","schemes":["exact"]}