# extract-forms-as-markdown

> extract-forms-as-markdown is a paid API for AI agents from page.intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Fetches a webpage URL and extracts all HTML form elements, returning them as a Markdown list with a count of forms found.

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/page/forms/markdown?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/extract-forms-as-markdown-958f9a1d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QcwQYJBUi3GWpZ9XroNaj

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 extract-forms-as-markdown-958f9a1d
```

Example prompt: Can you extract all the forms from https://example.com/contact and show them to me as a markdown list?

## When to prefer this

Choose this endpoint when you need a lightweight, serverless way to extract HTML form elements from a webpage without spinning up a browser or headless Chrome. Ideal for agents and pipelines that need structured Markdown output of form fields for auditing, comparison, or QA tasks. Best when forms are server-rendered (not JavaScript-only) and you want a quick, low-cost ($0.01) single-page extraction.

## Known failure modes

- URL is unreachable or returns a non-200 status — endpoint may return an error or empty result
- Page has no forms — returns an empty list with a count of zero
- Dynamically rendered forms (JavaScript-only) may not be captured since no browser is used
- Malformed or deeply nested HTML may cause incomplete form extraction
- Invalid or missing URL parameter results in a bad request error

## How this service works

Extract the page's forms as markdown: fetches the URL, pulls every forms element and returns them as a Markdown list, with a count. Structured, one-element-type extraction for agents and pipelines; no browser needed. $0.01 per page.

## Output

A Markdown-formatted list of all form elements found on the fetched page, including form fields, input types, labels, and buttons, along with a total count of forms detected. No browser rendering is required; the extraction is performed on the raw HTML.

## 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/extract-forms-as-markdown-958f9a1d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from page.intel.rallylive.ca](https://www.zero.xyz/host/page.intel.rallylive.ca/llms.txt)
