{"uid":"cap_CEpu6J4sSqmSgnRsFRMyX","slug":"well-010-docx-to-text-e96a114d","name":"well-010-docx-to-text","description":"Extract text and tables from a Word .docx file ($0.005 USDC via x402). Input: a public https url to a .docx, or docx_base64. https only — http, file, data, localhost, and private IPs are rejected. Caps: 10 MB file, ~15s timeout, max 5 redirects. Tables appear as [table N] placeholders in text. Unicode dashes/minus signs normalized to '-'. Old binary .doc files are not supported. Returns JSON { file, url, final_url, type: 'docx', text, tables: [{ rows }], warnings }. Provided as is, with no warranty or guarantee of accuracy or fitness. Nothing is stored.","url":"https://well-010-docx-to-text.rainmaker-wells.workers.dev/api/docx-to-text?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"https URL of a .docx file. http/file/data/localhost/private IPs rejected."},"filename":{"type":"string","description":"Optional file name echoed back as `file`."},"docx_base64":{"type":"string","description":"Alternative to url: the .docx file bytes, base64-encoded (max 10 MB)."}}},"responseSchema":{"type":"object","additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1FA11GUlGr61-8WTXB1-A","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts plain text and structured tables from a Word .docx file provided via HTTPS URL or base64-encoded content","exampleAgentPrompt":"Can you extract all the text and tables from this Word document at https://example.com/report.docx and give me the content as plain text?","exampleUseCases":[{"title":"Extract contract text for review","prompt":"I have a contract stored at https://legal.example.com/contracts/vendor-agreement.docx — can you pull out all the text so I can review the clauses?"},{"title":"Parse structured tables from report","prompt":"There's a financial report at https://files.mycompany.com/Q3-report.docx that has some data tables in it. Can you extract the tables and the surrounding text from that Word file?"},{"title":"Process uploaded resume document","prompt":"I've encoded a candidate's resume as base64 — here it is. Can you extract the text from this .docx file so I can parse their work history?"}],"resultDescription":"Returns a JSON object containing: the filename ('file'), the original URL, the final resolved URL after redirects, type field set to 'docx', the full extracted plain text with [table N] placeholders where tables appeared, an array of tables each containing their rows as structured data, and any warnings encountered during processing (e.g. unsupported features).","failureModes":["HTTP or non-HTTPS URLs are rejected with an error","Private IPs and localhost URLs are blocked for security","Files larger than 10 MB are rejected","Processing timeout after ~15 seconds for very large or complex documents","Old binary .doc format files are not supported — only .docx","More than 5 redirects causes failure","Malformed or corrupt .docx files may fail to parse","Inaccessible or password-protected documents return an error"],"whenToPreferThis":"Use this endpoint when you need to extract raw text and table data from Word .docx files hosted at a public HTTPS URL or available as base64. It is ideal for document ingestion pipelines, contract review, report parsing, and any workflow where Word document content needs to be converted to machine-readable text. It does not store any data, making it suitable for sensitive documents. Prefer this over PDF extractors when your source files are .docx format; note it does not support legacy .doc binary format.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:38:13.045Z","isFirstParty":false,"canonicalSlug":"well-010-docx-to-text-e96a114d"}