# Textarea Defaults — Term Context Excerpts

> Textarea Defaults — Term Context Excerpts 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 context excerpts surrounding a search term from textarea elements on a given web page, optionally filtered by a specific HTML attribute and value.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-textareas-contexts?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-term-context-excerpts-56fa105f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_D4YuSK0GWJFszpWPeCl1L

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-term-context-excerpts-56fa105f -d '<json body>'
```

Example prompt: Look at the page https://example.com/product-guide and find all context excerpts around the word 'warranty' inside the textarea with id 'description' — just static HTML parsing, no JavaScript needed.

## When to prefer this

Choose this endpoint when you need to extract focused, term-centric text excerpts from textarea elements on a static HTML page, particularly when you know the textarea's identifying attribute and value. It is ideal for lightweight, low-cost ($0.01) single-page extraction tasks where JavaScript rendering is not required and you want context windows around a specific keyword rather than full textarea dumps.

## Known failure modes

- No textarea found matching the given attribute/value combination — returns empty result
- Term not found in any matched textarea content — returns empty excerpts
- URL is inaccessible or returns non-200 status — request fails
- JavaScript-rendered content is not captured since only static HTML is parsed
- HTML input exceeds 100,000 character limit — rejected
- Term parameter missing or empty — rejected by schema validation

## How this service works

Textarea defaults — Term context excerpts: Term context excerpts 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 term context excerpts result.

## Output

Returns bounded context excerpts — short text windows around each occurrence of the specified search term found within the matched textarea element(s) on the page. One result set per call, derived from static HTML parsing of the provided URL or raw HTML.

## 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-term-context-excerpts-56fa105f/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)
