# Link Labels — Term Context Excerpts

> Link Labels — Term Context Excerpts 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-16).

Extracts surrounding text context for a given term from hyperlink labels on a webpage, given either a URL or raw HTML.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-links-contexts?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/link-labels-term-context-excerpts-753a6bee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KZKgpAnPmnPJmBj6HODo6

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 link-labels-term-context-excerpts-753a6bee -d '<json body>'
```

Example prompt: Look at the page at https://example.com/docs and find all the link labels that contain the word 'guide', then give me the surrounding context excerpts for each one — the link element has the attribute id with value 'sample'.

## When to prefer this

Use this endpoint when you need to extract how a specific term is used within hyperlink label text on a static webpage, and you have either the URL or raw HTML available. It is ideal for SEO audits, accessibility reviews, competitive analysis of link text, or understanding the contextual framing of anchor text. Prefer this over general-purpose scrapers when you specifically need term-focused link label excerpts rather than full-page content extraction.

## Known failure modes

- URL is inaccessible, behind a login, or returns a non-200 status — no content can be extracted
- Term not found in any link labels on the page — returns empty excerpt set
- HTML exceeds 100,000 character limit — request rejected
- Both url and html fields are empty — no content to parse
- Attribute pattern validation fails if attribute name contains invalid characters
- Page requires JavaScript rendering to display link content — static parser returns incomplete results

## How this service works

Link labels — Term context excerpts: Term context excerpts for Link labels. 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 term context excerpts result.

## Output

Returns bounded text excerpts showing the term in context within link labels found on the parsed page. Each result includes the surrounding text snippet around the matched term from anchor/link elements, limited to one result set per call. No JavaScript rendering is performed — only static HTML parsing is used.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "default": "",
   "maxLength": 2048
  },
  "html": {
   "type": "string",
   "default": "<!doctype html><html><head></head><body><a href=\"https://www.iana.org/\" id=\"sample\">Example product guide</a></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/link-labels-term-context-excerpts-753a6bee/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)
