# No document.write Decision

> No document.write Decision is a paid API for AI agents from webtechnik.halowerk.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-11).

Passively inspects a public URL and returns a pass/fail verdict on whether the page uses document.write, along with evidence, threshold, and recommended action.

## Facts

- Endpoint: POST https://webtechnik.halowerk.com/v1/no-document-write-decision?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/no-document-write-decision-7b46b02b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CqRgdyF_GHz7XxBRTa-vK

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 no-document-write-decision-7b46b02b -d '<json body>'
```

Example prompt: Can you check whether example.com uses document.write anywhere on the page? I want a clear pass or fail verdict with the evidence source and any recommended fix.

## When to prefer this

Use this endpoint when you need a quick, passive, no-risk verdict on whether a specific public URL or domain uses document.write, as part of a web performance or JavaScript best-practice audit. It is preferable to manual inspection or full lighthouse runs when you need a lightweight, automatable, single-criterion check with explicit evidence sourcing and a structured verdict. Choose it over generic crawlers when you need the specific no-document.write criterion evaluated and explained.

## Known failure modes

- Target URL is unreachable or returns a non-200 status — endpoint cannot fetch evidence
- Private or login-gated URLs return no meaningful evidence since the check is passive
- Dynamically injected document.write calls that execute only after user interaction may be missed
- Rate limiting or bot-blocking on the target domain may prevent evidence retrieval
- Malformed or non-HTTP(S) URLs fail schema validation

## How this service works

No document.write decision fetches current public evidence from the supplied target and evaluates the documented criterion. It returns the observation, threshold, verdict, exact evidence source, limitations and a mode-specific action. The check is passive: no login attempt, payload injection, exploit, purchase, form submission or load test is performed.

## Output

Returns an observation describing what was found on the target page, the criterion threshold, a pass/fail verdict, the exact evidence source URL, known limitations of the passive check, and a mode-specific recommended action to remediate or confirm the finding.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "target": {
   "type": "string",
   "maxLength": 2048,
   "minLength": 3,
   "description": "Public HTTP(S) URL or domain to inspect. A bare domain is normalized to HTTPS."
  },
  "context": {
   "type": "object",
   "description": "Optional non-secret correlation labels returned unchanged only in the request lifecycle.",
   "maxProperties": 12,
   "additionalProperties": {
    "type": [
     "string",
     "number",
     "boolean",
     "null"
    ]
   }
  },
  "baseline": {
   "type": [
    "object",
    "null"
   ],
   "description": "Optional baseline returned by a previous snapshot call.",
   "additionalProperties": true
  },
  "compare_url": {
   "type": "string",
   "maxLength": 2048,
   "minLength": 3,
   "description": "Optional public comparison URL. Used by change and monitoring services."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/no-document-write-decision-7b46b02b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from webtechnik.halowerk.com](https://www.zero.xyz/host/webtechnik.halowerk.com/llms.txt)
