# Strale Link Extractor

> Strale Link Extractor is a paid API for AI agents from api.strale.io, paid per call via x402, $0.0324/call, status unknown (last checked 2026-09-15).

Extracts all hyperlinks from a given URL, with optional filtering for internal or external links only.

## Facts

- Endpoint: GET https://api.strale.io/x402/v2/link-extract
- Price: $0.0324/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/strale-link-extractor-35fb7a59
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1p-4ygYPC5LOfFSyx4luV

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 strale-link-extractor-35fb7a59
```

Example prompt: Can you extract all the external links from https://example.com/blog — I want to see every outbound URL that page links to?

## When to prefer this

Choose this endpoint when you need a verifiable, auditable extract of links from a public URL — especially in compliance-sensitive or agent-orchestrated workflows where cryptographic provenance of results matters. Prefer it over generic scraping tools when you need structured link-only output with internal/external filtering built in, without having to parse raw HTML yourself.

## Known failure modes

- Target URL is unreachable or returns a non-200 status — endpoint may return an error or empty link list
- URL is behind a login or bot-protection wall — page content may not be accessible
- Malformed URL input causes request rejection
- Invalid filter value (not 'internal', 'external', or 'both') may cause a validation error
- Pages with JavaScript-rendered links may not surface dynamically injected hrefs

## How this service works

The trust layer for AI agents — 250+ independently tested data capabilities across 27 countries. Execute capabilities via REST, MCP, A2A, or x402 micropayments. Every call returns an audit record with cryptographic chain hashing.

## Output

A list of hyperlinks found on the target page, filtered by type (internal, external, or both) as requested. Each response also includes a cryptographic audit record with chain hashing for provenance verification.

## 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": "URL to extract links from"
      },
      "filter": {
       "type": "string",
       "description": "internal, external, or both (default)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/strale-link-extractor-35fb7a59/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
