Broken Link Checker from Sitemap (with Monitor Mode) avatar

Broken Link Checker from Sitemap (with Monitor Mode)

Pricing

from $0.70 / 1,000 link checkeds

Go to Apify Store
Broken Link Checker from Sitemap (with Monitor Mode)

Broken Link Checker from Sitemap (with Monitor Mode)

Find broken links on a website starting from its sitemap: reads every page, checks internal and external links (HEAD, then GET) and returns one row per broken link. Monitor mode returns only links that broke since the last run.

Pricing

from $0.70 / 1,000 link checkeds

Rating

0.0

(0)

Developer

Penna & Pixel

Penna & Pixel

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 days ago

Last modified

Features

Limited permissions

Share

Find the broken links of a website without feeding it a list of pages: the actor starts from the site's sitemap, reads each page, collects its links (internal and, if you want, external) and checks every one. You get one row per broken link: the page where it is, the link, the HTTP status or the error, and the link text, so you know exactly what to fix.

Schedule it and switch on monitor mode: you are told only about the links that broke since the last run, not the same old list every day.

Features

  • Starts from the sitemap: give example.com, the sitemaps are found through robots.txt (nested indexes and .gz included). Or give a sitemap URL. No sitemap? The page you gave is checked.
  • Internal and external links (external can be switched off). Each distinct link is checked once per run, even if it appears on 200 pages, and you still get a row for every page that contains it.
  • HEAD first, GET if needed: a server that does not support HEAD, drops the connection or answers it badly is asked again with GET, so working links are not reported as broken.
  • Clear reasons: 404 Not found, 410 Gone, 500 Server error, DNS error: the domain does not exist, Timeout, Too many redirects, TLS errors.
  • Sites that block bots are not blamed on you: 401, 403, 429 and 999 answers are counted as blocked in the summary, not as broken.
  • Monitor mode (onlyNewBrokenLinks): remembers the broken links of the previous run and returns only the new ones (isNew: true). The summary also says how many were fixed.
  • Pages of the sitemap that no longer work (404, 5xx) are reported too, with the sitemap as the source.
  • Limits you control: max pages, max links, parallel requests, timeout per request, time limit per website. A run can never hang.
  • Polite: honours robots.txt (and Crawl-delay), spaces requests to the same host, identifies itself as PennaPixelBot, never touches private network addresses.

Use cases

  • Monthly clean-up of a blog, a shop or a documentation site: fix what readers (and Google) hit as errors
  • SEO audits: broken internal links waste crawl budget, broken outbound links look neglected
  • Alerts: run it daily or weekly in monitor mode and send new broken links to e-mail, Slack, Google Sheets or a webhook through Apify integrations
  • After a migration or a redesign: find the links that now lead nowhere

Input

{
"startUrls": ["https://www.sitemaps.org"],
"checkExternalLinks": true,
"maxPagesPerSite": 50,
"maxLinksPerSite": 1000,
"excludeLinkPatterns": ["linkedin\\.com", "\\?utm_"]
}

For monitoring add "onlyNewBrokenLinks": true and create a schedule. The first run returns all broken links and saves them as the baseline; from the second run on you get only the new ones. Use includeWorkingLinks to also get a row for the links that work (a full inventory).

Output

A real row (from sitemaps.org, a page that links to a domain that no longer exists):

{
"site": "https://www.sitemaps.org",
"sourceUrl": "https://www.sitemaps.org/faq.html",
"link": "http://asg.web.cmu.edu/rfc/rfc3986.php",
"linkText": "RFC-3986",
"linkType": "external",
"broken": true,
"status": null,
"error": "DNS error: the domain does not exist",
"category": "dns",
"finalUrl": null,
"method": "HEAD",
"checkedAt": "2026-11-13T08:23:35+00:00"
}

category is one of not-found, gone, client-error, server-error, dns, connection, timeout, redirect-loop, tls for broken links (and ok when you ask for working links). The SUMMARY record in the run's key-value store has, for each website: pages found and read, links found and checked, broken links, blocked links, links skipped by robots.txt, new and fixed links in monitor mode, and any limit that stopped the run.

Pricing

  • $0.0007 per link checked ($0.70 per 1,000 links)
  • $0.00005 per run start

A link is charged once per run, working or broken. Links skipped because of robots.txt, and pages and sitemaps read, are free. Set a maximum cost per run in the run options to stay in control.

Example: a 100-page blog with 600 different links costs about $0.42 per check. Monitoring it every day costs the same per day, and you only read the new broken links.

Good to know

  • Only <a href> links are checked (not images, scripts or stylesheets), and only the pages listed in the sitemap, up to your page limit.
  • Some sites never answer automated requests or take very long: they are reported as timeout (it can be temporary: open the link to be sure). Sites that answer 403 or 429 are counted as blocked, not broken.
  • Links disallowed by the target site's robots.txt are not requested: they are counted as skipped by robots.txt.
  • The monitor memory is a key-value store named broken-link-checker-state in your account (short hashes only). Delete it to start fresh.
  • Pages that need JavaScript to show their links are read as plain HTML: links added by scripts are not seen.

Support

A link reported as broken that works for you? Open an issue with the page and the link: fixes are usually quick.