# Form Detection API

> Form Detection API is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Detects and classifies all forms on a webpage, returning each form's action URL, HTTP method, field names/types, form classification, and HTTPS security status.

## Facts

- Endpoint: GET https://intel.rallylive.ca/site/forms
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/form-detection-api-94f3e695
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Zz_7Ivj_wegKB8RfFShFw

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-detection-api-94f3e695
```

Example prompt: Can you scan the page at https://example.com/register and tell me all the forms it has — what type they are (login, signup, contact, etc.), what fields they include, and whether any passwords are submitted over HTTPS?

## When to prefer this

Use this endpoint when you need to understand the interactive structure of a webpage — specifically what forms exist and what they do. It's ideal for security audits (detecting password fields over HTTP), competitive research (understanding signup/login flows), lead generation audits, and automated web analysis pipelines. Prefer this over a generic HTML fetch when you specifically need structured form metadata and classification rather than raw markup.

## Known failure modes

- Page URL is unreachable or returns a non-200 status — no forms returned
- Page has no HTML forms — returns an empty list
- Page uses JavaScript-rendered forms (SPAs) that aren't in the raw HTML — forms may be missed
- Malformed or unusual form markup may cause incomplete field extraction
- HTTPS check may be inconclusive if form action uses a relative URL

## How this service works

Form detection on a page: every form with its action URL, method, field names and types, and a classification (login, signup, search, newsletter, contact, checkout, other), plus whether passwords are posted over HTTPS. Understand what a page lets a user do. $0.01 per page.

## Output

A structured list of every form found on the page, each containing: the form's action URL, HTTP method (GET/POST), all field names and their input types, a classification label (login, signup, search, newsletter, contact, checkout, or other), and a boolean indicating whether passwords are transmitted over HTTPS.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "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/form-detection-api-94f3e695/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
