# Time Labels HTML Fragment Extraction

> Time Labels HTML Fragment 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-26).

Extracts HTML fragments containing <time> elements from a webpage or supplied HTML by matching a term and optional attribute/value filter.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-times-html?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-26
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/time-labels-html-fragment-extraction-46e01658
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oUm12uFU7wzcF9EmmTjvI

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 time-labels-html-fragment-extraction-46e01658 -d '<json body>'
```

Example prompt: Can you extract the <time> HTML fragment from https://example.com/blog/post that matches the term 'published' and has the attribute 'id' with value 'post-date'?

## When to prefer this

Choose this endpoint when you need to extract <time> element HTML fragments from a static webpage or raw HTML string, particularly when filtering by a keyword term and an HTML attribute/value pair. It is ideal for lightweight, low-cost ($0.01) single-page time label extraction without needing a full browser render. Prefer it over generic scrapers when the target is specifically <time> tags and you want a bounded HTML fragment rather than full-page data.

## Known failure modes

- URL is unreachable or returns a non-200 status — extraction fails with no content
- No <time> element matching the given term and attribute/value combination is found — empty result returned
- HTML exceeds 100,000 character limit — input rejected
- Attribute parameter does not match the required pattern — validation error
- Dynamic/JavaScript-rendered content not present in static HTML — time element missing from result
- URL requires login or access bypass — content unavailable

## How this service works

Time labels — HTML fragment extraction: HTML fragment extraction for Time labels. 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 html fragment extraction result.

## Output

Returns a bounded HTML fragment containing the matched <time> element(s) from the parsed page or supplied HTML, based on the provided search term and optional attribute/value filter. The result is a static extraction with 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><time id=\"sample\" data-kind=\"example\">Example product guide</time></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/time-labels-html-fragment-extraction-46e01658/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)
