# Forms — Attribute Extraction

> Forms — 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-11-17).

Extracts the value of a specified HTML attribute from form elements on a public webpage or supplied HTML, using static parsing without JavaScript rendering.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-forms-attributes?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forms-attribute-extraction-d6f78656
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NOD-tjKwKPoWpdQgXNmaa

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 forms-attribute-extraction-d6f78656 -d '<json body>'
```

Example prompt: Look at the page at https://example.com/signup and extract the 'data-form-type' attribute from the form element that contains the term 'registration', and tell me its value.

## When to prefer this

Choose this endpoint when you need to extract a specific named HTML attribute from a form element on a static public webpage or a known HTML snippet, and you do not need JavaScript execution. It is ideal for quick, low-cost ($0.01) form inspection tasks such as auditing form IDs, data attributes, or action URLs without setting up a full browser automation pipeline. Prefer alternatives if the target page is behind authentication, requires JavaScript to render, or if you need to extract structured form field data beyond a single attribute value.

## Known failure modes

- URL is not publicly accessible or requires login — returns no result or error
- Page requires JavaScript rendering to expose the form — static parser finds no form
- Attribute name does not match pattern ^[a-zA-Z][a-zA-Z0-9:_-]{0,49}$ — validation error
- No form element matches the provided search term — empty result
- HTML input exceeds 100,000 character limit — rejected
- URL exceeds 2,048 character limit — rejected
- Target site blocks crawlers or returns non-200 status — parse failure

## How this service works

Forms — Attribute extraction: Attribute extraction for Forms. 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 value of the requested HTML attribute found on matching form elements within the provided URL or HTML. The result is derived from static parsing only — no JavaScript is executed.

## Request schema (JSON Schema)

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