page_links
Fetch a URL and get a JSON list of links classified as internal, external, or other, with anchor text. Deduplicated and resolved to absolute URLs. Ideal for site migration or sitemap building.
Instructions
Fetch a URL and return a JSON list of all its links, classified as internal (same host), external (different host) or other (mailto:, tel:, etc.), resolved to absolute URLs, deduplicated, each with its anchor text. Ideal for systematically crawling a site for migration or for building a sitemap. Free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to fetch (http:// or https://). | |
| maxLinks | No | Max links to return (default 2000, max 2000). |