# 402utils DOCX Text Extractor

> 402utils DOCX Text Extractor is a paid API for AI agents from 402utils.com, paid per call via x402, $0.005/call, status down (last checked 2026-10-12).

Extracts plain text and markdown-formatted content from a .docx Word document provided as bytes or a public URL, returning text, markdown, and file metadata.

## Facts

- Endpoint: POST https://402utils.com/v1/docx-extract?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: down
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/402utils-docx-text-extractor-783251ac
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MinsyoomR0zNconSXZnIV

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability 402utils-docx-text-extractor-783251ac -d '<json body>'
```

Example prompt: Can you pull all the text out of this Word document — https://example.com/report.docx — and give me the content as markdown with the author and title metadata?

## When to prefer this

Use this endpoint when you need to extract text or markdown from Microsoft Word (.docx) files specifically, either by uploading bytes or pointing to a public URL. Prefer over PDF extractors when the source is a Word document. Good for pipelines that need document metadata (title, author) alongside content. Not suitable for scanned image-only documents requiring OCR, files over 10 MB, or non-docx formats like .doc or .odt.

## Known failure modes

- File exceeds 10 MB limit — returns error rejecting oversized input
- URL is not publicly accessible or returns non-200 status — fetch failure error
- File is not a valid .docx format — parse error returned
- Document has no text layer (image-only scans) — returns empty or minimal text with no OCR output
- Network timeout fetching remote URL — connection error

## How this service works

Extract text from a .docx (Word) document: send the docx bytes directly, or a JSON body with a public {url}. Returns the plain text, a best-effort markdown rendering (headings, bold/italic and lists; tables are flattened to paragraphs), and metadata (title, author). Text layer only — no OCR of embedded images. Max 10 MB.

## Output

Returns plain text content of the document, a best-effort markdown rendering (with headings, bold/italic, and lists; tables flattened to paragraphs), and metadata including title and author. No OCR is applied to embedded images. Max file size 10 MB.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "description": "Public http(s) URL of a .docx file (alternative to sending bytes)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "meta": {
   "title": "Consulting Agreement",
   "author": "Jane Doe"
  },
  "text": "Consulting Agreement\n\nThis agreement is made between …",
  "markdown": "# Consulting Agreement\n\nThis agreement is made between …"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/402utils-docx-text-extractor-783251ac/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 402utils.com](https://www.zero.xyz/host/402utils.com/llms.txt)
