# agentfetch /v1/links — Page Link Extraction

> agentfetch /v1/links — Page Link Extraction is a paid API for AI agents from agentfetch.dynv6.net:8080, paid per call via x402, $0.005/call, status down (last checked 2026-10-12).

Extracts all hyperlinks (href and anchor text) from a web page, returning a structured list of links via a micropayment-gated GET request.

## Facts

- Endpoint: GET https://agentfetch.dynv6.net:8080/v1/links?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: down
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentfetch-v1-links-page-link-extraction-a362932c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lxeT7HxkAcmYDWvK_97X4

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 agentfetch-v1-links-page-link-extraction-a362932c
```

Example prompt: Pull all the hyperlinks from https://example.com/blog — I want every href and anchor text listed so I can see what pages they link to.

## When to prefer this

Choose this endpoint when you specifically need to enumerate hyperlinks (href + anchor text) from a web page in a structured JSON format. Ideal for AI agents needing link discovery, site structure mapping, or outbound link auditing without building a scraper. Best suited for single-page link extraction with pay-per-call micropayments rather than a subscription model.

## Known failure modes

- Target URL is unreachable or returns non-200 status — empty links array or error response
- Page has no anchor tags — returns count: 0 and empty links array
- Payment not fulfilled — 402 response requiring USDC micropayment on Base or Solana
- Rate limiting or network timeout on slow or large pages
- Dynamic JS-rendered links may not be captured if JS rendering is not enabled for this endpoint

## How this service works

Pay-per-call web utilities for AI agents: page metadata, page-to-markdown (optional JS rendering), and PNG screenshots. USDC micropayments on Base or Solana via x402.

## Output

A JSON object containing a count of links found and an array of link objects, each with an 'href' field (the URL) and a 'text' field (the anchor text). Example: {"count": 1, "links": [{"href": "https://example.com/about", "text": "About"}]}.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "links": [
   {
    "href": "https://example.com/about",
    "text": "About"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentfetch-v1-links-page-link-extraction-a362932c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentfetch.dynv6.net:8080](https://www.zero.xyz/host/agentfetch.dynv6.net%3A8080/llms.txt)
