# Level-One Headings Structured Extraction

> Level-One Headings Structured 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-21).

Extracts H1 heading elements and their attributes from a public webpage or supplied HTML using static parsing.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-h1-items?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/level-one-headings-structured-extraction-23f36d84
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ywdP2pDGTp1C3UEC_PyZX

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 level-one-headings-structured-extraction-23f36d84 -d '<json body>'
```

Example prompt: Pull all H1 headings from https://example.com/product-guide and tell me which ones have the attribute 'data-kind' set to 'example', filtering by the term 'product'.

## When to prefer this

Choose this endpoint when you need fast, static extraction of H1 heading elements from a public webpage or raw HTML snippet, especially when you want to filter by specific attributes or terms. It is ideal for SEO audits, content QA, and heading structure analysis where JavaScript rendering is not required. Prefer this over general-purpose scrapers when you need a lightweight, cost-effective ($0.01 USDC) single-operation extraction scoped specifically to H1 elements.

## Known failure modes

- URL is not publicly accessible or returns a non-200 status — extraction fails with an error
- HTML content exceeds 100,000 character limit — request rejected
- JavaScript-rendered content not available — only static HTML is parsed, dynamic headings may be missing
- No H1 elements found matching the term or attribute filter — empty result returned
- Invalid attribute name pattern — request validation error

## How this service works

Level-one headings — Structured extraction: Structured extraction for Level-one headings. 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 structured extraction result.

## Output

Returns a bounded structured extraction result containing the H1 heading elements found in the page or HTML, including their text content and specified attribute values, filtered by the provided term and attribute criteria.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "default": "",
   "maxLength": 2048
  },
  "html": {
   "type": "string",
   "default": "<!doctype html><html><head></head><body><h1 id=\"sample\" data-kind=\"example\">Example product guide</h1></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/level-one-headings-structured-extraction-23f36d84/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)
