# Button Labels Word Frequency Analyzer

> Button Labels Word Frequency Analyzer 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).

Counts word frequency within button label text on a given webpage or HTML snippet, optionally filtered by a specific term and button attribute.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-buttons-words?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-word-frequency-analyzer-f733769d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HoWNW3fhu2PhWCfMYeIou

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-word-frequency-analyzer-f733769d -d '<json body>'
```

Example prompt: Scan https://example.com and tell me how often the word 'guide' appears in button labels — look at the 'id' attribute with value 'sample', and compare against these previous button texts: ['Older example'].

## When to prefer this

Choose this endpoint when you need a lightweight, cost-effective way to count word frequency specifically within button elements on a static HTML page or a supplied HTML snippet. It is ideal when you don't need full JavaScript rendering and want a specialized preset focused solely on button label text rather than full-page content.

## Known failure modes

- Invalid or unreachable URL returns an error with no frequency data
- HTML exceeding 100,000 characters is rejected
- Term field left empty or below minimum length of 1 character causes validation error
- Attribute name not matching pattern ^[a-zA-Z][a-zA-Z0-9:_-]{0,49}$ is rejected
- Pages requiring JavaScript rendering return incomplete or empty results
- Payment of 0.01 USDC not fulfilled results in 402 response

## How this service works

Button labels — Word frequency: Word frequency 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 word frequency result.

## Output

A bounded word frequency result indicating how many times the specified term (or all words) appears within button label text on the target page or HTML, parsed statically without JavaScript rendering.

## 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-word-frequency-analyzer-f733769d/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)
