{"slug":"agentsvc-io-api-v1-proxy-doc-parse-d807bb","title":"Document parser","host":"agentsvc.io","method":"POST","resource":"https://agentsvc.io/api/v1/proxy/doc-parse","category":"image","description":"Document parser: 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","price_listed":0.009,"price_asked":0.009,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":891,"reported_calls_30d":11,"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":{"max_chars":5000,"url":"https://agentsvc.io/docs"},"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":{"type":"string"},"file_base64":{"description":"Document as base64 (max 10 MB)","type":"string"},"from":{"type":"string"},"max_chars":{"default":50000,"maximum":200000,"minimum":1000,"type":"integer"},"url":{"type":"string"}},"required":[]},"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":{"author":{},"characters":{"type":"integer"},"date":{},"format":{"type":"string"},"heading_count":{"type":"integer"},"image_count":{"type":"integer"},"language":{"type":"string"},"markdown":{"type":"string"},"outline":{"items":{"properties":{"level":{"type":"integer"},"text":{"type":"string"}},"type":"object"},"type":"array"},"source":{"type":"string"},"table_count":{"type":"integer"},"title":{"type":"string"},"truncated":{"type":"boolean"},"word_count":{"type":"integer"}},"required":["format","word_count","outline","markdown"],"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.009,"price_match":true,"latency_ms":891,"error":null}],"description_full":"Document parser: 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).","last_updated":"2026-10-10T09:09:25.147Z","schemes":["exact"]}