# Emphasised Text — Text Length Ranking

> Emphasised Text — 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 emphasized HTML elements by text length on a given webpage or supplied HTML, using static parsing with a specified search term and attribute filter.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-emphasis-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/emphasised-text-text-length-ranking-10eb7f01
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BibG3sV_bXvtKPONg54Gb

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 emphasised-text-text-length-ranking-10eb7f01 -d '<json body>'
```

Example prompt: Can you rank the emphasized text elements on https://example.com/product-guide by text length, looking for elements with the id attribute set to 'highlight', searching for the term 'guide', and compare against these previous texts: ['Old product overview', 'Earlier feature summary']?

## When to prefer this

Use this endpoint when you need to statically parse and rank emphasized HTML elements (e.g. <em> tags) by text length from a public webpage or raw HTML, with optional filtering by HTML attribute and comparison against historical text samples. Prefer this over general scraping endpoints when the specific goal is length-based ranking of emphasis-marked content.

## Known failure modes

- URL is inaccessible or returns a non-200 HTTP status — parsing fails with no result
- HTML content exceeds 100,000 character limit — request rejected
- No emphasized elements matching the specified attribute and attribute_value found — empty or null ranking returned
- Term not found within any emphasized element — ranking may return zero-match result
- JavaScript-rendered content not parsed — dynamically loaded em elements will be missed
- previous_texts array exceeds 200 items — request rejected

## How this service works

Emphasised text — Text length ranking: Text length ranking for Emphasised text. 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 emphasized HTML elements found on the given page or in the supplied HTML. The result includes the ranked position of the matched emphasized text by character length, relative to previous texts if supplied, using the specified attribute and term filters.

## Request schema (JSON Schema)

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