# Canonical URL Declarations — Adjacent Word-Pair Frequency

> Canonical URL Declarations — Adjacent Word-Pair Frequency 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).

Parses a webpage or supplied HTML to count the frequency of adjacent word pairs (bigrams) found in canonical URL declarations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-canonical-bigrams?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-declarations-adjacent-word-pair-frequency-e1e0159c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5ngYr7ixdgliPao3YfyDy

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-declarations-adjacent-word-pair-frequency-e1e0159c -d '<json body>'
```

Example prompt: Can you analyze the canonical URL declaration on https://www.example.com/products and tell me how frequently the word pair 'product page' appears in those canonical link elements, checking the element with id='canonical-link'?

## When to prefer this

Choose this endpoint when you need to perform static text frequency analysis specifically on canonical URL declaration elements in HTML pages, without requiring JavaScript rendering or authenticated access. Ideal for SEO audits, content pattern analysis, or verifying canonical tag text consistency at low cost ($0.01 USDC per call).

## Known failure modes

- URL is unreachable or returns a non-200 HTTP status
- HTML content exceeds 100,000 character limit
- No canonical URL declarations found in the provided HTML or page
- JavaScript-rendered content not captured (static parsing only)
- Invalid attribute pattern causes schema validation failure
- Term parameter missing or too short (minLength 1)

## How this service works

Canonical URL declarations — Adjacent word-pair frequency: Adjacent word-pair 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 adjacent word-pair frequency result.

## Output

Returns a bounded result containing the frequency count of adjacent word pairs (bigrams) found within canonical URL declaration elements on the specified page or HTML input, filtered or contextualized by the supplied term, attribute, and attribute value parameters.

## 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-declarations-adjacent-word-pair-frequency-e1e0159c/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)
