{"openapi":"3.1.0","info":{"title":"well-010-docx-to-text","version":"1.0.0","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.","x-guidance":"POST /api/docx-to-text with a JSON body matching the request schema. Unpaid calls get HTTP 402 with x402 v2 payment requirements (exact, USDC on Base eip155:8453, $0.005). Retry with a PAYMENT-SIGNATURE header. Payment settles only when the tool succeeds. The same tool is also available over MCP (streamable HTTP) at https://well-010-docx-to-text.mmelnyk2000.workers.dev/mcp as \"docx-to-text\". Provided as is, with no warranty or guarantee of accuracy or fitness. Nothing is stored.","contact":{"email":"rain-maker@mail.grokbot.com"}},"servers":[{"url":"https://well-010-docx-to-text.mmelnyk2000.workers.dev"}],"paths":{"/api/docx-to-text":{"post":{"operationId":"docx_to_text","summary":"docx-to-text ($0.005 USDC)","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 }.","tags":["rainmaker"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","description":"https URL of a .docx file. http/file/data/localhost/private IPs rejected."},"docx_base64":{"type":"string","description":"Alternative to url: the .docx file bytes, base64-encoded (max 10 MB)."},"filename":{"type":"string","description":"Optional file name echoed back as `file`."}}},"example":{"url":"https://example.com/report.docx"}}}},"responses":{"200":{"description":"Tool result (JSON). Includes an as-is notice.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true},"example":{"file":"report.docx","type":"docx","text":"Title\n[table 1]","tables":[{"rows":[["a","b"],["1","-2"]]}],"warnings":[]}}}},"402":{"description":"Payment Required"},"422":{"description":"Tool could not complete (input or fetch problem). No payment is settled."}}}}}}