# Textarea Defaults — Distinct Attribute Values

> Textarea Defaults — Distinct Attribute Values 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).

Extracts distinct attribute values from textarea elements on a web page or HTML snippet, filtered by a search term and specific attribute name.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-textareas-attribute-values?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/textarea-defaults-distinct-attribute-values-aefe4a8d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__rMfrAa20ECZVMgPvjIuw

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-distinct-attribute-values-aefe4a8d -d '<json body>'
```

Example prompt: Look at https://example.com/contact and give me all the distinct values of the 'name' attribute on textarea elements that contain the word 'message'.

## When to prefer this

Choose this endpoint when you need to enumerate distinct attribute values specifically on textarea elements from a static HTML page or URL, especially when filtering by a keyword term. It is ideal for form auditing, accessibility checks, and scraping textarea metadata without needing JavaScript rendering. Prefer it over general-purpose HTML scrapers when you specifically need deduplicated textarea attribute values.

## Known failure modes

- URL is unreachable or returns non-200 status — no content to parse
- HTML exceeds 100,000 character limit — request rejected
- Attribute name does not match pattern ^[a-zA-Z][a-zA-Z0-9:_-]{0,49}$ — validation error
- No textareas found on the page matching the term — empty result set
- JavaScript-rendered content not visible — only static HTML is parsed
- Term too short or too long (must be 1–100 chars) — validation error

## How this service works

Textarea defaults — Distinct attribute values: Distinct attribute values 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 distinct attribute values result.

## Output

Returns a bounded set of distinct values for the specified attribute found on textarea elements within the parsed page or HTML snippet, filtered to those matching the given search term. Results exclude previously seen texts if provided.

## 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-distinct-attribute-values-aefe4a8d/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)
