# Extract Canonical and Alternates as Markdown

> Extract Canonical and Alternates 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-12).

Fetches a web page URL, extracts all canonical and alternate link elements, and returns them as a formatted Markdown list with a count.

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/page/canonical-and-alternates/markdown?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/extract-canonical-and-alternates-as-markdown-b85e6669
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bajYLJe4dqpEl_-2tqPBI

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-canonical-and-alternates-as-markdown-b85e6669
```

Example prompt: Can you fetch https://example.com/blog/my-post and extract all canonical and alternate link elements from the page, returning them as a Markdown list?

## When to prefer this

Choose this endpoint when you need a clean, structured Markdown list of only canonical and alternate link elements from a page — ideal for SEO audits, hreflang discovery, and content deduplication pipelines. It requires no browser and is cheaper and faster than full-page scraping when you only need these specific link elements. Prefer it over generic scraping endpoints when your downstream pipeline expects Markdown-formatted output with a count.

## Known failure modes

- URL is unreachable or returns a non-200 status — endpoint may return an empty list or error
- Page has no canonical or alternate elements — returns an empty Markdown list with a count of 0
- Malformed or relative URLs in the page's link elements may be returned as-is
- Pages with JavaScript-rendered metadata may be missed since no browser is used
- Rate limits or payment failures (x402) may block the request

## How this service works

Extract the page's canonical and alternates as markdown: fetches the URL, pulls every canonical and alternates 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 canonical and alternate link elements found on the fetched page, along with a count of how many elements were extracted. Each item in the list represents one canonical or alternate link element discovered in the page's HTML head.

## 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-canonical-and-alternates-as-markdown-b85e6669/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)
