# x402 Web Tools – Link Extractor

> x402 Web Tools – Link Extractor is a paid API for AI agents from q7w9tnp09rjt5ccj.68r.lambda-web.us-east-1.on.aws, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-29).

Extracts every distinct link from a public web page as absolute URLs with anchor text, classified as internal or external and nofollow-flagged, up to 500 links.

## Facts

- Endpoint: GET https://q7w9tnp09rjt5ccj.68r.lambda-web.us-east-1.on.aws/v1/links?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-web-tools-link-extractor-17d6b0b7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sSYBoz1UutjlgNEhpzPaF

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 x402-web-tools-link-extractor-17d6b0b7
```

Example prompt: Can you extract all the links from https://example.com/blog — I want to see every URL with its anchor text and whether each one is internal or external?

## When to prefer this

Use this endpoint when you need a structured, classified list of all hyperlinks on a public web page — particularly when you care about distinguishing internal vs external links, nofollow attributes, and anchor texts. Prefer it over full-page scraping tools when you only need link data, not page content, as it returns clean structured output rather than raw HTML or Markdown.

## Known failure modes

- Invalid or non-HTTPS URL returns an error
- Private or authentication-gated pages may return no links or an access error
- Pages with JavaScript-only rendered links may be missed (static HTML parsing only)
- Pages with more than 500 links are truncated at 500
- Malformed HTML may result in incomplete link extraction
- Slow or unresponsive pages may time out

## How this service works

Every distinct link on a public web page as absolute URLs with their anchor text, marked internal or external and nofollow, up to 500.

## Output

A JSON object containing an array of up to 500 link objects, each with the absolute URL, anchor text, an internal boolean, and a nofollow boolean. Also includes summary counts: total unique links, number of external links, and number of internal links.

## 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",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "https URL of the page"
      },
      "only": {
       "enum": [
        "all",
        "internal",
        "external"
       ],
       "type": "string",
       "description": "which links to return (default all)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "links": {},
      "unique": {},
      "external": {},
      "internal": {}
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "links": [
   {
    "url": "https://github.com/x402-foundation/x402",
    "text": "GitHub",
    "internal": false,
    "nofollow": false
   }
  ],
  "unique": 19,
  "external": 17,
  "internal": 2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-web-tools-link-extractor-17d6b0b7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from q7w9tnp09rjt5ccj.68r.lambda-web.us-east-1.on.aws](https://www.zero.xyz/host/q7w9tnp09rjt5ccj.68r.lambda-web.us-east-1.on.aws/llms.txt)
