# Definition Descriptions — Prior Text-Set Comparison

> Definition Descriptions — Prior Text-Set Comparison 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 web page or supplied HTML to extract a definition element and compare its current text against a set of previously recorded texts

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-definition-text-compare?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/definition-descriptions-prior-text-set-comparison-5980170c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WFdJpO4y5OR2m69ipLwRI

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 definition-descriptions-prior-text-set-comparison-5980170c -d '<json body>'
```

Example prompt: Check the definition page at https://example.com/glossary and compare the text inside the element with attribute id='product' for the term 'product' against these two older versions: 'Older example product guide' and 'An example product guide' — tell me if the current text matches any of them or has changed.

## When to prefer this

Choose this endpoint when you need to compare the current text of a specific HTML definition element (such as a dd tag) on a page against a known set of historical texts, and you want a lightweight, paid-per-call solution without setting up your own scraping or diffing infrastructure. Particularly useful for monitoring glossary terms, product descriptions, or documentation definitions for changes over time. Prefer over general-purpose scrapers when you specifically need definition element targeting with prior-text comparison in a single atomic operation.

## Known failure modes

- URL is unreachable or returns a non-200 status — comparison cannot be performed
- No element matching the specified attribute and attribute_value is found in the parsed HTML — empty or null result
- HTML exceeds 100,000 character limit — request rejected
- previous_texts array exceeds 200 items — request rejected
- Page requires JavaScript rendering or login — static parser returns incomplete content
- term not found within the matched element — comparison may be empty

## How this service works

Definition descriptions — Prior text-set comparison: Prior text-set comparison for Definition descriptions. 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 prior text-set comparison result.

## Output

Returns a bounded comparison result indicating whether the current text extracted from the target definition element (identified by URL or raw HTML, attribute, attribute value, and term) matches any of the supplied previous texts, along with information about differences detected.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "default": "",
   "maxLength": 2048
  },
  "html": {
   "type": "string",
   "default": "<!doctype html><html><head></head><body><dd id=\"sample\" data-kind=\"example\">Example product guide</dd></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/definition-descriptions-prior-text-set-comparison-5980170c/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)
