# Delx Commerce — Forms Extract

> Delx Commerce — Forms Extract is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-01).

Extracts all HTML forms from a given webpage URL, returning structured data about each form's inputs, methods, and actions

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/forms-extract?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-forms-extract-db93e558
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tWBLtUo8U87Ux9UY6G-kz

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 delx-commerce-forms-extract-db93e558 -d '<json body>'
```

Example prompt: Can you extract all the forms from https://example.com/login and tell me what input fields they have, what method they use, and where they submit to? Use a 10-second timeout.

## When to prefer this

Use this endpoint when you need to quickly discover and map HTML forms on a webpage without writing custom scraping logic. It is ideal for agents that need to automate form submission, audit website contact or login pages, or understand page structure before interacting with it. Prefer this over general-purpose scrapers when you specifically need structured form metadata (inputs, methods, actions) rather than raw page content. At $0.01 USDC per call with no signup required and pay-per-use billing via x402, it is well-suited for lightweight agent workflows that occasionally need form inspection.

## Known failure modes

- URL is unreachable or returns non-200 response — may return empty forms array or an error
- Timeout exceeded (max 15 seconds) — request may fail or return partial results
- Page uses JavaScript-rendered forms that are not present in static HTML — forms may not be detected
- Malformed or non-HTML URL provided — extraction fails with an error
- URL points to a PDF or binary file — no forms returned

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object containing a list of forms found on the page. Each form includes its action URL, HTTP method, the count of inputs, and an array of input fields with their tag, name, type, and required status. Also includes a top-level form_count indicating how many forms were found.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string"
  },
  "timeout": {
   "type": "integer",
   "maximum": 15,
   "minimum": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "forms": [
    {
     "action": "https://example.com/session",
     "inputs": [
      {
       "tag": "input",
       "name": "email",
       "type": "email",
       "required": true
      },
      {
       "tag": "input",
       "name": "password",
       "type": "password",
       "required": true
      }
     ],
     "method": "POST",
     "input_count": 2
    }
   ],
   "form_count": 1
  },
  "tool_name": "util_forms_extract"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-forms-extract-db93e558/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
