# Halowerk Document Translator

> Halowerk Document Translator is a paid API for AI agents from medien.halowerk.com, paid per call via x402, $0.006/call, status unknown (last checked 2026-09-14).

Translates a document (PDF, DOCX, ODT, HTML, or Markdown) from a URL, base64, or raw text into a target language while preserving all structural elements such as headings, tables, placeholders, and code blocks.

## Facts

- Endpoint: POST https://medien.halowerk.com/v1/doc-translate
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/halowerk-document-translator-02e71c68
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9hjBNhgAv2o75aLKDr62U

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 halowerk-document-translator-02e71c68 -d '<json body>'
```

Example prompt: Translate this DOCX file (here's the URL: https://example.com/report.docx) to French — make sure all the headings, tables, and any {{placeholder}} tokens come through untouched.

## When to prefer this

Choose this endpoint when you need document translation that strictly preserves structure — especially for technical documents, templates with placeholders, HTML with tokens, Markdown with code blocks, or PDFs with tables. Prefer it over generic translation APIs when structural fidelity is a hard requirement, not just a nice-to-have, and when you need measurable confirmation that the structure came through intact.

## Known failure modes

- Unsupported document format returns an error indicating the file type cannot be read
- Inaccessible or invalid URL returns a fetch error
- Malformed base64 input returns a decoding error
- Unsupported target language returns a language code error
- Document too large may result in a timeout or size limit error
- Structural elements that are highly ambiguous (e.g. custom templating syntax) may not be fully preserved

## How this service works

Takes a document as text, a public URL or inline base64 — PDF, DOCX, ODT, HTML and Markdown are read — and returns it translated into the target language. Structure is the point: heading levels, indentation, blank lines, list markers, the number of table columns, placeholders such as double-brace tokens or printf specifiers, URLs, e-mail addresses, file names and fenced code blocks are meant to come through untouched. Rather than assert that, the endpoint measures it.

## Output

Returns the translated document text with all structural elements preserved: heading levels, indentation, blank lines, list markers, table column counts, double-brace and printf placeholders, URLs, email addresses, file names, and fenced code blocks. The response also includes measurements confirming structural integrity was maintained.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/halowerk-document-translator-02e71c68/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from medien.halowerk.com](https://www.zero.xyz/host/medien.halowerk.com/llms.txt)
