# Textarea Defaults — Text Length Ranking

> Textarea Defaults — Text Length Ranking 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).

Ranks textarea element text by length from a web page or supplied HTML, filtered by a specific attribute and search term.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-textareas-rank?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-ranking-671d3662
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hXjzZ0_EV-H0V8m1CFU0J

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-ranking-671d3662 -d '<json body>'
```

Example prompt: Rank the default textarea text by length on this page: https://example.com/contact — look at the textarea with id='message' and compare it to these previous texts: ['Old version text', 'Draft copy'].

## When to prefer this

Use this endpoint when you need to quantitatively rank a specific textarea's default text length against historical or reference texts, especially when filtering by a particular HTML attribute. Prefer this over generic scraping tools when you specifically need length-based ranking of form textarea content from a static page.

## Known failure modes

- URL is inaccessible or returns non-200 status
- HTML does not contain a textarea matching the specified attribute and value
- No textarea found with the given attribute pattern
- Previous texts array is empty, making ranking trivial
- URL requires JavaScript rendering which is not supported
- HTML payload exceeds 100,000 character limit
- Term not found in any textarea content

## How this service works

Textarea defaults — Text length ranking: Text length ranking 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 ranking result.

## Output

Returns a bounded text length ranking result: a score or rank indicating where the target textarea's text length falls relative to provided previous texts, based on static HTML parsing without JavaScript rendering.

## 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-ranking-671d3662/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)
