# MicroScrape Link Graph Extractor

> MicroScrape Link Graph Extractor is a paid API for AI agents from microscrape-production.up.railway.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Extracts internal and external link graphs from a webpage, including anchor text for each discovered link

## Facts

- Endpoint: GET https://microscrape-production.up.railway.app/api/v1/links
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/microscrape-link-graph-extractor-1e1b358d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mzrtZ6ro5Y9PKwKmr6Zx3

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 microscrape-link-graph-extractor-1e1b358d
```

Example prompt: Can you pull the full link graph from https://example.com/blog — I want to see all the internal and external links it contains, along with their anchor text?

## When to prefer this

Choose this endpoint when you specifically need the hyperlink structure of a page — both internal and external — with anchor text. It is ideal for SEO audits, competitor link analysis, broken link detection, and web graph mapping. Prefer it over full-page markdown or metadata endpoints when link topology is the primary output needed, not page content or structured fields.

## Known failure modes

- URL is unreachable or returns a non-200 status — empty or error response returned
- Page is JavaScript-rendered and links are dynamically injected — static links only may be returned
- Invalid or malformed URL provided — request fails with validation error
- Page blocks scraping via robots.txt or anti-bot measures — may return incomplete or no results
- Rate limiting on the target page causes a timeout

## How this service works

MicroScrape: internal/external link graph off a page, with anchor text

## Output

Returns a structured object containing a request ID, the source URL, an array of internal links (same-domain hrefs with anchor text), and an array of external links (off-domain hrefs with anchor text).

## 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": "URL to extract the link graph from"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "request_id",
      "url",
      "internal",
      "external"
     ],
     "properties": {
      "url": {
       "type": "string"
      },
      "external": {
       "type": "array"
      },
      "internal": {
       "type": "array"
      },
      "request_id": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/microscrape-link-graph-extractor-1e1b358d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from microscrape-production.up.railway.app](https://www.zero.xyz/host/microscrape-production.up.railway.app/llms.txt)
