# extract-h1-as-markdown

> extract-h1-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 web page and extracts all H1 heading elements, returning them as a formatted Markdown list with a count

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/page/h1/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-h1-as-markdown-5e6a002f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6nq_qIni3utrtJisDqCxC

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-h1-as-markdown-5e6a002f
```

Example prompt: Can you grab all the H1 headings from https://example.com and give them back to me as a Markdown list?

## When to prefer this

Choose this endpoint when you need a lightweight, structured extraction of only H1 headings from a web page in Markdown format, without spinning up a browser or full-page scraper. Ideal for SEO audits, content pipelines, or agent workflows that need just the top-level headings quickly and cheaply at $0.01 per page. Prefer over full-page or multi-element extractors when H1 isolation is the goal.

## Known failure modes

- URL is unreachable or returns a non-200 status — endpoint may return an error or empty result
- Page has no H1 elements — returns an empty list with count of 0
- Malformed or missing URL parameter — request fails with a validation error
- Page blocks crawlers via robots.txt or requires JavaScript rendering — content may not be extracted correctly
- Network timeout if the target page is slow to respond

## How this service works

Extract the page's h1 as markdown: fetches the URL, pulls every h1 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 H1 elements found on the fetched page, along with a count of how many H1 elements were found. Output is structured for easy consumption by agents and automated pipelines.

## 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-h1-as-markdown-5e6a002f/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)
