# Table Head Groups — Literal Attribute Matches

> Table Head Groups — Literal Attribute Matches 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).

Extracts table header group elements from a web page or HTML snippet by matching a specified attribute to a literal value and filtering results by a search term.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-table-heads-attribute-match?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/table-head-groups-literal-attribute-matches-9c605a72
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zX9VzBvAgrEgIoW6LFsAv

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-literal-attribute-matches-9c605a72 -d '<json body>'
```

Example prompt: From this HTML page at https://example.com/data-tables, find all table head groups where the id attribute equals 'summary' and the text contains 'revenue'.

## When to prefer this

Use this endpoint when you need to precisely locate table head group elements in static HTML by an exact attribute value match, especially when you have a specific attribute like id, class, or data-* and a known value. Prefer this over generic XPath or CSS selectors when working within a managed, paid extraction pipeline that handles URL fetching and deduplication via previous_texts filtering.

## Known failure modes

- URL is inaccessible, private, or returns a non-200 response — no results returned
- Page requires JavaScript rendering — static parser cannot extract dynamic content
- No thead elements match the specified attribute and value — empty result set
- HTML input exceeds 100,000 character limit — request rejected
- Attribute name fails pattern validation — request rejected
- Search term is empty or missing — request rejected

## How this service works

Table head groups — Literal attribute matches: Literal attribute matches 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 literal attribute matches result.

## Output

Returns matched table head group (thead) elements from the provided HTML or fetched URL where the specified attribute equals the given value and the element text matches the search term. Includes one bounded literal attribute match 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><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-literal-attribute-matches-9c605a72/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)
