# Marked Text Adjacent Word-Pair Frequency Analyzer

> Marked Text Adjacent Word-Pair 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-15).

Extracts bigram (adjacent word-pair) frequency counts from text within HTML <mark> elements identified by a given attribute and value on a webpage or supplied HTML.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-marked-bigrams?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/marked-text-adjacent-word-pair-frequency-analyzer-ffc387ec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GmPjh10Res2zHuMwIXfS5

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 marked-text-adjacent-word-pair-frequency-analyzer-ffc387ec -d '<json body>'
```

Example prompt: Can you count the adjacent word-pair frequencies in the marked section of this page https://example.com/guide — it's the <mark> element with id='intro', and I'm specifically interested in the term 'product'?

## When to prefer this

Choose this endpoint when you need bigram frequency analysis scoped precisely to a <mark> HTML element identified by a specific attribute/value, rather than full-page text analysis. Ideal for targeted content audits, terminology studies, and comparing highlighted sections across document versions using static HTML parsing without JavaScript.

## Known failure modes

- URL is inaccessible, paywalled, or requires JavaScript rendering — static parser returns empty or error
- No <mark> element matches the specified attribute and value — result is empty
- HTML exceeds 100,000 character limit — input rejected
- Term parameter is missing or empty — validation error
- URL and HTML both absent or malformed — request rejected
- Page content changes between calls — results may differ on retry

## How this service works

Marked text — Adjacent word-pair frequency: Adjacent word-pair frequency for Marked text. 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 adjacent word-pair frequency result.

## Output

Returns a bounded set of adjacent word-pair (bigram) frequency counts extracted from the text within the targeted <mark> HTML element on the specified page or HTML document, 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><mark id=\"sample\" data-kind=\"example\">Example product guide</mark></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/marked-text-adjacent-word-pair-frequency-analyzer-ffc387ec/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)
