# Minifetch URL Link Extractor

> Minifetch URL Link Extractor is a paid API for AI agents from minifetch.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Extracts and categorizes all links from a URL (internal, external, anchor) with SEO metadata including nofollow attributes and external domain distribution

## Facts

- Endpoint: GET https://minifetch.com/api/v1/x402/extract/url-links
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/minifetch-com-cd6fe471
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6MP7ZlE-0Ck-tTJgE0Dsy

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 minifetch-com-cd6fe471
```

Example prompt: Can you pull all the links from https://example.com and tell me which ones are internal vs external, which domains they point to, and flag any that have nofollow?

## When to prefer this

Use this endpoint when you need a structured breakdown of all links on a page categorized by type (internal/external/anchor) with SEO-relevant metadata like nofollow and rel attributes. Prefer this over full content scrapers when your goal is link analysis, SEO auditing, or mapping site structure rather than reading page content. It is more focused and cost-efficient than general-purpose scrapers for link-specific tasks.

## Known failure modes

- Invalid or unreachable URL returns an error response
- Timeout if the target page is slow to load
- Pages behind authentication or paywalls may not return full link data
- Malformed URL input causes validation error
- Pages with JavaScript-rendered links may not capture dynamically injected hrefs

## How this service works

For SEO link audits: Extracts and categorizes all links on a page (internal, external, anchor) for SEO audits and site-structure analysis. Returns nofollow/rel attributes, anchor text, image links missing alt text, and external domain distribution. Supports GET & POST

## Output

Returns an array of link analysis objects containing: categorized links (internal, external, anchor) with href, link text, and rel attributes; summary statistics (total link count, internal count, external count, nofollow count, unique external domains, top external domains with counts); plus cache metadata (hit status, cached and expiry timestamps).

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "url": "https://example.com"
  }
 }
}
```

## 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": "The URL from which to extract the links."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "results": {
       "type": "array",
       "description": "Array of SEO link analysis objects containing: links categorized by type (internal/external/anchor), summary statistics (total links, external domain distribution), and SEO metadata (nofollow, rel attributes). Perfect for SEO analysis and site structure mapping"
      },
      "success": {
       "type": "boolean"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/minifetch-com-cd6fe471/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from minifetch.com](https://www.zero.xyz/host/minifetch.com/llms.txt)
