# Button Labels — Literal Attribute Matches

> Button Labels — 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-21).

Finds button elements on a webpage whose specified HTML attribute value literally matches a given search term, returning matched button labels.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-buttons-attribute-match?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/button-labels-literal-attribute-matches-13ffe8af
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cWj4TWyP0sLG41aZzIV5x

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 button-labels-literal-attribute-matches-13ffe8af -d '<json body>'
```

Example prompt: Search this HTML page for buttons whose 'data-kind' attribute value is 'primary' and tell me all the button labels that match: <!doctype html><html><body><button data-kind='primary'>Buy Now</button><button data-kind='secondary'>Learn More</button></body></html>

## When to prefer this

Choose this endpoint when you need to extract button labels from a static HTML page or snippet based on an exact HTML attribute match (e.g. id, class, data-*). It is ideal for lightweight, low-cost ($0.01) single-page button discovery without JavaScript rendering. Prefer it over full browser automation when the target page's buttons are present in raw HTML, and you only need literal attribute-value equality rather than fuzzy text or semantic search.

## Known failure modes

- URL is inaccessible or returns non-200 status — no buttons extracted
- HTML exceeds 100,000 character limit — request rejected
- Attribute name fails the pattern validation (must start with a letter, max 50 chars) — validation error
- No buttons found matching the attribute/value pair — empty result set
- Page requires JavaScript rendering for buttons to appear — static parser returns no matches
- Term is empty or missing — minLength validation error

## How this service works

Button labels — Literal attribute matches: Literal attribute matches for Button labels. 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 a bounded set of button label strings from the page whose specified HTML attribute matches the given value, parsed statically without JavaScript rendering. The result reflects literal attribute equality matching, not fuzzy or semantic search.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "default": "",
   "maxLength": 2048
  },
  "html": {
   "type": "string",
   "default": "<!doctype html><html><head></head><body><button id=\"sample\" data-kind=\"example\">Example product guide</button></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/button-labels-literal-attribute-matches-13ffe8af/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)
