# Sift Web Tools – Link Extractor (/v1/links)

> Sift Web Tools – Link Extractor (/v1/links) is a paid API for AI agents from sift.srv1996466.hstgr.cloud, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-23).

Extracts and categorizes all internal and external hyperlinks from a given web page URL, returning structured link data with anchor text.

## Facts

- Endpoint: GET https://sift.srv1996466.hstgr.cloud/v1/links?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sift-web-tools-link-extractor-v1-links-c026c625
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_u6d757Yjzg7sIDTqdFz_C

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 sift-web-tools-link-extractor-v1-links-c026c625
```

Example prompt: Can you pull all the links from https://example.com/blog and tell me which ones go to external sites, up to a maximum of 200?

## When to prefer this

Choose this endpoint when you need a structured, categorized list of all hyperlinks on a specific page with anchor text and internal/external classification. It is ideal for SEO audits, content crawling, competitor research, or pre-checking links before a broader crawl — and costs only $0.002 USDC per call via x402, charged only on success.

## Known failure modes

- Page is behind authentication or a paywall — returns partial or empty link data
- URL is unreachable or returns a non-200 status — call is not charged, error returned
- JavaScript-heavy SPAs may not render links visible to a static fetcher
- Limit parameter exceeded or malformed URL returns a 4xx validation error
- Page has no links at all — returns empty arrays with zero counts

## How this service works

Extract all links from a page, split internal and external. Every link on a page with anchor text, deduplicated and split into internal and external.

## Output

A JSON object containing the page URL, an array of external links (each with url and anchor text), an array of internal links, plus integer counts for both external and internal links found on the page.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Page URL"
      },
      "limit": {
       "type": "integer",
       "description": "Max links (default 500)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://example.com",
  "external": [
   {
    "url": "https://iana.org/domains/example",
    "text": "Learn more"
   }
  ],
  "external_count": 1,
  "internal_count": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sift-web-tools-link-extractor-v1-links-c026c625/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sift.srv1996466.hstgr.cloud](https://www.zero.xyz/host/sift.srv1996466.hstgr.cloud/llms.txt)
