{"slug":"agentsvc-io-api-v1-proxy-doc-convert-61e821","title":"Convert documents between formats with pandoc","host":"agentsvc.io","method":"POST","resource":"https://agentsvc.io/api/v1/proxy/doc-convert","category":"image","description":"Convert documents between formats with pandoc: Markdown, HTML, DOCX, ODT, EPUB, RST, LaTeX, RTF, plain text and PDF. Input as text (content), file (file_base64, max 10 MB: docx, odt, epub, rtf) or url. Input format is detected automatically or set with from. Text outputs come back as content, binary","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":886,"reported_calls_30d":10,"reported_payers_30d":3,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"content":"# Quarterly Report\n\n| Quarter | Revenue |\n|---|---|\n| Q1 | 12 |","to":"docx"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"content":{"description":"Document text (markdown, html, rst, latex, org, csv ...)","type":"string"},"file_base64":{"description":"Binary document (docx, odt, epub, rtf), base64","type":"string"},"from":{"description":"Input format, e.g. markdown, html, docx, rst, latex; detected if omitted","type":"string"},"title":{"type":"string"},"to":{"enum":["markdown","html","docx","odt","epub","rst","latex","plain","rtf","pdf"],"type":"string"},"url":{"description":"URL of the document (max 10 MB)","type":"string"}},"required":["to"]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"data":{"properties":{"content":{"type":"string"},"from":{"type":"string"},"mime_type":{"type":"string"},"size_bytes":{"type":"integer"},"source":{"type":"string"},"to":{"type":"string"}},"required":["from","to","mime_type"],"type":"object"},"success":{"type":"boolean"}},"required":["success","data"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":886,"error":null}],"description_full":"Convert documents between formats with pandoc: Markdown, HTML, DOCX, ODT, EPUB, RST, LaTeX, RTF, plain text and PDF. Input as text (content), file (file_base64, max 10 MB: docx, odt, epub, rtf) or url. Input format is detected automatically or set with from. Text outputs come back as content, binary outputs (docx, odt, epub, pdf) as file_base64. Local file includes and remote images are not loaded. Params: to (required), content or file_base64 or url, from, title.","last_updated":"2026-10-10T09:09:21.758Z","schemes":["exact"]}