# extract-links-as-markdown

> extract-links-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 web page URL and extracts all hyperlinks, returning them as a Markdown list with a count

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/page/links/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-links-as-markdown-8f843aeb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_X-WMrfn7DPa6oxPXkizOo

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-links-as-markdown-8f843aeb
```

Example prompt: Can you pull all the links from https://example.com/blog and give me them as a markdown list so I can see where that page links to?

## When to prefer this

Choose this endpoint when you need a clean, structured Markdown list of all hyperlinks on a page without running a full browser. It is ideal for agents and pipelines that need link data quickly at low cost ($0.01/page) and don't need the full page content, just links. Prefer it over full-page scraping endpoints when you only care about anchor elements.

## Known failure modes

- URL is unreachable or returns a non-200 status — empty result or error returned
- Page has no links — returns an empty list with count of 0
- Page is JavaScript-rendered (SPA) — links injected by JS may not be captured since no browser is used
- Invalid or malformed URL input — request fails with an error
- Rate limiting or access denial by the target server — fetch fails

## How this service works

Extract the page's links as markdown: fetches the URL, pulls every links 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 hyperlink elements found on the fetched page, including anchor text and URLs, along with a total count of links found.

## 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-links-as-markdown-8f843aeb/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)
