# Canonical URL Word Frequency Analyzer

> Canonical URL 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 across canonical URL declarations found in a static-parsed HTML page or supplied HTML snippet, optionally filtered by a specific term.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-canonical-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/canonical-url-word-frequency-analyzer-05a0b59a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kd260gUsY6m9SWkYGV7f_

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 canonical-url-word-frequency-analyzer-05a0b59a -d '<json body>'
```

Example prompt: Can you check how often the word 'product' appears in the canonical URL declarations on https://www.example.com/shop — use the element with id 'sample' and compare against these previous texts: ['Older example']?

## When to prefer this

Choose this endpoint when you need fast, cheap ($0.01 USDC) static word frequency analysis specifically scoped to canonical URL link declarations in HTML. It is ideal for SEO audits of canonical tags, lightweight keyword density checks on canonical hrefs, or batch-style programmatic checks where JavaScript rendering is not needed. Prefer it over general web scrapers when the target is specifically canonical link elements rather than full page body text.

## Known failure modes

- URL is unreachable or returns a non-200 status — no content to parse
- HTML exceeds 100,000 character limit — request rejected
- Specified attribute or attribute_value does not match any canonical element — empty or zero result
- URL requires JavaScript rendering or login — static parser returns incomplete content
- Term not found in canonical declarations — returns zero frequency
- Invalid attribute pattern not matching regex — schema validation error

## How this service works

Canonical URL declarations — Word frequency: Word frequency for Canonical URL declarations. 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 often a specified term (or all words) appear within the canonical URL declaration text found in the parsed HTML page. The result is derived from static HTML parsing with no JavaScript rendering, covering one page or HTML snippet per call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "default": "",
   "maxLength": 2048
  },
  "html": {
   "type": "string",
   "default": "<!doctype html><html><head></head><body><link rel=\"canonical\" href=\"https://www.iana.org/help/example-domains\" id=\"sample\"></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/canonical-url-word-frequency-analyzer-05a0b59a/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)
