# Page Title Attribute Extraction

> Page Title Attribute 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-15).

Extracts a specific HTML attribute value from page title elements on a given URL or supplied HTML, matched by search term, using static parsing without JavaScript rendering.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-title-attributes?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-title-attribute-extraction-a846f420
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gU6C-IlJH2tC7WYi-XhvV

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-title-attribute-extraction-a846f420 -d '<json body>'
```

Example prompt: Pull the 'id' attribute from the page title element on https://example.com/product-guide that contains the word 'product' and tell me what value it has.

## When to prefer this

Choose this endpoint when you need to extract a specific HTML attribute (such as id, class, data-*, or aria-*) from a page title element on a static webpage or supplied HTML snippet, and you do not need JavaScript execution. It is ideal for lightweight metadata audits, accessibility checks, deduplication workflows using previous_texts, or any task where a known attribute on a title element must be retrieved cheaply and quickly without a full headless browser.

## Known failure modes

- URL is inaccessible, behind a login, or returns a non-200 status — no content to parse
- Page relies on JavaScript rendering so title element is not present in static HTML
- No title element matches the specified search term — empty result returned
- Attribute name pattern fails validation (must match ^[a-zA-Z][a-zA-Z0-9:_-]{0,49}$)
- HTML input exceeds 100,000 character limit
- URL exceeds 2,048 character limit
- Attribute requested does not exist on the matched element — null or empty result

## How this service works

Page titles — Attribute extraction: Attribute extraction 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 attribute extraction result.

## Output

Returns a bounded attribute extraction result containing the matched HTML attribute value from the page title element found on the given URL or supplied HTML, filtered by the specified search term and optional attribute value. The response is a single structured result scoped to the matching title element.

## 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-title-attribute-extraction-a846f420/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)
