# Aside Blocks Element Count

> Aside Blocks Element Count 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).

Counts the number of <aside> HTML elements on a given web page or in supplied HTML, with optional filtering by attribute, attribute value, and term.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-asides-count?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/aside-blocks-element-count-2cfa4163
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hTK4XvcVldK5mEBtvQ1Tn

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-element-count-2cfa4163 -d '<json body>'
```

Example prompt: Can you count how many aside blocks are on https://example.com/blog/article — specifically look for ones where the id attribute equals 'sidebar' and the term 'product' appears?

## When to prefer this

Choose this endpoint when you need a fast, low-cost static count of <aside> HTML elements on a public web page or raw HTML snippet, with optional filtering by attribute and term. It is ideal for web audits, content structure analysis, HTML template validation, or SEO checks where JavaScript rendering is not required and only aside element counts are needed.

## Known failure modes

- URL is inaccessible or returns a non-200 HTTP response
- HTML exceeds the 100,000 character limit
- URL exceeds 2,048 character limit
- Term parameter is empty or missing (minLength:1 required)
- Attribute name fails the pattern validation (must start with a letter, alphanumeric/colon/underscore/hyphen only, max 50 chars)
- Page requires JavaScript rendering which is not supported
- Login-protected pages cannot be accessed

## How this service works

Aside blocks — Element count: Element count 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 element count result.

## Output

Returns a bounded integer count of <aside> HTML elements found in the parsed page or supplied HTML, optionally filtered by attribute name, attribute value, and term match. Static parsing only — no JavaScript rendering.

## 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-element-count-2cfa4163/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)
