# x402 Money Farm: Link Extractor

> x402 Money Farm: Link Extractor is a paid API for AI agents from x402-money-farm.fly.dev, paid per call via x402, $0.01/call, status down (last checked 2026-10-02).

Fetches a web page and returns all its hyperlinks absolutised, deduplicated, classified as internal or external, with anchor text, rel attributes, nofollow/sponsored flags, and per-host counts.

## Facts

- Endpoint: GET https://x402-money-farm.fly.dev/v1/links?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: down
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-money-farm-link-extractor-c7fdc1d3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UsRqUaD5cvTZCty4erChF

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-money-farm-link-extractor-c7fdc1d3
```

Example prompt: Pull all the links from https://www.example.com/blog and give me just the external ones — include anchor text, nofollow flags, and a count per host, up to 500 links.

## When to prefer this

Choose this endpoint when you need structured, classified link data from a single page — especially when you need anchor text, rel attributes, nofollow/sponsored flags, and per-host counts in one call. Prefer it over generic scrapers when SEO link auditing, outbound link mapping, or internal navigation discovery is the goal. Use the scope parameter to focus only on internal or external links without post-processing.

## Known failure modes

- Target URL is unreachable or returns a non-2xx status — endpoint may return an error or empty link set
- Page has no hyperlinks — returns an empty list
- URL parameter missing or malformed — validation error returned
- Page is JavaScript-rendered and links are injected client-side — may miss dynamically added links
- Rate limiting or blocking by the target server — fetch may fail or return partial content
- Limit parameter exceeds maximum of 5000 — rejected with validation error

## How this service works

Link Extractor — Every link on a page, absolutised and deduplicated, classified internal/external, with anchor text, rel attributes, nofollow/sponsored flags and per-host counts.

## Output

A structured list of all hyperlinks found on the target page, each with its absolutised URL, anchor text, rel attributes, nofollow and sponsored boolean flags, and internal/external classification. Also includes per-host link counts. Results are deduplicated by default and can be scoped to internal or external links only.

## 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",
       "format": "uri",
       "description": "Absolute http(s) URL of the page to process."
      },
      "fresh": {
       "type": "boolean",
       "default": false
      },
      "limit": {
       "type": "integer",
       "default": 1000,
       "maximum": 5000,
       "minimum": 1
      },
      "scope": {
       "enum": [
        "all",
        "internal",
        "external"
       ],
       "type": "string",
       "default": "all"
      },
      "dedupe": {
       "type": "boolean",
       "default": true
      },
      "include": {
       "type": "string",
       "description": "Substring the absolute URL must contain."
      }
     },
     "additionalProperties": false
    }
   },
   "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/x402-money-farm-link-extractor-c7fdc1d3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-money-farm.fly.dev](https://www.zero.xyz/host/x402-money-farm.fly.dev/llms.txt)
