# Level-two Headings Text Length Ranking

> Level-two Headings Text Length Ranking 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-13).

Ranks H2 heading text by length from a supplied URL or HTML, filtered and scored against a search term and optional attribute match.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-h2-rank?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/level-two-headings-text-length-ranking-1b4eb941
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fCeDzcN4P8hLsk0m9jewG

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-two-headings-text-length-ranking-1b4eb941 -d '<json body>'
```

Example prompt: Rank all the H2 headings by text length on https://example.com/docs/guide — search for the term 'product' and compare against these previous headings: ['Old guide intro', 'Legacy overview'].

## When to prefer this

Choose this endpoint when you need a lightweight, static parse of H2 headings ranked by text length from a public webpage or raw HTML snippet, without needing full JavaScript rendering or login access. It is ideal for SEO audits, content quality checks, or heading length comparisons against historical baselines, and is cost-effective at $0.01 USDC per call.

## Known failure modes

- URL is unreachable or returns a non-200 status — no headings extracted
- Page requires JavaScript rendering — static parser returns no H2s
- HTML input exceeds 100,000 character limit — request rejected
- No H2 headings found in the supplied content — empty ranking returned
- Invalid attribute name pattern — request validation error
- term parameter missing or too short — validation error

## How this service works

Level-two headings — Text length ranking: Text length ranking for Level-two 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 text length ranking result.

## Output

Returns a bounded text length ranking result for all H2 headings found in the page or HTML, including each heading's text and its length-based rank, optionally filtered by attribute and attribute value, and contextualized against any previously supplied heading texts.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "default": "",
   "maxLength": 2048
  },
  "html": {
   "type": "string",
   "default": "<!doctype html><html><head></head><body><h2 id=\"sample\" data-kind=\"example\">Example product guide</h2></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-two-headings-text-length-ranking-1b4eb941/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)
