Link Extractor - All Links from Any Page with Anchor Text
Pricing
$10.00 / 1,000 page scans
Link Extractor - All Links from Any Page with Anchor Text
Extract every link from any webpage. Input: a list of page URLs. Output: JSON records with link URL, anchor text, and internal/external classification — ready for SEO audits, sitemap checks, and AI agent pipelines. $0.01 per page scanned; no browser or code required.
Pricing
$10.00 / 1,000 page scans
Rating
0.0
(0)
Developer
Anthony Snider
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
3 days ago
Last modified
Categories
Share
Webpage Links Extractor
Pull every link from a page — categorized internal vs external, with anchor text, rel attributes, and nofollow / sponsored / ugc flags.
Live on the Apify Store — run it instantly or call it as an agent tool via Apify MCP.
What you get
- Every
<a href>on the page, resolved to an absolute URL (respects<base href>and redirects) - Internal vs external classification by hostname
- Clean anchor text (nested tags stripped, entities decoded, whitespace collapsed)
rel,target, and boolean nofollow / sponsored / ugc flags per link- Deduplicated links, plus
mailto:andtel:listed separately - Per-page counts: total, internal, external, nofollow, sponsored, ugc, mailto, tel
- Single URL or bulk list in one run
Input
{"url": "https://github.com","maxUrls": 50}
Or process many at once:
{"urls": ["https://github.com", "https://apify.com"]}
Output
One dataset item per URL:
{"url": "https://github.com","finalUrl": "https://github.com/","statusCode": 200,"redirected": false,"counts": { "total": 142, "internal": 96, "external": 46, "nofollow": 8, "sponsored": 0, "ugc": 0, "mailto": 1, "tel": 0 },"links": [{"href": "https://github.com/features/copilot","text": "GitHub Copilot","type": "internal","rel": null,"target": null,"nofollow": false,"sponsored": false,"ugc": false}],"mailto": [{ "href": "mailto:press@github.com", "email": "press@github.com", "text": "Press" }],"tel": []}
Pricing
Pay-per-event: $0.01 per page scanned (page-scanned). No subscription, no idle charges.
FAQ
How do I get all the links on a webpage with their anchor text? Pass the URL — every <a href> comes back resolved to an absolute URL with clean anchor text (nested tags stripped, entities decoded), deduplicated, with mailto: and tel: listed separately.
Can it tell internal links from external ones? Yes — every link is classified by hostname, and per-page counts give you internal/external totals at a glance.
Does it show nofollow and sponsored links? Yes — rel, target, and boolean nofollow / sponsored / ugc flags per link, which is exactly what you need for link-equity and outreach audits.
Why do absolute URLs matter? Relative hrefs like /pricing are useless outside the page context. Resolution respects <base href> and redirects, so every link works standalone in your dataset.
Can I extract links from many pages at once? Yes — pass an array in urls (capped by maxUrls), one record and one $0.01 charge per page scanned.