Broken Link Checker with Wayback Machine Rescue
Pricing
Pay per usage
Broken Link Checker with Wayback Machine Rescue
Find broken links (404s, DNS errors, timeouts, redirect chains) on your pages and get the closest Wayback Machine archive copy for each.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
Utility Belt Labs
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a month ago
Last modified
Categories
Features
Share
Find broken links on your web pages and get the closest archived copy from the Internet Archive's Wayback Machine for each one. Give it a list of page URLs, or one site start URL with an optional shallow same-domain crawl. For every link it returns the HTTP status, the final URL after redirects, the number of redirects, a broken flag, the error (timeout, DNS failure, SSL error, redirect loop) and, for broken links, a ready-to-use Wayback Machine URL and timestamp to replace or reference the dead link.
No login or API key needed. Wayback snapshots come from the public Internet Archive availability API (archive.org/wayback/available).
Use cases
- SEO and content teams: build a fix list of dead outbound and internal links, with a suggested archived replacement for each.
- Documentation and blog maintenance: find link rot in old posts, wikis, README pages and resource lists.
- Site migrations and redesigns: spot 404s, 5xx errors and long redirect chains before and after a launch.
- Researchers and journalists: recover the archived version of sources that have disappeared.
- AI agents: call it as a tool through the Apify MCP server ("check this page for dead links and give me archive.org copies").
How it works
- Downloads each page you list (and, if you turn on Crawl same domain, internal pages up to your depth and page limits). It reads
robots.txtfor page downloads. - Extracts links from
<a href>(and<img src>if enabled), resolves relative URLs, skipsmailto:,tel:,javascript:and#fragmentlinks, and removes duplicates. - Checks each unique link with a HEAD request, falling back to GET when HEAD fails or is refused. Redirects are followed one hop at a time so the chain length is known (3+ hops is flagged as
redirect-chain; loops and too many hops count as broken). - Requests are polite: limited total concurrency, at most 2 parallel requests per host, a short delay between requests to the same host, timeouts, and the user agent
UtilityBeltLabsLinkChecker. - For each broken link, asks the Wayback Machine for the closest snapshot, one request at a time, with a minimum interval,
Retry-After/ exponential backoff and a cache (7 days) so repeated runs do not hit archive.org again for the same URL.
Input
| Field | What it does |
|---|---|
urls | Page URLs whose links you want checked. |
startUrl | One site start page (combine with crawl). |
crawl, maxDepth, maxPages | Shallow same-domain crawl (default off; depth 1; up to 10 pages). |
maxLinks | Cap on output rows (page + link pairs), default 300, max 5000. |
checkExternalLinks, checkImages | Include links to other domains (default on) and <img> sources (default off). |
onlyBroken | Output only problem links (broken, redirect chains, unverifiable) for a short fix list. |
lookupWayback, maxWaybackLookups | Turn Wayback rescue on/off and cap archive.org requests per run (default 50). |
respectRobotsTxt | Skip pages that robots.txt disallows for page downloads (default on). |
concurrency, requestTimeoutSecs, maxRedirects | Speed and safety limits. |
Output
One row per link found on each page:
{"sourcePage": "https://example.org/resources/","link": "https://example.com/old-docs/removed.html","status": 404,"finalUrl": "https://example.com/old-docs/removed.html","redirectCount": 0,"broken": true,"verdict": "broken","error": null,"waybackLookup": "found","waybackUrl": "https://web.archive.org/web/20230114093021/https://example.com/old-docs/removed.html","waybackTimestamp": "20230114093021"}
verdict:ok,broken,redirect-chain(works but 3+ redirects), orunverifiable(401/403/405/406/429/451/999: the server blocks automated checks, so the link may be fine in a browser; it is not counted as broken).error:timeout,dns-error,ssl-error,connection-error,too-many-redirects,redirect-loop, or empty.waybackLookup:found,not-archived,rate-limited,skipped-limit,error,not-needed(link is fine) ornot-requested.waybackTimestampis the snapshot time asYYYYMMDDhhmmss(UTC).- Export as JSON, CSV, Excel or HTML, or use the Link check results view in the Output tab. A run summary is stored in the key-value store under
SUMMARY.
Limits and honest notes
- archive.org rate-limits heavily. When it answers HTTP 429 the Actor backs off, then stops asking for the rest of that run and marks the affected rows
waybackLookup: "rate-limited". The link check results are still complete; run again later (cached results are reused) to fill in the archive URLs. Large numbers of broken links will not all get a Wayback lookup in one run (maxWaybackLookups). - A snapshot is the closest one the Wayback Machine has, not necessarily the page as you remember it; it may be years old or a different version. Many URLs are simply not archived (
not-archived). - Not a full-site crawler. The crawl is shallow, same-domain, capped at 200 pages, and does not run JavaScript, so links added by client-side scripts are not seen. Pages over 2 MB are truncated.
- Some sites block automated checks (403, 429, 999 from LinkedIn and others, bot protection pages). These show as
unverifiable, not broken. Redirects to a login or "soft 404" page that returns HTTP 200 look fine to a status check. - A timeout or DNS error can be temporary; re-check important links before you remove them.
- Link status checks are not filtered by
robots.txt(like most link checkers, each is one lightweight request). Only check pages and sites you are allowed to check, and keep concurrency modest. - Not affiliated with the Internet Archive. Wayback Machine is a trademark of its owner.
Pricing
Currently free to run (you only pay normal Apify platform usage). Pricing may change to pay-per-result (one event per checked link) in the future; check the Store page.
Support
Questions or feature requests: please open an issue in the Issues tab of this Actor.