# Halowerk Buero Clause Extractor

> Halowerk Buero Clause Extractor is a paid API for AI agents from buero.halowerk.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-15).

Extracts specific contractual clauses (termination, liability, payment, etc.) from a contract supplied as text, URL, or base64-encoded file.

## Facts

- Endpoint: POST https://buero.halowerk.com/v1/clause-extract
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/halowerk-buero-clause-extractor-b07a97a4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_e5Zq50zs0g6BwYJzVpEWk

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-buero-clause-extractor-b07a97a4 -d '<json body>'
```

Example prompt: Pull the termination, liability, and payment clauses from this vendor contract — here's the URL: https://example.com/vendor-agreement.pdf — and also grab the confidentiality and data protection sections.

## When to prefer this

Use this endpoint when you need to quickly locate and extract specific legal clause categories from a contract document without reading the entire text. It is ideal for due diligence workflows, compliance checks, and contract review automation where you need structured clause-level excerpts rather than a full summary. Prefer this over general document summarizers when clause-specific, topic-tagged extraction is required. Best for PDF, DOCX, ODT, HTML, and Markdown contracts accessible via URL or base64.

## Known failure modes

- Unsupported file format causes parsing failure
- URL is inaccessible or returns non-document content
- Base64 encoding is malformed or corrupt
- Requested clause topic not present in the contract — returns empty or null for that topic
- Document is scanned image PDF with no extractable text
- Contract is too large to process within limits

## How this service works

Takes a contract as text, a public URL or inline base64 — PDF, DOCX, ODT, HTML and Markdown are read — and returns the passages governing the requested topics. Termination, liability, term, payment and jurisdiction are the default; confidentiality, data protection, IP, warranty, force majeure, assignment and notice can be requested as well.

## Output

Returns the specific text passages from the contract that govern each requested topic (e.g. termination, liability, payment, jurisdiction, confidentiality, IP, force majeure, etc.), tagged by clause category. Default topics are termination, liability, term, payment, and jurisdiction; additional topics like confidentiality, data protection, IP, warranty, force majeure, assignment, and notice can be requested.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "document": {
   "type": "object",
   "properties": {
    "url": {
     "type": "string",
     "maxLength": 2048,
     "description": "Public http(s) URL of a PDF, DOCX, ODT, HTML or text file. Private and local addresses are refused."
    },
    "text": {
     "type": "string",
     "maxLength": 200000,
     "description": "The text directly. Cheapest and clearest — its length is billed as counted here."
    },
    "format": {
     "enum": [
      "auto",
      "pdf",
      "docx",
      "odt",
      "html",
      "markdown",
      "rtf",
      "text"
     ],
     "type": "string",
     "default": "auto",
     "description": "Override the detected format. \"auto\" reads it from the bytes."
    },
    "filename": {
     "type": "string",
     "maxLength": 260,
     "description": "Only consulted when the bytes carry no recognisable signature."
    },
    "content_base64": {
     "type": "string",
     "maxLength": 4000000,
     "description": "The file inline, base64."
    }
   },
   "description": "The contract. Exactly one of text, url or content_base64.",
   "additionalProperties": false
  },
  "clause_types": {
   "type": "array",
   "items": {
    "enum": [
     "termination",
     "liability",
     "term",
     "payment",
     "jurisdiction",
     "confidentiality",
     "data_protection",
     "ip",
     "warranty",
     "force_majeure",
     "assignment",
     "notice"
    ],
    "type": "string"
   },
   "maxItems": 12,
   "minItems": 1,
   "description": "Which topics to look for. Default: termination, liability, term, payment, jurisdiction."
  },
  "document_chars": {
   "type": "integer",
   "maximum": 24000,
   "minimum": 1,
   "description": "Only needed when the contract arrives by url or content_base64: its length in characters, which is what you are billed for. A longer text is refused with its real length and nothing is charged."
  },
  "include_unverified": {
   "type": "boolean",
   "default": true,
   "description": "Also return findings whose quote could not be located in the source, clearly marked. Off means they are only counted."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/halowerk-buero-clause-extractor-b07a97a4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from buero.halowerk.com](https://www.zero.xyz/host/buero.halowerk.com/llms.txt)
