# Aside Blocks HTML Fragment Extraction

> Aside Blocks HTML Fragment 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 HTML fragment content from <aside> elements in a webpage or supplied HTML by matching on a specified attribute and search term

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-asides-html?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/aside-blocks-html-fragment-extraction-32558908
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_V-ysU8uPLx-EetV_IvatB

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 aside-blocks-html-fragment-extraction-32558908 -d '<json body>'
```

Example prompt: Extract the aside block with id 'related-links' from this page https://example.com/article and use the term 'guide' to match it — I want the HTML fragment inside that aside element.

## When to prefer this

Use this endpoint when you need to extract <aside> HTML fragments from static web pages or raw HTML strings by matching on a specific element attribute. It is ideal for pulling sidebar content, callout boxes, supplementary notes, or related-links blocks from article or documentation pages without needing full-page rendering. Prefer this over general-purpose scrapers when you specifically target aside elements and want lightweight, low-cost per-call extraction with deduplication support.

## Known failure modes

- No aside element found matching the given attribute and value — returns empty or null result
- URL is inaccessible, returns a network or HTTP error
- HTML exceeds 100,000 character limit — input truncated or rejected
- JavaScript-rendered content not accessible — only static HTML is parsed
- Invalid attribute name pattern causes validation error
- Term not found within any aside element — no match returned

## How this service works

Aside blocks — HTML fragment extraction: HTML fragment extraction for Aside 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

Returns a bounded HTML fragment extracted from the matched <aside> element, including its inner content, filtered by the specified attribute name and value and matching the provided search term. Deduplication against previously seen texts is supported.

## Request schema (JSON Schema)

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