# Definition Descriptions — Literal Term Matches

> Definition Descriptions — Literal Term Matches 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-17).

Extracts text content from HTML `<dd>` (definition description) elements that literally match a specified term via an HTML attribute, from a provided URL or raw HTML.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-definition-text-term?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/definition-descriptions-literal-term-matches-49a385c3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_C1eg9UPgXy9IN5QHadIF5

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-literal-term-matches-49a385c3 -d '<json body>'
```

Example prompt: From the page at https://example.com/glossary.html, find the `<dd>` element where the `id` attribute equals `product-guide` and return its text — exclude anything matching the previous texts ['Older example'].

## When to prefer this

Choose this endpoint when you need to extract text from HTML `<dd>` (definition description) elements by literal attribute matching, from a static HTML page or raw HTML string. It is well-suited for glossaries, documentation pages, and structured reference content where definitions are tagged with known attributes. Prefer this over generic scraping when you need precise, attribute-gated extraction of definition elements specifically.

## Known failure modes

- No matching `<dd>` element found for the given attribute/term combination — returns empty or null result
- URL is inaccessible, requires login, or returns non-200 status — parsing fails
- HTML exceeds 100,000 character limit — input rejected
- Term string is empty or missing — validation error
- JavaScript-rendered content not available — static parser only, dynamic pages will return incomplete HTML
- Attribute name does not match pattern `^[a-zA-Z][a-zA-Z0-9:_-]{0,49}$` — validation error

## How this service works

Definition descriptions — Literal term matches: Literal term matches 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 literal term matches result.

## Output

Returns the text content of the matched `<dd>` HTML element(s) that literally match the specified term via the given attribute and attribute value, parsed from the provided URL or raw HTML without JavaScript rendering. One bounded result is included 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><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-literal-term-matches-49a385c3/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)
