# Web Page Link Extractor

> Web Page Link Extractor is a paid API for AI agents from api.x-402.online, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Fetches a URL and returns deduplicated internal and external links with their anchor text

## Facts

- Endpoint: GET https://api.x-402.online/v1/links
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/web-page-link-extractor-809f9b44
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mmNs6n8vzc23g_ovqlR1L

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 web-page-link-extractor-809f9b44
```

Example prompt: Can you pull all the links from https://example.com/blog — I want to see every internal and external link on the page with their anchor text, deduplicated?

## When to prefer this

Use this endpoint when you need to quickly enumerate all links (with anchor text) from a single URL without setting up your own scraper. Ideal for SEO audits, link graph analysis, content discovery, or checking what external domains a page references. Prefer this over a full crawler when you only need one page's links, not a recursive site crawl.

## Known failure modes

- URL is unreachable or returns non-200 status — empty or error response
- URL points to a non-HTML resource (PDF, image) — no links extracted
- Page requires JavaScript rendering — statically fetched links may be incomplete
- Malformed or missing URL input — validation error
- Rate limiting or access blocked by target server — fetch failure

## How this service works

URL -> deduplicated links, internal/external with anchor text. Input: {url}

## Output

A deduplicated list of all hyperlinks found on the target page, categorized as internal or external, each with its corresponding anchor text.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "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/web-page-link-extractor-809f9b44/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x-402.online](https://www.zero.xyz/host/api.x-402.online/llms.txt)
