# Forms — Text Length Ranking

> Forms — 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-16).

Ranks HTML form elements by text length for a given search term and attribute, using static parsing of a public URL or supplied HTML.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-forms-rank?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/forms-text-length-ranking-76e995f8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3c5iToIJY4k9g9AdY6I_V

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 forms-text-length-ranking-76e995f8 -d '<json body>'
```

Example prompt: Rank the form text lengths on https://example.com/signup — look at the form with id 'registration' and compare against these previous texts: ['Sign up now', 'Create your account'] using the search term 'account'.

## When to prefer this

Choose this endpoint when you need to statically parse HTML forms and rank their text content by length relative to a historical baseline, especially for lightweight UX audits or copy-length tracking without needing JavaScript rendering or authentication. It is well-suited for comparing form element text across iterations using a predefined attribute selector.

## Known failure modes

- URL is unreachable or returns a non-200 response
- HTML does not contain a form matching the specified attribute and attribute_value
- JavaScript-rendered content not captured (static parsing only)
- Login-protected or paywalled pages cannot be accessed
- term not found within matched form element text
- previous_texts array exceeds 200 items limit
- HTML input exceeds 100,000 character limit
- attribute name does not match pattern ^[a-zA-Z][a-zA-Z0-9:_-]{0,49}$

## How this service works

Forms — Text length ranking: Text length ranking for Forms. 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 showing how the current form element's text compares in length to the supplied previous texts, providing a relative ranking position and length metrics for the matched form element.

## Request schema (JSON Schema)

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