# x402helper.xyz Link Extractor

> x402helper.xyz Link Extractor is a paid API for AI agents from x402helper.xyz, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-31).

Extracts and returns all hyperlinks found at a given public URL, optionally filtered to the same host.

## Facts

- Endpoint: GET https://x402helper.xyz/89e509/links?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402helper-xyz-link-extractor-a2492636
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0vi5E8jWTkhYL4Ld5cUPN

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 x402helper-xyz-link-extractor-a2492636
```

Example prompt: Can you extract all the hyperlinks from https://example.com/blog and only keep the ones that stay on the same host?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-use link extraction from a single public URL without standing up your own scraping infrastructure. It is well-suited for lightweight link audits, one-off URL discovery, or agent workflows that need to enumerate links from a page on demand.

## Known failure modes

- URL is not publicly accessible or returns a non-200 status
- URL is malformed or missing the required 'url' query parameter
- Target page has no extractable links
- Target site blocks crawlers or returns a CAPTCHA
- Network timeout or DNS resolution failure
- Payment not completed via x402 protocol results in 402 response

## How this service works

X402 micropayments server — AI agents pay USDC for OFAC screening, rates, and billing verification.

## Output

A JSON object with a 'success' boolean and a 'result' object containing the extracted links found at the provided URL, optionally filtered to same-host 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",
       "default": null,
       "description": "Public http(s) URL"
      },
      "same_host_only": {
       "type": "boolean",
       "default": null,
       "description": "Keep only links on the same host (default false)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {},
  "success": true
 }
}
```

## More

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