# Form Labels — Distinct Value Extraction

> Form Labels — Distinct Value 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-18).

Extracts distinct (unique) values from HTML form label elements on a given webpage or supplied HTML, filtered by a search term and attribute.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-labels-unique?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/form-labels-distinct-value-extraction-6f6f5080
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gvWg_CGzmpy912jdCCXgz

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 form-labels-distinct-value-extraction-6f6f5080 -d '<json body>'
```

Example prompt: Pull all the distinct 'id' attribute values from label elements on https://example.com/signup that contain the word 'product', and skip any you've already seen like 'Older example'.

## When to prefer this

Use this endpoint when you need to enumerate distinct or unique values from HTML label elements on a static, publicly accessible webpage or a supplied HTML snippet. It is ideal for auditing form structures, inventorying label attributes, or deduplicating label data without needing JavaScript rendering or authentication bypass. Prefer it over general-purpose scrapers when your target is specifically form label elements and deduplication is required.

## Known failure modes

- URL is inaccessible, private, or requires login — static parser cannot bypass authentication
- JavaScript-rendered content is not parsed — dynamically injected labels will be missing
- No matching label elements found — returns empty result set
- HTML input exceeds 100,000 character limit — request rejected
- Attribute name does not match pattern — validation error returned
- Search term is empty or missing — minimum length violation

## How this service works

Form labels — Distinct value extraction: Distinct value extraction for Form 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 distinct value extraction result.

## Output

Returns a bounded set of distinct values extracted from HTML label elements on the target page or supplied HTML, filtered by the given search term and scoped to the specified attribute. Duplicates are removed and previously seen values can be excluded.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "default": "",
   "maxLength": 2048
  },
  "html": {
   "type": "string",
   "default": "<!doctype html><html><head></head><body><label id=\"sample\" data-kind=\"example\">Example product guide</label></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/form-labels-distinct-value-extraction-6f6f5080/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)
