# Table Head Groups — Term Context Excerpts

> Table Head Groups — Term Context Excerpts 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 context excerpts around a search term found within HTML table header groups (<thead>) from a given URL or HTML payload.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-table-heads-contexts?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-term-context-excerpts-dd60e504
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XnzRLpEBcJHBNNGTYAfuf

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-term-context-excerpts-dd60e504 -d '<json body>'
```

Example prompt: Can you find and extract context excerpts around the term 'revenue' in the table header groups on this page https://example.com/financials, specifically looking at elements with attribute id equal to 'main-table'?

## When to prefer this

Use this endpoint when you need to find where a specific term appears within HTML table header groups (<thead>) and want surrounding context excerpts rather than full page text. Ideal for auditing data dictionaries, verifying column header terminology, or monitoring how specific terms are used in structured tabular content on web pages. Prefer this over general full-page text extractors when your target is specifically table header context.

## Known failure modes

- URL is inaccessible or returns a non-200 status, resulting in no content to parse
- Term not found in any table head group, returning empty excerpt list
- HTML payload too large (exceeds 100,000 characters), causing rejection
- Search term shorter than 1 character or longer than 100 characters fails validation
- Attribute pattern does not match expected format (must start with a letter, alphanumeric/colon/underscore/dash)
- Page requires JavaScript rendering which is not supported — static parsing only
- Login-protected or paywalled pages cannot be accessed

## How this service works

Table head groups — Term context excerpts: Term context excerpts 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 term context excerpts result.

## Output

Returns bounded context excerpts — surrounding text snippets — for occurrences of the specified search term found within HTML table head group elements (<thead>) on the given page or HTML payload. Results are filtered by optional attribute/attribute-value targeting and de-duplicated against any previously seen 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><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-term-context-excerpts-dd60e504/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)
