# Forms — Structured Extraction

> Forms — Structured 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-21).

Extracts structured data from HTML forms on a public webpage or supplied HTML by targeting a specific form element and attribute.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-forms-items?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forms-structured-extraction-704f0432
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Nk7BGsOOBtM-TsvL6DAhq

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-structured-extraction-704f0432 -d '<json body>'
```

Example prompt: Can you extract the structured form data from https://example.com/signup — specifically find the form with id 'registration' and pull out all fields tagged with the 'name' attribute?

## When to prefer this

Choose this endpoint when you need to extract structured data specifically from HTML forms on a static, publicly accessible webpage or from directly supplied HTML. It is ideal for form auditing, field mapping, and web scraping of form structures without needing JavaScript execution. Prefer this over general-purpose scrapers when your target is form elements and their attributes specifically.

## Known failure modes

- URL is behind a login wall or requires JavaScript rendering — endpoint only does static parsing
- URL is not publicly accessible or returns a non-200 status
- HTML content exceeds 100,000 character limit
- Attribute name doesn't match the pattern ^[a-zA-Z][a-zA-Z0-9:_-]{0,49}$
- No matching form element found for the given term/attribute/attribute_value combination
- Malformed or invalid HTML provided
- URL exceeds 2048 character limit

## How this service works

Forms — Structured extraction: Structured 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 structured extraction result.

## Output

A bounded structured extraction result containing the matched form element(s) from the page or supplied HTML, including the identified attributes, field names, and relevant metadata extracted via static HTML parsing (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><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-structured-extraction-704f0432/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)
