# Forms — Text Length Statistics

> Forms — Text Length Statistics is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-16).

Analyzes and returns text length statistics for form elements on a given public webpage or supplied HTML, using static parsing without JavaScript rendering.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-forms-lengths?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forms-text-length-statistics-ed7e7b73
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3p9urkArvH49Nb05jXuzp

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 forms-text-length-statistics-ed7e7b73 -d '<json body>'
```

Example prompt: Analyze the text length statistics for forms on https://example.com/signup — specifically look at elements where the id attribute equals 'registration-form', and compare against these previous texts: ['Old signup label', 'Submit here'].

## When to prefer this

Use this endpoint when you need lightweight, fast, static text length analysis of HTML form elements on a public webpage or known HTML snippet, without needing JavaScript execution. Ideal for auditing form field labels, placeholders, or other form text for accessibility, consistency, or content quality checks. Best when you have a specific form identified by an HTML attribute (like id or data-kind) and optionally want to track changes against historical text samples.

## Known failure modes

- URL is not publicly accessible or requires authentication — static parser cannot bypass login
- Page relies on JavaScript rendering to populate forms — JS is not executed so dynamically injected forms will be missed
- HTML input exceeds 100,000 character limit — request will be rejected
- No matching form elements found for the specified attribute/value combination — empty or minimal result returned
- URL resolves to non-HTML content (PDF, image, etc.) — parsing will fail or return no results
- Malformed HTML attribute pattern not matching regex — request validation error

## How this service works

Forms — Text length statistics: Text length statistics for Forms. One public HTTPS page or supplied HTML; static parsing, no JavaScript rendering, login or access bypass. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one bounded text length statistics result.

## Output

Returns a bounded text length statistics result for form elements found on the specified page or HTML, including measurements of form-related text content matched by the given attribute and value, with comparative context from any supplied previous texts.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "default": "",
   "maxLength": 2048
  },
  "html": {
   "type": "string",
   "default": "<!doctype html><html><head></head><body><form id=\"sample\" data-kind=\"example\">Example product guide</form></body></html>",
   "maxLength": 100000
  },
  "term": {
   "type": "string",
   "default": "product",
   "maxLength": 100,
   "minLength": 1
  },
  "attribute": {
   "type": "string",
   "default": "id",
   "pattern": "^[a-zA-Z][a-zA-Z0-9:_-]{0,49}$",
   "maxLength": 50
  },
  "previous_texts": {
   "type": "array",
   "items": {
    "type": "string",
    "default": "",
    "maxLength": 1000
   },
   "default": [
    "Older example"
   ],
   "maxItems": 200,
   "minItems": 0
  },
  "attribute_value": {
   "type": "string",
   "default": "sample",
   "maxLength": 200
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forms-text-length-statistics-ed7e7b73/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
