# HALOWERK formwerk – Skript Fremddomains Zählen

> HALOWERK formwerk – Skript Fremddomains Zählen is a paid API for AI agents from formwerk.halowerk.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-23).

Counts the number of contacted foreign/third-party domains referenced by scripts on a given web page or object.

## Facts

- Endpoint: POST https://formwerk.halowerk.com/v1/pruef/formwerk/fremddomain/skript?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/halowerk-formwerk-skript-fremddomains-z-hlen-d1259c12
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_h_jdIOm3mNcHp0jqja7xf

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-formwerk-skript-fremddomains-z-hlen-d1259c12 -d '<json body>'
```

Example prompt: Check https://example.com and tell me how many third-party foreign domains are contacted by scripts on that page.

## When to prefer this

Use this endpoint when you need a precise count of foreign/third-party domains contacted by scripts on a specific page or element, especially for privacy audits, GDPR compliance checks, or security reviews. It is specifically scoped to script-based foreign domain contacts, making it more targeted than general third-party resource scanners. Prefer it over generic crawl tools when you need a structured numeric finding (Befund) from HALOWERK's formwerk analysis framework.

## Known failure modes

- Invalid or unreachable URL returns an error or empty result
- Malformed CSS selector causes no element to be matched, falling back to first match or error
- Private/internal IP addresses or non-public URLs rejected
- Page requires JavaScript rendering that the crawler cannot execute, yielding incomplete results
- Rate limiting or payment failure returns a 402 or 429 error

## How this service works

Prüft am Objekt skript den Befund Zahl kontaktierter Fremddomains.

## Output

Returns a numeric count (Befund: Zahl) of distinct foreign/third-party domains contacted by scripts found on the analyzed web object (page or scoped element), along with supporting findings identifying those domains.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "ziel": {
   "oneOf": [
    {
     "type": "string",
     "maxLength": 2048,
     "minLength": 1,
     "description": "Öffentliche HTTP(S)-Adresse; bei DNS-Befunden Domain oder öffentliche IP."
    },
    {
     "type": "object",
     "required": [
      "adresse"
     ],
     "properties": {
      "adresse": {
       "type": "string",
       "maxLength": 2048,
       "minLength": 1
      },
      "selektor": {
       "type": "string",
       "maxLength": 240,
       "minLength": 1,
       "description": "CSS-Selektor: genau ein Objekt, sonst erster Treffer des Objektfilters."
      },
      "vergleich": {
       "type": "string",
       "maxLength": 2048,
       "description": "Öffentliche Vergleichsadresse für Link-, Sitemap- oder Sprachbefunde."
      },
      "user_agent": {
       "type": "string",
       "pattern": "^[A-Za-z0-9_-]{1,80}$"
      },
      "dkim_selektor": {
       "type": "string",
       "pattern": "^[A-Za-z0-9_-]{1,63}$"
      }
     },
     "additionalProperties": false
    }
   ]
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/halowerk-formwerk-skript-fremddomains-z-hlen-d1259c12/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from formwerk.halowerk.com](https://www.zero.xyz/host/formwerk.halowerk.com/llms.txt)
