# Page Header Blocks — Joined Text Extraction

> Page Header Blocks — Joined Text 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-11-18).

Extracts and joins the visible text content from header blocks on a web page or supplied HTML, optionally filtered by attribute and term.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-headers-text?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/page-header-blocks-joined-text-extraction-207cfa06
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8cz3Q-QNHsELUIwOyKTkv

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 page-header-blocks-joined-text-extraction-207cfa06 -d '<json body>'
```

Example prompt: Can you extract the joined text from the header blocks on https://example.com/product-guide, looking for any headers with the attribute 'id' set to 'main-header' and the term 'product'?

## When to prefer this

Use this endpoint when you need to extract and join the visible text content specifically from header-block elements on a static HTML page, optionally narrowing results by a specific HTML attribute and term. It is purpose-built for header blocks (not generic full-page text extraction or body content), uses static parsing without JavaScript rendering, and is cost-effective at $0.01 per call. Prefer it over general scraping tools when your target is page headers identified by known attribute patterns.

## Known failure modes

- URL is unreachable or returns a non-200 status — extraction fails with no content
- Provided HTML is malformed or too large (>100KB) — parse may fail or return empty result
- No header blocks match the given term/attribute/attribute_value combination — returns empty result
- JavaScript-rendered content not captured — static parser only, dynamic headers will be missed
- URL requires login or access control — no bypass, content unavailable

## How this service works

Page header blocks — Joined text extraction: Joined text extraction for Page header 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 joined text extraction result.

## Output

Returns a single bounded joined-text result containing the concatenated visible text from matching page header blocks found in the fetched URL or provided HTML, filtered by the given term, attribute name, and attribute value where specified.

## Request schema (JSON Schema)

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