{"success":true,"data":{"id":"svc_doc_parse_01","slug":"doc-parse","name":"Document to Markdown (parse)","description":"Turn a document into clean, agent-ready Markdown with metadata: DOCX, ODT, EPUB, RTF, HTML, RST, LaTeX and more. Returns title, author, date, language, word count, heading outline, table and image counts and the Markdown (headings and tables preserved). For PDF use pdf-extract; PPTX and XLSX are not supported. Params: file_base64 or url or content (one required), from (optional), max_chars (1000 to 200000, default 50000).","category":"text","endpoint":"https://agentsvc.io/api/v1/proxy/doc-parse","price_usdc":0.006,"latency_p99_ms":6000,"input_schema":{"type":"object","properties":{"file_base64":{"type":"string","description":"Document as base64 (max 10 MB)"},"url":{"type":"string"},"content":{"type":"string"},"from":{"type":"string"},"max_chars":{"type":"integer","minimum":1000,"maximum":200000,"default":50000}}},"output_schema":{"type":"object","properties":{"format":{"type":"string"},"source":{"type":"string"},"title":{"type":"string"},"author":{},"date":{},"language":{"type":"string"},"word_count":{"type":"integer"},"characters":{"type":"integer"},"heading_count":{"type":"integer"},"table_count":{"type":"integer"},"image_count":{"type":"integer"},"outline":{"type":"array","items":{"type":"object","properties":{"level":{"type":"integer"},"text":{"type":"string"}}}},"markdown":{"type":"string"},"truncated":{"type":"boolean"}},"required":["format","word_count","outline","markdown"],"example":{"format":"html","source":"https://agentsvc.io/docs","title":"Docs: how agents pay per call with x402 · agentsvc.io","author":null,"date":null,"language":"en","word_count":8068,"characters":2000,"heading_count":8,"table_count":0,"image_count":0,"outline":[{"level":1,"text":"Pay per call. Nothing else to set up."},{"level":2,"text":"Free trial, no wallet"},{"level":1,"text":"GET works too and uses the example input:"}],"markdown":"<div hidden=\"\">\n\n</div>\n\n<div style=\"border-bottom:1px solid var(--border);background-color:rgba(10, 14, 26, 0.92);backdrop-filter:blur(12px);position:sticky;top:0;z-index:50\">\n\n<div class=\"container\" style=\"display:flex;align-items:center;justify-content:space-between;min-height:60px;gap:1rem\">\n…","truncated":true}},"is_active":true,"provider":"agentsvc.io","tags":["parse","docx","markdown","extract","document"],"method":"POST","example_input":{"url":"https://agentsvc.io/docs","max_chars":5000},"price_atomic":"6000","price_display":"$0.006 USDC","try_url":"https://agentsvc.io/api/v1/try/doc-parse","try_limit_per_day":1,"info_url":"https://agentsvc.io/api/v1/services/doc-parse","page_url":"https://agentsvc.io/services/doc-parse","curl_example":"curl -X POST https://agentsvc.io/api/v1/proxy/doc-parse -H \"Content-Type: application/json\" -d '{\"url\":\"https://agentsvc.io/docs\",\"max_chars\":5000}'","status":{"ok":true,"latency_ms":502,"checked_at":"2026-10-06T16:26:26.307Z"}},"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"}}