page-links
Extract and classify hyperlinks from any webpage as internal or external. Filter results by type and limit the number of returned links.
Instructions
Extracts all hyperlinks from a webpage. Fetches the target URL, resolves relative links to absolute URLs, and classifies each as internal (same domain) or external. Filter by all/external/internal, cap results with limit. Returns page title, total link count before filtering, and a structured array of {href, text, is_external, domain}. Priced at $0.004 — 20% below orbisapi web-scrape-links ($0.005/call). Upstream: direct HTTP fetch, no API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Webpage URL to extract links from (http or https). | |
| filter | No | Which links to return: all (default), external-only (different domain), or internal-only (same domain). | |
| limit | No | Max links to return (1–200). Default: 100. |