# Textarea Defaults — HTML Fragment Extraction

> Textarea Defaults — HTML Fragment Extraction 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-15).

Extracts textarea HTML fragments from a webpage or supplied HTML, filtering by a search term and attribute/value pair, and returns matched textarea elements with their default values.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-textareas-html?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/textarea-defaults-html-fragment-extraction-6df09d6d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OZn8DluBWyzWfK7lObAjQ

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-html-fragment-extraction-6df09d6d -d '<json body>'
```

Example prompt: Pull out the textarea element with id 'product-description' from https://example.com/product-page and give me its default text content — static page, no JavaScript needed.

## When to prefer this

Use this endpoint when you need to extract the default text content or HTML fragment of textarea elements from a static webpage or known HTML, particularly when you want to filter by a specific HTML attribute (such as id or data-* attributes). It is ideal for auditing pre-filled form fields, diffing textarea defaults over time using previous_texts, or parsing supplied HTML without needing JavaScript rendering or authentication. Prefer this over a general-purpose scraper when your target is specifically textarea elements and you want structured, bounded results with minimal cost.

## Known failure modes

- URL is inaccessible, behind a login, or requires JavaScript rendering — returns no result since only static parsing is performed
- No textarea matching the specified attribute and attribute_value is found in the HTML — returns an empty or null fragment
- HTML payload exceeds the 100,000 character limit — request is rejected
- Attribute name does not match the allowed pattern (must start with a letter, max 50 chars) — validation error
- URL exceeds 2048 characters — validation error
- Page returns a non-200 HTTP status — extraction fails with an access error

## How this service works

Textarea defaults — HTML fragment extraction: HTML fragment extraction 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 html fragment extraction result.

## Output

Returns a bounded HTML fragment containing the matched textarea element(s), including the element's default text content, attributes, and surrounding HTML context. The response includes one extraction result scoped to the specified attribute/value filter and search term.

## 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-html-fragment-extraction-6df09d6d/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)
