{"slug":"resolve402-dev-api-doc-to-markdown-4b3e46","title":"Convert a document (PDF, DOCX, HTML, TXT) into clean Markdown for an LLM, with t","host":"resolve402.dev","method":"GET","resource":"https://resolve402.dev/api/doc-to-markdown","category":"other","description":"Convert a document (PDF, DOCX, HTML, TXT) into clean Markdown for an LLM, with tables extracted as rows. Give a public URL (?url=) or POST the file (multipart or raw binary body, max 10 MB). Returns markdown, tables, page count, char count and source type. Useful for hosted agents that cannot run pa","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":330,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"url":"https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"url":{"description":"Public http(s) URL of a PDF, DOCX, HTML or TXT document (max 10 MB, 10 s fetch). Alternative: POST the file as multipart/form-data (field 'file') or as a raw binary body.","type":"string"}},"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"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.005,"price_match":true,"latency_ms":330,"error":null}],"description_full":"Convert a document (PDF, DOCX, HTML, TXT) into clean Markdown for an LLM, with tables extracted as rows. Give a public URL (?url=) or POST the file (multipart or raw binary body, max 10 MB). Returns markdown, tables, page count, char count and source type. Useful for hosted agents that cannot run parsers locally. Nothing stored.","last_updated":"2026-10-10T16:45:30.913Z","schemes":["exact"]}