# Table Head Groups — Text Length Statistics

> Table Head Groups — 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-11).

Extracts and returns text length statistics for HTML table head (thead) elements from a given URL or raw HTML snippet.

## Facts

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

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 table-head-groups-text-length-statistics-b847db4b -d '<json body>'
```

Example prompt: Can you fetch https://example.com/data-catalog and extract text length statistics for all table head groups where the id attribute is 'main-header', using 'product' as the search term?

## When to prefer this

Choose this endpoint when you need text length statistics specifically for HTML table head groups (thead elements) from a static, publicly accessible webpage or raw HTML — particularly when you want to filter by a specific HTML attribute and value, or compare against previously seen texts. It is purpose-built for this narrow extraction task at low cost ($0.01 USDC) and is ideal for data quality auditing, header consistency checks, or monitoring table structure changes over time.

## Known failure modes

- URL is not publicly accessible or returns non-200 status — no content parsed
- HTML does not contain any thead elements matching the specified attribute/value — empty result
- HTML input exceeds 100,000 character limit — request rejected
- Attribute value or term not found in any thead element — zero results returned
- URL content requires JavaScript rendering — static parser returns incomplete or no table data
- previous_texts array exceeds 200 items — request rejected

## How this service works

Table head groups — Text length statistics: Text length statistics for Table head groups. 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 for matching table head group (thead) elements — including character count metrics such as min, max, mean, or distribution — derived from static HTML parsing of the provided URL or HTML input, 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><table><thead id=\"sample\"><tr><td>Example product guide</td></tr></thead></table></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/table-head-groups-text-length-statistics-b847db4b/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)
