{"success":true,"data":{"id":"svc_doc_convert_01","slug":"doc-convert","name":"Document Conversion (pandoc)","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 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.","category":"text","endpoint":"https://agentsvc.io/api/v1/proxy/doc-convert","price_usdc":0.006,"latency_p99_ms":8000,"input_schema":{"type":"object","required":["to"],"properties":{"to":{"type":"string","enum":["markdown","html","docx","odt","epub","rst","latex","plain","rtf","pdf"]},"content":{"type":"string","description":"Document text (markdown, html, rst, latex, org, csv ...)"},"file_base64":{"type":"string","description":"Binary document (docx, odt, epub, rtf), base64"},"url":{"type":"string","description":"URL of the document (max 10 MB)"},"from":{"type":"string","description":"Input format, e.g. markdown, html, docx, rst, latex; detected if omitted"},"title":{"type":"string"}}},"output_schema":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"},"mime_type":{"type":"string"},"size_bytes":{"type":"integer"},"content":{"type":"string"},"source":{"type":"string"}},"required":["from","to","mime_type"],"example":{"from":"markdown","to":"html","mime_type":"text/html","size_bytes":3872,"content":"<!DOCTYPE html>\n<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"\" xml:lang=\"\">\n<head>\n  <meta charset=\"utf-8\" />\n  <meta name=\"generator\" content=\"pandoc\" />\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, user-scalable=yes\" />\n  <title>document</title>\n  <style>\n    html…","source":"content"}},"is_active":true,"provider":"agentsvc.io","tags":["convert","pandoc","docx","markdown","pdf"],"method":"POST","example_input":{"content":"# Quarterly Report\n\n| Quarter | Revenue |\n|---|---|\n| Q1 | 12 |","to":"docx"},"price_atomic":"6000","price_display":"$0.006 USDC","try_url":"https://agentsvc.io/api/v1/try/doc-convert","try_limit_per_day":1,"info_url":"https://agentsvc.io/api/v1/services/doc-convert","page_url":"https://agentsvc.io/services/doc-convert","curl_example":"curl -X POST https://agentsvc.io/api/v1/proxy/doc-convert -H \"Content-Type: application/json\" -d '{\"content\":\"# Quarterly Report\\n\\n| Quarter | Revenue |\\n|---|---|\\n| Q1 | 12 |\",\"to\":\"docx\"}'","status":{"ok":true,"latency_ms":81,"checked_at":"2026-10-06T16:26:25.805Z"}},"payment":{"protocol":"x402","x402_versions_accepted":[1,2],"scheme":"exact","network":"eip155:8453","network_v1":"base","chain_id":8453,"asset":"USDC","asset_contract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","asset_decimals":6,"eip712_domain":{"name":"USD Coin","version":"2","chainId":8453,"verifyingContract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"pay_to":"0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27","facilitator":"https://api.cdp.coinbase.com/platform/v2/x402","request_header_v2":"PAYMENT-SIGNATURE","request_header_v1":"X-PAYMENT","requirements_v2":"base64 JSON in the PAYMENT-REQUIRED response header of the 402","requirements_v1":"JSON body of the 402 (accepts[0])","receipt_header":"PAYMENT-RESPONSE (and X-PAYMENT-RESPONSE): base64 JSON with transaction hash","accounts_required":false,"api_keys_required":false,"settlement":"per call, on-chain, after the service succeeded. Failed calls are never charged."},"links":{"catalog":"https://agentsvc.io/api/v1/services","openapi":"https://agentsvc.io/openapi.json","llms_txt":"https://agentsvc.io/llms.txt","llms_full_txt":"https://agentsvc.io/llms-full.txt","agents_md":"https://agentsvc.io/AGENTS.md","skill_md":"https://agentsvc.io/SKILL.md","status":"https://agentsvc.io/api/v1/status","docs":"https://agentsvc.io/docs","mcp_server":"https://agentsvc.io/mcp-server.mjs","discovery":"https://agentsvc.io/.well-known/x402","agent_card":"https://agentsvc.io/.well-known/agent-card.json"}}