# Definition Descriptions — Text Length Statistics

> Definition Descriptions — Text Length Statistics 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-21).

Computes text length statistics for definition description elements (dd tags) on a web page, filtered by a term, attribute, and attribute value.

## Facts

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

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-descriptions-text-length-statistics-bdda46c1 -d '<json body>'
```

Example prompt: Can you pull up https://example.com/glossary and give me text length statistics for all the definition descriptions where the id attribute is 'product-desc', comparing against these previous texts: ['Legacy description one', 'Legacy description two']?

## When to prefer this

Choose this endpoint when you need statistical analysis of text lengths specifically for HTML definition description (dd) elements on a public page or supplied HTML snippet, especially when filtering by attribute and comparing against historical text baselines. It is purpose-built for this niche task rather than a general text extraction tool.

## Known failure modes

- URL is unreachable or returns non-200 response — parsing fails with an error
- HTML too large (over 100,000 characters) — request rejected
- No matching definition description elements found — empty or zero-count statistics returned
- JavaScript-rendered content not visible — static parser cannot access dynamically loaded dd elements
- Invalid attribute name format — schema validation error

## How this service works

Definition descriptions — Text length statistics: Text length statistics for Definition descriptions. 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 statistics result.

## Output

Returns bounded text length statistics (such as min, max, mean, or character counts) for definition description elements matching the specified term, attribute, and attribute value on the given page or HTML. Optionally compares results against a set of previously supplied texts.

## Request schema (JSON Schema)

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