Broken Link Monitor: new dead links on your sites avatar

Broken Link Monitor: new dead links on your sites

Pricing

from $50.00 / 1,000 site reports

Go to Apify Store
Broken Link Monitor: new dead links on your sites

Broken Link Monitor: new dead links on your sites

Crawl a site (robots.txt respected), check every internal and external link, and get the broken ones with the pages they are on. Schedule it with Only new to see just the links that broke since the last run, plus how many were fixed.

Pricing

from $50.00 / 1,000 site reports

Rating

0.0

(0)

Developer

Seisuke Nagahara

Seisuke Nagahara

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Categories

Features

Limited permissions

Share

Crawl a website (robots.txt respected), check every link on it, and get the broken ones with the pages they are on. Schedule it with Only links that broke since the last run and you see what broke this week and how many were fixed, instead of the same long list every time.

No browser, no proxies: plain HTTP requests, so runs are fast and cheap.

Who uses it

  • Site owners, agencies and SEO teams: weekly 404 report per client site.
  • Documentation and help-center teams: catch links that rot after other sites move pages.
  • Affiliate and content publishers: spot dead outbound links that lose commissions.

What you get

One row per broken link, plus one summary row per site.

Broken-link row: site, url, issue (not_found, gone, server_error, unavailable, dns_error, tls_error, timeout, connection_error, too_many_redirects, client_error), statusCode, linkType (internal or external), anchorText, foundOn (up to 5 pages) and foundOnCount, newSinceLastRun.

Summary row: pagesCrawled, linksFound, linksChecked, brokenLinks, newlyBroken, fixedSinceLastRun, stillBroken, truncated.

Example row (illustrative values):

{ "site": "https://example.com", "url": "https://example.com/old-guide", "status": "ok", "issue": "not_found", "statusCode": 404, "linkType": "internal", "anchorText": "Setup guide", "foundOn": ["https://example.com/", "https://example.com/docs"], "foundOnCount": 2, "newSinceLastRun": true }

Input

  • Websites: start pages. Only same-site pages are crawled; links to other sites are checked, not crawled.
  • Max pages crawled / max links checked per site.
  • Check links to other sites: on by default.
  • Skip URLs containing: ignore /cart, tracking parameters and so on.
  • Only links that broke since the last run: the first run returns every broken link and remembers them. Later runs return only newly broken links; the summary row always shows new, fixed and still-broken counts. Use a different memory-store name for each list you track.

Run it from code

from apify_client import ApifyClient
client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("asunoki/broken-link-monitor").call(run_input={
"sites": ["https://example.com"], "maxPagesPerSite": 200, "onlyNew": True, "stateStoreName": "example-weekly"})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
print(row.get("issue"), row.get("url"))

Put it on a weekly Apify Schedule and send the dataset to Slack, email or Google Sheets.

Pricing (pay per event)

  • site-report: $0.05 per site summary row.
  • broken-link: $0.002 per broken link row.
  • Plus a small start fee. Sites that are blocked by robots.txt, unreachable or invalid are saved as error rows and are not charged. A site with no broken links costs just the summary. You do not pay platform usage on top of these events.

Example: a 100-page site with 12 broken links costs about $0.07 per run.

How it behaves

  • robots.txt is respected for pages we crawl. Internal URLs that robots.txt disallows are not requested at all.
  • One request at a time per host, with a short delay. Links are checked with HEAD (GET only when a server refuses HEAD), up to 6 redirects followed, one retry on network errors.
  • Not counted as broken: HTTP 401, 403, 429, 451 and 999. Those usually mean a site blocks automated checks, not that the link is dead. The Actor does not try to get past bot protection.
  • Only <a href> links in HTML pages are checked. Links created by JavaScript after the page loads, images, scripts and files such as PDFs are not.
  • The default run timeout is short; for sites over about 300 pages raise the run timeout. truncated: true in the summary means the link limit was reached.