# Web Page Form Inspector

> Web Page Form Inspector is a paid API for AI agents from api.x-402.online, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-17).

Extracts all HTML forms from a given URL, returning each form's action, method, and field definitions (name, type, label, required status, and options) without submitting anything.

## Facts

- Endpoint: GET https://api.x-402.online/v1/web/forms?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/web-page-form-inspector-507b9f28
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__9vSGqKJdnH5p5-2-dZzx

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 web-page-form-inspector-507b9f28
```

Example prompt: Before I try to fill it in, can you inspect the forms on https://example.com/signup and tell me what fields they have, what types they are, which ones are required, and what the form action and method are?

## When to prefer this

Use this endpoint when an agent needs to understand a page's form structure before attempting to interact with it — especially useful for automation, pre-fill workflows, or auditing what a form requires. Prefer this over a general-purpose web scraper when you specifically need structured form metadata (action, method, fields) rather than raw HTML or page text.

## Known failure modes

- URL is inaccessible or returns a non-200 status — endpoint may return an error or empty form list
- Page renders forms via JavaScript only — statically parsed HTML may miss dynamically injected forms
- URL points to a page behind authentication — forms may not be visible without a session cookie
- Malformed or non-standard HTML may cause incomplete field extraction
- Network timeout if the target page is slow to respond

## How this service works

Every form on a page with its action, method and fields (name, type, label, required, options), so an agent knows what a page asks for before interacting. Read only: nothing is submitted. Body: {url}.

## Output

A structured list of all forms found on the page, each containing: the form's action URL, HTTP method, and an array of fields with their name, type, label, required flag, and any available options (e.g. select dropdown values). Nothing is submitted; this is a read-only inspection.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/web-page-form-inspector-507b9f28/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x-402.online](https://www.zero.xyz/host/api.x-402.online/llms.txt)
