{"uid":"cap_cCkMpjtEblyOYb012-QQF","slug":"well-010-docx-to-text-b8075584","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.mmelnyk2000.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_tr_0vjWdYC25Ly58ui9cU","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 tables from a Word .docx file provided as a public HTTPS URL or base64-encoded bytes","exampleAgentPrompt":"Can you extract all the text and tables from this Word document? Here's the link: https://example.com/reports/quarterly-report.docx","exampleUseCases":[{"title":"Contract text extraction for review","prompt":"I need you to pull all the text out of this contract document so I can review the clauses — here's the URL: https://legal.example.com/contracts/vendor-agreement-2024.docx"},{"title":"Report table data retrieval","prompt":"Can you grab all the tables from this Word report at https://data.example.com/annual-report.docx so I can analyze the numbers inside?"},{"title":"Document ingestion for search index","prompt":"I have a Word document at https://files.mycompany.com/policies/employee-handbook.docx — extract the full text so I can index it for search."}],"resultDescription":"Returns a JSON object containing: the filename (file), the original and final resolved URL, the document type ('docx'), the full extracted plain text with [table N] placeholders where tables appeared, an array of tables each with their rows, and any warnings about the document. Nothing is stored server-side.","failureModes":["Non-HTTPS URLs (http, file, data, localhost, private IPs) are rejected with an error","Files larger than 10 MB are rejected","Old binary .doc format is not supported — only .docx","Request times out if processing exceeds ~15 seconds","More than 5 redirects causes failure","Malformed or password-protected .docx files may fail to parse","Network errors fetching the remote URL result in failure"],"whenToPreferThis":"Use this endpoint when you need to extract plain text and tabular data from a Word .docx file hosted at a public HTTPS URL, or when you have the file as base64. It is ideal for document ingestion pipelines, contract review, report parsing, or any workflow where you need programmatic access to Word document content. It is not suitable for old binary .doc files, PDF documents, or files behind authentication or on private networks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:32:32.563Z","isFirstParty":false,"canonicalSlug":"well-010-docx-to-text-b8075584"}