# Table Captions Term Context Excerpts

> Table Captions 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-13).

Extracts contextual text excerpts surrounding a search term found within HTML table caption elements on a webpage.

## Facts

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

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

Example prompt: Search for the term 'product' in table captions on this HTML page and give me the surrounding context excerpts — use the id attribute with value 'sample' to focus the extraction.

## When to prefer this

Choose this endpoint when you need to extract contextual text snippets around a specific term specifically from HTML table caption elements, especially when you want to filter by HTML attribute values or deduplicate against previously seen results. It is purpose-built for table caption extraction rather than general full-page text search.

## Known failure modes

- URL is unreachable or returns non-200 response, resulting in no content to parse
- Term not found in any table caption elements, returning empty results
- HTML exceeds 100,000 character limit, causing rejection
- Attribute pattern fails validation (must start with a letter, alphanumeric/colon/underscore/hyphen only)
- JavaScript-rendered content not available since only static HTML parsing is performed
- Previous texts array exceeds 200 items limit

## How this service works

Table captions — Term context excerpts: Term context excerpts for Table captions. 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: snippets of text surrounding the matched search term within HTML table caption elements, filtered by optional attribute and attribute value constraints, and deduplicated against 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><caption id=\"sample\">Example product guide</caption><tr><td>value</td></tr></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-captions-term-context-excerpts-38193dc4/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)
