# Figure Captions Word Frequency Analyzer

> Figure Captions 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-16).

Extracts and counts word frequency from HTML figure caption elements on a given webpage or supplied HTML snippet

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-figcaptions-words?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/figure-captions-word-frequency-analyzer-75e29951
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ql11TyuYvXe2UFMOS_Z54

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 figure-captions-word-frequency-analyzer-75e29951 -d '<json body>'
```

Example prompt: Count how often the word 'product' appears in figure captions on https://example.com/docs — filter by the figcaption with id 'sample' and compare against my previous caption texts ['Older example'].

## When to prefer this

Choose this endpoint when you need to specifically analyze word frequency within HTML figcaption elements on a static webpage or known HTML snippet, particularly when filtering by element attributes. It is purpose-built for figure caption text extraction and counting, making it more precise than a general word-frequency scraper when your target is image/figure caption content specifically.

## Known failure modes

- URL is unreachable or returns non-200 status — endpoint cannot fetch the page
- Page requires JavaScript rendering — static parser returns empty or incomplete captions
- No figcaption elements found in the HTML — returns zero or empty frequency result
- Term parameter missing or too short — validation error returned
- HTML input exceeds 100,000 character limit — request rejected
- Attribute pattern does not match allowed format — schema validation error
- URL exceeds 2048 character limit — request rejected

## How this service works

Figure captions — Word frequency: Word frequency for Figure 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 word frequency result.

## Output

Returns a bounded word frequency result showing how many times the specified term appears within figure caption elements extracted from the provided URL or HTML. Includes counts scoped to the matching figcaption elements, optionally filtered by a specified HTML attribute and value.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "default": "",
   "maxLength": 2048
  },
  "html": {
   "type": "string",
   "default": "<!doctype html><html><head></head><body><figcaption id=\"sample\" data-kind=\"example\">Example product guide</figcaption></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/figure-captions-word-frequency-analyzer-75e29951/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)
