# Page Link Extractor

> Page Link Extractor is a paid API for AI agents from bess-x402.onrender.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-28).

Extracts all hyperlinks from a web page, categorized as internal or external, with anchor text, nofollow flags, and top external domains.

## Facts

- Endpoint: GET https://bess-x402.onrender.com/v1/web/links?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/page-link-extractor-ec375bf3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aQ6wIech3nQmYyqnPfbyo

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 page-link-extractor-ec375bf3
```

Example prompt: Can you pull all the links from https://www.example.com/blog and split them into internal and external, including the anchor text and whether any are nofollow? Limit to 200 results.

## When to prefer this

Choose this endpoint when you need structured link data from a single page for SEO audits, crawl seed generation, broken-link detection, or outbound link analysis. It is ideal when you need anchor text and nofollow metadata alongside URLs, and when you want internal vs. external link segmentation out of the box without writing a custom scraper.

## Known failure modes

- Invalid or unreachable URL returns an error or empty result
- Rate-limited or bot-blocked pages may return incomplete link data
- Dynamic JavaScript-rendered pages may not expose all links if the page requires JS execution
- Limit parameter out of range (must be 1-1000) returns validation error
- Malformed URL input causes request rejection
- Pages with login walls or paywalls return no links from protected content

## How this service works

Every link on a web page with its anchor text, split into internal and external, with nofollow flags and the most-linked external domains. Use for SEO audits, crawling, backlink research or broken-link checks.

## Output

Returns a structured list of all hyperlinks found on the target page, each with its URL, anchor text, link type (internal or external), and nofollow status. Also includes a summary of the most-linked external domains. Results can be filtered to internal-only, external-only, or all links, and limited by count.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Page URL"
      },
      "limit": {
       "type": "integer",
       "description": "Maximum number of results (1-1000)"
      },
      "scope": {
       "type": "string",
       "description": "all, internal or external"
      }
     }
    }
   },
   "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/page-link-extractor-ec375bf3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bess-x402.onrender.com](https://www.zero.xyz/host/bess-x402.onrender.com/llms.txt)
