# AGISHub Link Extractor

> AGISHub Link Extractor is a paid API for AI agents from api.agishub.com, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-15).

Extracts and returns all hyperlinks from a JavaScript-rendered web page as absolute URLs, with optional filters for visible-only or same-site-only links.

## Facts

- Endpoint: GET https://api.agishub.com/v1/links
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agishub-link-extractor-19cf1b62
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EElvQcQLCnX8W_aXx9tQz

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 agishub-link-extractor-19cf1b62
```

Example prompt: Can you extract all the hyperlinks from https://www.example.com — only same-site links, so nothing pointing to external domains?

## When to prefer this

Choose this endpoint when you need to extract links from JavaScript-rendered pages where a simple HTTP fetch would miss dynamically loaded content. It is ideal for site mapping, crawler seeding, and auditing navigation structures on modern SPAs or React/Vue/Angular sites. Prefer it over static HTML parsers when the target page requires JS execution to reveal its full link set.

## Known failure modes

- Invalid or unreachable URL returns an error or empty list
- JavaScript-heavy pages with infinite scroll may not capture all dynamically loaded links
- Pages behind authentication or paywalls will return only publicly visible links
- Rate limiting or headless browser timeouts may occur for very large or slow-loading pages
- Malformed URLs in the page's HTML may be excluded or cause errors

## How this service works

Return every hyperlink on a JavaScript-rendered page as a list of absolute URLs, with options to keep only visible links or only same-site links. Backed by a headless browser. Use it to map a site or seed a crawler.

## Output

A JSON object containing a list of absolute URLs representing all hyperlinks found on the JavaScript-rendered page, filtered by the specified options (visible-only and/or same-site-only).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "enum": [
      "http"
     ],
     "type": "string"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "format": "uri",
       "description": "Full http/https URL of the page to read links from."
      },
      "visible_only": {
       "type": "boolean",
       "description": "Return only links visible in the rendered layout (default false)."
      },
      "exclude_external": {
       "type": "boolean",
       "description": "Drop links pointing to other domains, keeping only same-site links (default false)."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "enum": [
      "json"
     ],
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "Return every hyperlink on a JavaScript-rendered page as a list of absolute URLs, with options to keep only visible links"
 }
}
```

## More

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