{"uid":"cap_-H_JGrRYMX1Zlh_GY1M_5","slug":"agentrxi-document-to-markdown-converter-8d719422","name":"AgentRXI Document to Markdown Converter","description":"Document to text: convert PDF, Word (docx), Excel (xlsx/xls), ODS/ODT, CSV, HTML, XML or images to clean Markdown. Send a public file URL or base64 file plus filename (max 25 MB). Also callable as GET with the same fields as query parameters.","url":"https://agentrxi.com/v1/document?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"url":{"type":"string","description":"Public URL of the document"},"filename":{"type":"string","description":"Required with file_base64, e.g. report.pdf"},"file_base64":{"type":"string","description":"Alternative to url"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dhOhQPfOPKbh8Vj-SxbhK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts PDF, Word, Excel, ODS/ODT, CSV, HTML, XML, or image files to clean Markdown text via URL or base64 upload","exampleAgentPrompt":"Can you convert this PDF report into clean markdown text for me? Here's the public URL: https://example.com/report.pdf","exampleUseCases":[{"title":"Extract contract text for analysis","prompt":"I have a Word document contract at https://contracts.example.com/agreement.docx — can you pull out all the text and give it to me as markdown so I can review the clauses?"},{"title":"Parse spreadsheet data into readable format","prompt":"Convert this Excel file to markdown for me — here's the URL: https://data.example.com/financials.xlsx — I need to read the table contents."},{"title":"OCR text from a scanned image","prompt":"I have a scanned invoice image at https://invoices.example.com/inv-2024.png — can you extract all the text from it and return it as markdown?"}],"resultDescription":"Clean Markdown representation of the document's text content, preserving structure such as headings, tables, lists, and paragraphs as extracted from the source file","failureModes":["File exceeds 25 MB limit — returns error","Unsupported file format — returns error indicating unrecognized type","Invalid or inaccessible URL — returns fetch/network error","Malformed base64 data — returns parsing error","Missing filename when using file_base64 — returns validation error","Payment required (x402) — returns 402 if USDC payment not provided"],"whenToPreferThis":"Use this endpoint when you need to extract readable text or structured content from binary document formats (PDF, DOCX, XLSX, images, etc.) and want the output as clean Markdown. Especially useful when processing documents from public URLs or when you have base64-encoded files. Prefer this over raw OCR services when you need format-aware extraction (tables, headings) across many file types in a single endpoint.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:14.929Z","isFirstParty":false,"canonicalSlug":"agentrxi-document-to-markdown-converter-8d719422"}