# Formwerk Script Form Count Checker

> Formwerk Script Form Count Checker is a paid API for AI agents from formwerk.halowerk.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Checks a script object on a webpage and returns the count of forms contained within it.

## Facts

- Endpoint: POST https://formwerk.halowerk.com/v1/pruef/formwerk/formularzahl/skript
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/formwerk-script-form-count-checker-6e9ea33a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__i50HLPZeyURq4WBlrSH3

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 formwerk-script-form-count-checker-6e9ea33a -d '<json body>'
```

Example prompt: Can you check https://example.com/contact and tell me how many forms are contained in its scripts — use the CSS selector '#main-script' to target the specific script element?

## When to prefer this

Use this endpoint when you specifically need to count the number of forms embedded within or associated with script objects on a webpage, as opposed to counting all forms on a page or inspecting form submission targets. Ideal for auditing third-party scripts, detecting unexpected form injections in script elements, or validating form counts in dynamically loaded script content.

## Known failure modes

- URL is not publicly accessible — returns an error or empty result
- CSS selector matches no element or multiple elements — first match used or error returned
- Script contains no forms — returns a count of zero
- Target URL returns non-HTML content — analysis fails
- Network timeout or unreachable host — service returns an error
- Invalid URL format — validation error returned

## How this service works

Prüft am Objekt skript den Befund Zahl enthaltener Formulare.

## Output

Returns the count of forms found within script objects at the given URL, optionally scoped to a specific script element via CSS selector. The response is a numeric finding (Befund: Formularzahl) indicating how many forms the analyzed script contains.

## 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/formwerk-script-form-count-checker-6e9ea33a/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)
