# Address Blocks HTML Fragment Extractor

> Address Blocks HTML Fragment Extractor 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).

Extracts HTML <address> element fragments from a public webpage or supplied HTML by matching element attributes and search terms

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-addresses-html?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/address-blocks-html-fragment-extractor-1f3bef88
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NaPBUyt4LmcaAccRPiCqO

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-fragment-extractor-1f3bef88 -d '<json body>'
```

Example prompt: Extract the address block from https://example.com/contact that has the id attribute set to 'main-address', looking for the term 'headquarters'.

## When to prefer this

Choose this endpoint when you need to extract specifically <address> HTML elements from a static public page or known HTML string, and you can identify the target by a known attribute name and value. It is purpose-built for address block extraction rather than general-purpose HTML scraping, making it more precise when address-specific semantic content is the target. Use it when JavaScript rendering is not required and the page is publicly accessible.

## Known failure modes

- URL is behind a login or JavaScript rendering — static parser cannot access dynamic content
- No <address> element matches the specified attribute and term — empty result returned
- URL is unreachable or returns a non-200 status — fetch failure
- HTML input exceeds 100,000 character limit — rejected
- attribute pattern does not match regex — validation error
- term is empty or missing — validation error

## How this service works

Address blocks — HTML fragment extraction: HTML fragment 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 html fragment extraction result.

## Output

A bounded HTML fragment result containing the matched <address> element's content extracted from the provided URL or HTML, filtered by the specified attribute name, attribute value, and search term. Returns up to one result 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><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-fragment-extractor-1f3bef88/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)
