# Textarea Defaults — Text Length Statistics

> Textarea Defaults — 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-12).

Extracts and returns text length statistics for textarea elements found in a webpage or supplied HTML, filtered by element attribute and optional search term.

## Facts

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

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 textarea-defaults-text-length-statistics-306e85cc -d '<json body>'
```

Example prompt: Can you pull the text length statistics for the textarea with id='sample' on https://example.com/form — I want to know how long the default text is in that field?

## When to prefer this

Use this endpoint when you need quick, low-cost text length statistics specifically for textarea HTML elements on a static webpage or known HTML snippet, filtered by a specific attribute and value. Prefer it over general-purpose scrapers when you only need textarea-scoped length metrics without JavaScript rendering or login. Best suited for form auditing, copy length benchmarking, or tracking changes in textarea default text across versions.

## Known failure modes

- URL is unreachable or returns non-200 status — no content parsed
- No textarea matching the specified attribute and value found — empty or null result
- HTML too large (over 100,000 characters) — rejected with payload size error
- JavaScript-rendered content not visible — static parser only, dynamic textareas may be missed
- Attribute pattern mismatch — attribute field must start with a letter and match allowed pattern

## How this service works

Textarea defaults — Text length statistics: Text length statistics for Textarea defaults. 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

A bounded result containing text length statistics for the matched textarea element(s), including metrics such as character count, word count, or length distribution for the default or current text content, scoped to the specified attribute and value filter.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "default": "",
   "maxLength": 2048
  },
  "html": {
   "type": "string",
   "default": "<!doctype html><html><head></head><body><textarea id=\"sample\" data-kind=\"example\">Example product guide</textarea></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/textarea-defaults-text-length-statistics-306e85cc/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)
