# Page Titles – Text Length Statistics

> Page Titles – Text Length Statistics 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-15).

Extracts and computes text length statistics for page title elements from a URL or raw HTML, with optional filtering by attribute and term.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-title-lengths?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/page-titles-text-length-statistics-fcdbf346
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4W5ZLMygHc1O_EqQEqbsL

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 page-titles-text-length-statistics-fcdbf346 -d '<json body>'
```

Example prompt: Can you pull the page title from https://example.com/product-guide and give me text length statistics for it — I want to know the character count and how it compares to my previous title 'Older product overview'?

## When to prefer this

Choose this endpoint when you need lightweight, static extraction and character-length measurement of HTML page title elements without JavaScript rendering overhead. It is ideal for SEO auditing, content QA pipelines, and comparing title lengths across document versions. Prefer it over full-page scrapers when you only need title text metrics and want a low-cost ($0.01), fast, deterministic result.

## Known failure modes

- URL is inaccessible or returns non-200 status — no title extracted
- HTML contains no matching title element for the given attribute/attribute_value — empty result
- URL requires JavaScript rendering — static parser cannot execute JS, returns incomplete or missing title
- HTML exceeds 100,000 character limit — request rejected
- Invalid attribute pattern — request validation error
- URL exceeds 2048 characters — request rejected

## How this service works

Page titles — Text length statistics: Text length statistics for Page titles. 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 statistics result.

## Output

Returns bounded text length statistics for the page title found at the given URL or within the supplied HTML, including character counts and distributional metrics relative to any provided previous texts. One result is returned per call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "default": "",
   "maxLength": 2048
  },
  "html": {
   "type": "string",
   "default": "<!doctype html><html><head></head><body><title id=\"sample\">Example product guide</title></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/page-titles-text-length-statistics-fcdbf346/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)
