# Link Labels — Attribute Extraction

> Link Labels — Attribute Extraction 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-20).

Extracts a specific HTML attribute value from anchor tags on a web page or supplied HTML, filtered by link label text matching a search term.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-links-attributes?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/link-labels-attribute-extraction-14daec0b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iQoDFca9O8al8NRfTOxLi

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-attribute-extraction-14daec0b -d '<json body>'
```

Example prompt: On the page at https://example-store.com/products, find the anchor tag whose label matches 'product guide' and return its id attribute value.

## When to prefer this

Use this endpoint when you need to extract a specific HTML attribute (e.g. href, id, data-*, class) from a hyperlink whose label text is known, on a publicly accessible static web page or a known HTML fragment. Prefer this over general-purpose scrapers when you only need a single bounded attribute result from a link element and want a low-cost ($0.01), deterministic, static-parse solution without JavaScript rendering overhead.

## Known failure modes

- URL is not publicly accessible or returns a non-200 status
- Page requires JavaScript rendering which is not supported
- No anchor tag label matches the supplied term
- Specified attribute does not exist on matching anchor elements
- HTML content exceeds 100,000 character limit
- Attribute name does not match the required pattern (must start with a letter, alphanumeric/colon/underscore/hyphen, max 50 chars)
- Term parameter is empty or missing

## How this service works

Link labels — Attribute extraction: Attribute extraction 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 attribute extraction result.

## Output

Returns the extracted attribute value from the first matching anchor element whose label text matches the supplied term, based on static HTML parsing of the provided URL or HTML string. Result is bounded to one attribute extraction 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><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-attribute-extraction-14daec0b/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)
