# content.hugen.tokyo Link Extractor

> content.hugen.tokyo Link Extractor is a paid API for AI agents from content.hugen.tokyo, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Extracts and classifies all hyperlinks from a web page into internal and external categories using eTLD+1 domain matching, returning up to 200 of each type with counts

## Facts

- Endpoint: GET https://content.hugen.tokyo/content/links
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/content-hugen-tokyo-15c3f8cf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KcbXMj6PyLpwK_aI6jw4t

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 content-hugen-tokyo-15c3f8cf
```

Example prompt: Can you pull all the hyperlinks from https://example.com and tell me which ones are internal links versus external links pointing to other domains?

## When to prefer this

Choose this endpoint when you need to quickly extract and categorize hyperlinks from a single web page without setting up your own crawler or parser. It is ideal for SEO audits, outbound link discovery, site structure analysis, or any workflow that needs to distinguish between on-site navigation and external references. Prefer it over building a custom scraper when speed and simplicity matter and you only need link data (not full page content or metadata).

## Known failure modes

- Invalid or malformed URL returns an error response
- Target URL is unreachable or returns non-200 status — may return empty link arrays or an error
- Page has more than 200 internal or external links — only first 200 of each are returned, truncating results
- JavaScript-rendered pages may not have all links visible to a static fetch
- Payment not included or invalid USDC payment on Base/Solana returns a 402 Payment Required error

## How this service works

Extract and classify all hyperlinks from a web page — internal vs external using eTLD+1 domain matching. Returns up to 200 internal and 200 external links with counts. No web crawler setup needed. Accepts USDC payments on Base and Solana

## Output

Returns a JSON object with the original URL, an array of up to 200 internal links (same eTLD+1 domain), an array of up to 200 external links (different eTLD+1 domains), plus integer counts for each category (internal_count, external_count).

## Example request

```json
{
 "url": "https://example.com"
}
```

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "required": [
    "method"
   ]
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/content-hugen-tokyo-15c3f8cf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from content.hugen.tokyo](https://www.zero.xyz/host/content.hugen.tokyo/llms.txt)
