# Definition Lists Text Length Ranking

> Definition Lists 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-13).

Extracts and ranks definition list (<dl>) elements from a webpage or HTML by text length, filtered by a search term and attribute value.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-definition-lists-rank?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/definition-lists-text-length-ranking-c6ba2c7d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wIVYiTwSaFUGLe5DIkAqP

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 definition-lists-text-length-ranking-c6ba2c7d -d '<json body>'
```

Example prompt: Can you rank the definition list items on https://example.com/glossary by text length, looking for entries with the id attribute set to 'main-glossary' that contain the term 'product'?

## When to prefer this

Choose this endpoint when you need to specifically rank HTML definition list (<dl>) elements by text length from a static webpage or raw HTML, especially when filtering by a specific attribute and search term. It is ideal for content audits, glossary analysis, documentation quality checks, or comparing description lengths across a set of definitions. Prefer this over general text extraction tools when your target content is specifically in <dl> format and you need length-based ranking rather than raw extraction.

## Known failure modes

- URL is unreachable or returns non-200 status
- Page requires JavaScript rendering (static parsing only, no JS execution)
- No matching definition list found for the given attribute/attribute_value combination
- Term not found in any definition list on the page
- HTML input exceeds 100,000 character limit
- Attribute name does not match pattern requirements
- Login-protected or paywalled pages cannot be accessed

## How this service works

Definition lists — Text length ranking: Text length ranking for Definition lists. 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 containing the definition list entries from the target page or HTML, ranked by text length, filtered to the specified attribute and term. Includes one ranking result per call.

## Request schema (JSON Schema)

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