Get every link
The links action returns every URL on the page. Filter to just visible links or just internal ones - useful for sitemaps, link audits, and building your own crawlers.
links.tsPOST/api/links
await env.BROWSER.quickAction("links", {
url,
excludeExternalLinks: true,
})No API tokens, no browser to install. The BROWSER binding talks to a real Chromium over Cloudflare's network.
Every link on the page will list here