# Extract Internal Links as Text

> Extract Internal Links as Text 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 webpage and extracts all internal links as plain text lines with a count, without requiring a browser.

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/page/internal-links/text?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-internal-links-as-text-c7a83a9b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mWDNtaTyg8Re66Rlmh8p8

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-internal-links-as-text-c7a83a9b
```

Example prompt: Can you pull all the internal links from https://example.com/blog and give me a plain text list with a count of how many there are?

## When to prefer this

Choose this endpoint when you need a structured, plain-text list of internal links from a single webpage without spinning up a browser or parsing raw HTML yourself. It is ideal for agent pipelines and automation workflows that need lightweight, consistent link extraction at low cost ($0.01/page). Prefer it over full-page scraping endpoints when you only need internal navigation links specifically.

## Known failure modes

- URL is unreachable or returns a non-200 status — no links returned
- Page has no internal links — returns empty list with count of 0
- Malformed URL input — request fails with error
- Page is JavaScript-rendered and content is not accessible without a browser — links may be missing
- Rate limiting or network timeout on the target URL

## How this service works

Extract the page's internal links as text: fetches the URL, pulls every internal links element and returns them as plain lines, with a count. Structured, one-element-type extraction for agents and pipelines; no browser needed. $0.01 per page.

## Output

A plain text response containing each internal link on its own line, along with a total count of internal links found on the fetched page.

## 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-internal-links-as-text-c7a83a9b/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)
