Website Link Extractor
Pricing
from $1.00 / 1,000 results
Website Link Extractor
Extracts every link from any website — internal, external, documents and media — with anchor text and the page it was found on
Pricing
from $1.00 / 1,000 results
Rating
0.0
(0)
Developer
Mina
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
8 days ago
Last modified
Categories
Share
What does Website Link Extractor do?
Give it any website and it returns every link on it — where each link points, the text it was written as, whether it stays on the site or leads elsewhere, and which page it was found on.
Paste a domain, press Start, and download the result as JSON, CSV or Excel — or pull it straight from the Apify API.
Why use Website Link Extractor?
- Audit a site — get a complete map of its pages in one run.
- Find broken or unwanted links — export everything and check it in a spreadsheet.
- See who a site links to — collect its outbound links to partners, sources or competitors.
- Collect documents — pull every PDF or spreadsheet a site publishes.
- Feed another tool — the links come out as a clean list, ready to hand to another scraper.
How to use Website Link Extractor
- Enter one or more websites or pages. A bare domain like
example.comis fine. - Set Maximum pages to read and How deep to follow links.
- Optionally choose Which links to return — all, internal only, or external only.
- Click Start, then open the Output tab when it finishes.
Input
| Field | Type | Required | Description |
|---|---|---|---|
Websites or pages (start_urls) | array | Yes | Where to start. |
Maximum pages to read (max_pages) | integer | No | How many pages to visit per site. Default 20. |
How deep to follow links (max_depth) | integer | No | 0 reads only the page given, 1 also reads pages linked from it. Default 1. |
Which links to return (link_scope) | select | No | all, internal or external. Default all. |
Stay on the same website while crawling (stay_on_site) | boolean | No | Controls which pages are visited, not which links are returned. On by default. |
Only include links matching (include_pattern) | string | No | Optional regular expression, e.g. /blog/. |
Exclude links matching (exclude_pattern) | string | No | Optional regular expression, e.g. \?utm_. |
Proxy configuration (proxyConfiguration) | object | No | Optional. Most sites need no proxy. |
Example input:
{"start_urls": ["https://www.python.org"],"max_pages": 20,"max_depth": 1,"link_scope": "external"}
Output
One row per unique link found:
{"url": "https://pypi.org/","text": "PyPI","type": "page","is_internal": false,"domain": "pypi.org","found_on": "https://www.python.org/","depth": 0,"rel": null,"source_site": "https://www.python.org/"}
You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.
Data fields
| Field | Description |
|---|---|
url | Where the link points. |
text | The clickable text of the link. |
type | page, document, image or media, based on what it points at. |
is_internal | true if it stays on the same site. |
domain | The domain it points to, handy for grouping outbound links. |
found_on | The page the link was found on. |
depth | How many clicks from the starting page that page was. |
rel | The link's rel attribute, such as nofollow, when it has one. |
source_site | Which of your start URLs this came from. |
What to expect
Each unique destination is returned once, no matter how many times it appears — a link in the header of every page gives you one row, not one per page. Anchors, mailto: and javascript: links are not included, since they are not pages.
How much does it cost to extract links?
Very little. Six pages of python.org produced 317 links in fourteen seconds and cost under two tenths of a cent.
Tips
- Start with depth 1. It covers a site's main navigation. Raise it only if you need to go deeper.
- Use
link_scope: externalto see everywhere a site sends its visitors. - Use the exclude pattern to drop tracking URLs, for example
\?utm_.
FAQ and support
Why do I get fewer links than I expected? Each destination is listed once. Raise Maximum pages or How deep to follow links to cover more of the site.
Does it find links added by JavaScript? It reads the HTML a site serves. Links that only appear after scripts run may not be included.
Is scraping links legal? This Actor collects only publicly available data. You are responsible for how you use it, and you should respect the terms of the sites you crawl. If in doubt, take legal advice.
Found a bug, or need a field that is not here? Open an issue on the Issues tab.
SEO Keywords
website link extractor, extract all links from a website, url crawler, internal and external link scraper, broken link audit data, site structure crawler, anchor text extractor, seo link audit, sitemap discovery tool, web crawler for links