# Address Blocks — HTML Attribute Extraction

> Address Blocks — HTML 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 address elements on a given webpage or HTML snippet, filtered by a search term.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-addresses-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/address-blocks-html-attribute-extraction-3efe4664
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cuw9UCrbu_xgNtgzjTkvx

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 address-blocks-html-attribute-extraction-3efe4664 -d '<json body>'
```

Example prompt: From the page at https://example.com/contact, find the address element that contains the word 'billing' and extract its 'data-region' attribute value.

## When to prefer this

Choose this endpoint when you need to extract a specific HTML attribute (e.g. id, class, data-*) from address elements on a static, publicly accessible webpage or a supplied HTML snippet, and you do not need JavaScript rendering. Ideal for structured scraping of contact blocks, address metadata, or semantic HTML tagging on pages that serve full HTML server-side.

## Known failure modes

- URL is not publicly accessible or requires login — returns no result or error
- Page uses JavaScript rendering to populate address elements — static parser will find empty or missing elements
- Attribute name does not match any address element on the page — returns empty or null result
- HTML input exceeds 100,000 character limit — request rejected
- Term does not match any address block content — no result returned
- Invalid attribute name format (not matching pattern ^[a-zA-Z][a-zA-Z0-9:_-]{0,49}$) — schema validation error

## How this service works

Address blocks — Attribute extraction: Attribute extraction for Address blocks. 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 value of the requested HTML attribute from the address element(s) on the given page or HTML input that match the specified search term and optional attribute value filter.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "default": "",
   "maxLength": 2048
  },
  "html": {
   "type": "string",
   "default": "<!doctype html><html><head></head><body><address id=\"sample\" data-kind=\"example\">Example product guide</address></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/address-blocks-html-attribute-extraction-3efe4664/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)
