Website Links Extractor: internal & external, anchor text avatar

Website Links Extractor: internal & external, anchor text

Pricing

from $0.20 / 1,000 link listeds

Go to Apify Store
Website Links Extractor: internal & external, anchor text

Website Links Extractor: internal & external, anchor text

Every link on a web page, up to 500 pages a run and 2,000 links each: absolute URL, anchor text, internal or external, nofollow and rel, target, scheme, fragment and query flags, plus per page the counts of internal, external, nofollow, mailto and tel links. Robots-aware, no browser. Pay per link.

Pricing

from $0.20 / 1,000 link listeds

Rating

0.0

(0)

Developer

Steadydata Team

Steadydata Team

Maintained by Community

Actor stats

0

Bookmarked

4

Total users

3

Monthly active users

20 hours ago

Last modified

Share

Page Links Extractor: internal & external links, anchor text

Every link on a web page, up to 500 pages a run and 2,000 links each: absolute URL, anchor text, internal or external, nofollow and rel, target, scheme, fragment and query flags, plus per page the counts of internal, external, nofollow, mailto and tel links. Robots-aware, no browser. Pay per link.

Why this scraper

  • Only delivered results are charged. Inputs that fail come back as clear error records at no cost.
  • One plain fetch per page, parsed with lxml, no browser and no start fee. Measured on the platform: 300 links from three pages (python.org, a Wikipedia article, BBC News) in 11 seconds for four tenths of a cent.
  • Every link as a usable row: the absolute URL (relative hrefs and <base> resolved), anchor text (title or aria-label when the link is an image), internal or external by registered domain (docs.python.org counts as python.org, www.bbc.co.uk as bbc.co.uk), the full rel value with a nofollow flag, target, scheme, fragment and query flags, and how often the page links that URL.
  • Page totals on every row: unique link count, internal, external, nofollow, mailto and tel counts, so a site audit reads off the first row per page.
  • Robots-aware: each host's robots.txt is read once per run and a closed path comes back as a free ROBOTS_DISALLOWED row (measured: Google's /search path).

Who this is for

Paste page URLs in urls (up to 500 per run), set maxLinksPerPage (default 500, ceiling 2,000, page order), choose scope (all, internal or external) and leave uniqueOnly on for one row per URL, or switch it off to see every link element. Built for internal-linking audits, outbound-link and nofollow checks, competitor link research, sitemap seeding and crawling pipelines that need the link graph of a page without a browser.

Who this is not for

No browser is used, so links that a page adds with JavaScript after loading are not seen. Only <a href> links count; buttons, forms and links inside iframes are not. mailto: and tel: links are counted on the page row but never delivered as addresses. Internal versus external uses the registered domain with a short list of two-part suffixes (co.uk, com.au and the like), not the full public suffix list. A page that answers 403 or 429 comes back as a free BLOCKED row, a page without any link as a free NO_LINKS row.

Input example

{
"urls": [
"https://www.python.org/",
"https://en.wikipedia.org/wiki/Web_scraping"
],
"maxLinksPerPage": 500,
"scope": "all",
"uniqueOnly": true
}

Output example

  • pageUrl
  • position
  • url
  • anchorText
  • isInternal
  • domain
  • rel
  • isNofollow
  • target
  • scheme
  • hasFragment
  • hasQuery
  • occurrences
  • pageTitle
  • pageLinkCount
  • pageInternalCount
  • pageExternalCount
  • pageNofollowCount
  • pageMailtoCount
  • pageTelCount

Error codes: INVALID_URL, ROBOTS_DISALLOWED, NOT_HTML, NO_LINKS, FETCH_FAILED, BLOCKED.

One delivered row looks like this:

{
"pageUrl": "https://www.python.org/",
"position": 1,
"url": "https://www.python.org/",
"anchorText": "Python",
"isInternal": true,
"domain": "www.python.org",
"rel": null,
"isNofollow": false,
"target": null,
"scheme": "https",
"hasFragment": false,
"hasQuery": false,
"occurrences": 2,
"pageTitle": "Welcome to Python.org",
"pageLinkCount": 129,
"pageInternalCount": 86,
"pageExternalCount": 43,
"pageNofollowCount": 0,
"pageMailtoCount": 0,
"pageTelCount": 0,
"status": "ok"
}

Pricing

Pay per event: one link-listed event per delivered result. No charge for inputs that fail, no separate platform-usage surcharge.

Free Apify plan: this actor delivers up to 25 rows per run for accounts on the Apify free plan, and then stops with a message. That limit is set by us, not by Apify. It exists so the actor keeps paying for itself for the people who do pay. Any paid Apify plan runs it at full size, billed per delivered row, with failed rows never charged.

Reviews: if this actor saves you time, a short review on this page is the one thing that helps most. Ratings are what other buyers look at first, and we have no other way to ask.

FAQ

Is personal data collected? No. Links and anchor texts are what the page publishes; e-mail addresses and phone numbers behind mailto: and tel: links are counted, not delivered.

Does it check whether the links work? No, it lists them. Feed the url column to the URL status and redirect checker below for status codes and redirect chains.

How does uniqueOnly change the count? On, a URL linked five times is one row with occurrences 5 and the first non-empty anchor text; pageLinkCount is the number of unique URLs. Off, every link element is its own row.

Can it crawl a whole site? Not by itself: it reads the pages you give it. Combine it with the sitemap URLs actor to get every page, then run this actor on those URLs.

What does a run cost when a page fails? Nothing. ROBOTS_DISALLOWED, NOT_HTML, NO_LINKS, FETCH_FAILED, INVALID_URL and BLOCKED rows are free; only delivered links are charged.

What happens when the source changes? Sources change from time to time; that is the nature of this work. The actor is monitored daily and fixed fast, and while it is broken you are not charged, because only delivered results cost anything.