# extract-comments-as-markdown

> extract-comments-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-20).

Fetches a URL and extracts all HTML comment elements, returning them as a formatted Markdown list with a count

## Facts

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

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-comments-as-markdown-3b2d81d2
```

Example prompt: Can you extract all the HTML comments from https://example.com/page and give me back a markdown list of everything you find?

## When to prefer this

Choose this endpoint when you need to extract only HTML comment nodes from a web page and want the output as a structured Markdown list — ideal for agent pipelines, QA audits, or developer tooling where browser automation is not available or desired. Prefer over scraping full page content when only comments are needed. Use the CSV or JSON sibling endpoints if downstream processing requires tabular or structured data instead.

## Known failure modes

- URL is unreachable or returns a non-200 status — endpoint may return an error or empty result
- Page has no HTML comments — returns an empty list with a count of zero
- Malformed URL input — request fails with a validation error
- Page is behind authentication or a bot wall — content may be inaccessible
- Payment failure — x402 payment not completed, request rejected

## How this service works

Extract the page's comments as markdown: fetches the URL, pulls every comments 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 HTML comment elements found on the target page, along with a total count of comments discovered. The output is structured for easy reading or downstream pipeline processing.

## 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-comments-as-markdown-3b2d81d2/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)
