# Table Captions — Distinct Attribute Values

> Table Captions — Distinct Attribute Values 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 all distinct values of a specified HTML attribute from <caption> elements on a web page or supplied HTML snippet.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-captions-attribute-values?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-distinct-attribute-values-4fcc6d31
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hdl7jfNNEJ4f0H3LyOozn

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-distinct-attribute-values-4fcc6d31 -d '<json body>'
```

Example prompt: Look at https://example.com/products and pull out all the distinct values of the 'id' attribute from any table caption elements that mention 'product', skipping any you've already seen like 'Older example'.

## When to prefer this

Use this endpoint when you need to enumerate distinct HTML attribute values specifically from <caption> elements in tables, either from a live URL or supplied HTML, without needing JavaScript rendering. Prefer this over generic scraping tools when your use case is narrowly scoped to table caption attributes, you want deduplication against a known list, and you only need static HTML parsing at low cost per call.

## Known failure modes

- URL is unreachable or returns non-2xx status — no results returned
- HTML content exceeds 100,000 character limit — request rejected
- No table caption elements found matching the term — empty result set
- Attribute pattern validation failure (must start with a letter, alphanumeric/colon/underscore/hyphen) — request rejected
- JavaScript-rendered content not accessible — only static HTML parsed
- Malformed or missing URL and no HTML provided — error response

## How this service works

Table captions — Distinct attribute values: Distinct attribute values 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 distinct attribute values result.

## Output

Returns a bounded set of distinct values for the specified HTML attribute found across all matching <caption> elements on the target page or HTML, filtered to those related to the provided term, and excluding any values already seen in previous_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-distinct-attribute-values-4fcc6d31/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)
