# Extract Links from Page

> Extract Links from Page is a paid API for AI agents from api.qocgpiywhm.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-15).

Extracts all unique hyperlinks from a given URL as structured rows with URL, title, description, rel attributes, nofollow status, internal/external classification, and link kind.

## Facts

- Endpoint: POST https://api.qocgpiywhm.com/api/v1/tools/extract_links?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/extract-links-from-page-5d8fe7be
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_D93O5mvi8guJKgsnFcvvJ

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 extract-links-from-page-5d8fe7be -d '<json body>'
```

Example prompt: Can you pull all the links from https://example.com/blog and give me a structured list showing which ones are internal vs external, whether they're nofollow, and what kind of link each one is?

## When to prefer this

Choose this endpoint when you need structured hyperlink metadata from a page — especially when you need rel attributes, nofollow classification, internal/external distinction, and link kind — rather than article body text or general page metadata. Use it for link audits, SEO analysis, site crawling pipelines, or mapping outbound references. It is not suitable for extracting readable article content or page-level metadata like Open Graph tags (use sibling endpoints for those).

## Known failure modes

- Page has no links — returns item error with code no_links
- Target URL is unreachable or returns non-200 status — extraction may fail or return empty
- Dynamically rendered (JavaScript-heavy) pages may yield fewer links if JS is not executed
- Rate limiting or bot protection on target page may prevent fetching
- Malformed or non-HTML content-type pages may return no structured links

## How this service works

Use to list links on a page as structured rows: url, title, desc, rel, nofollow, internal/external, and kind. Not cleaned article body. An empty page returns item error no_links. After filter and dedupe, all unique links are returned; truncated_links is always false.

## Output

Returns an array of structured link objects, each containing: url, title, desc (description or anchor context), rel attribute value, nofollow boolean, whether the link is internal or external to the source domain, and a kind classification. All results are filtered and deduplicated; truncated_links is always false. If no links are found, returns an item error with code no_links.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/extract-links-from-page-5d8fe7be/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.qocgpiywhm.com](https://www.zero.xyz/host/api.qocgpiywhm.com/llms.txt)
