Broken Link Checker - 404 & Redirect Chain Audit
Pricing
from $0.50 / 1,000 link checkeds
Broken Link Checker - 404 & Redirect Chain Audit
Bulk broken link checker and redirect chain audit for your website: finds 404, 410, 5xx, redirect chains, redirect loops, timeouts and mixed content. Each row lists every hop and the pages where the link appears. Broken link checker API, robots.txt-aware. $0.50 per 1,000 links.
Pricing
from $0.50 / 1,000 link checkeds
Rating
0.0
(0)
Developer
Grace M. Hartwell
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
19 days ago
Last modified
Categories
Features
Share
Broken Link Checker & Redirect Chain Checker crawls your website and finds broken links (404, 410, other 4xx, 5xx), redirect chains, redirect loops, timeouts and insecure http / mixed-content links. Enter a start URL and click Start. Each problem comes back as one row that lists every redirect hop and the pages where the link appears, so you know exactly what to fix. robots.txt is respected, and it costs $0.50 per 1,000 links checked.
What can you use the broken link checker for?
- 🔎 Technical SEO audits: 404s and long redirect chains that waste crawl budget.
- 🚚 Website migrations: check that old URLs redirect in one hop, with no loops and no https → http downgrades.
- 🚀 QA before a launch: dead internal links, missing images, broken scripts.
- 📅 Scheduled link monitoring: weekly on a blog, help center or docs site with an Apify schedule.
- 🔒 HTTPS clean-up: remaining
http://links and mixed content on https pages. - 🌍 Outbound link hygiene: external links that now 404 or redirect somewhere else.
Example output: a redirect chain and a redirect loop
Real rows from our test site (local test server, so the host is 127.0.0.1):
{"url": "http://127.0.0.1:8799/r/three-1","status": "redirect","httpStatus": 301,"finalUrl": "http://127.0.0.1:8799/ok-target","finalStatus": 200,"redirectCount": 3,"redirectChain": [{ "url": "http://127.0.0.1:8799/r/three-1", "status": 301, "location": "http://127.0.0.1:8799/r/three-2" },{ "url": "http://127.0.0.1:8799/r/three-2", "status": 301, "location": "http://127.0.0.1:8799/r/three-3" },{ "url": "http://127.0.0.1:8799/r/three-3", "status": 301, "location": "http://127.0.0.1:8799/ok-target" }],"internal": true,"kind": "anchor","issues": ["REDIRECT", "REDIRECT_CHAIN"],"foundOn": [{ "page": "http://127.0.0.1:8799/docs/23", "text": "see also", "tag": "a" }],"foundOnCount": 1,"method": "HEAD","error": null}
{"url": "http://127.0.0.1:8799/loop-a","status": "redirect-loop","redirectCount": 3,"issues": ["REDIRECT_LOOP", "REDIRECT_CHAIN"],"foundOn": [{ "page": "http://127.0.0.1:8799/docs/27", "text": "see also", "tag": "a" }],"error": "Redirect loop: http://127.0.0.1:8799/loop-a → http://127.0.0.1:8799/loop-b → http://127.0.0.1:8799/loop-c → http://127.0.0.1:8799/loop-a"}
How well does it find broken links? Our test
We built a 32-page local test site with 15 planted problems: 7× 404 (including a missing image), 1× 410, 1× 500, redirects with 1, 2, 3 and 4 hops, a 3-URL redirect loop, and one page that answers after 10 s (timeout set to 4 s).
| Result | |
|---|---|
| Planted problems found with the expected status | 15 of 15 |
| False positives | 0 (all 33 "ok" links really were fine) |
| Unique links checked | 48 |
| Wall-clock time | 20.2 s (whole run, including CLI start-up and the deliberately slow page) |
| Public demo site (books.toscrape.com, ≤ 60 requests/min) | 150 links checked (cap), 0 issues, 70.8 s |
This was one test site that we built ourselves, so we knew the answers. It does not prove the checker catches every problem on every site.
Measured by Hartwell Toolworks, Oct 2026. Your results will vary.
What does it find?
| Finding | status / issue code |
|---|---|
| 404, 410, other 4xx, 5xx | broken / BROKEN |
| Redirects; chains of 2+ hops (every hop listed) | redirect / REDIRECT, REDIRECT_CHAIN |
| Redirect loops | redirect-loop / REDIRECT_LOOP |
More hops than maxRedirects | too-many-redirects |
| No answer within the timeout | timeout / TIMEOUT |
| DNS, TLS, connection errors | error / ERROR |
https page linking to http:// | INSECURE_HTTP_LINK |
| https page loading http images, scripts, CSS, iframes, media | MIXED_CONTENT (needs checkResources) |
| https → http redirect / http link upgraded by redirect | HTTPS_TO_HTTP_REDIRECT / HTTP_UPGRADED_BY_REDIRECT |
| Internal URL disallowed by robots.txt | skipped-robots (not requested, not charged) |
Key features
- 🔗 Internal and external links; external sites get one HEAD/GET check per unique URL and are never crawled.
- ↪️ Full redirect chains: each hop with URL, status and
Location. - 📍
foundOn: up to 10 pages with anchor text and tag, plusfoundOnCount. - 🔁 Retries 429, 5xx and network errors with exponential backoff; timeouts are not retried.
- 🤝 Polite: robots.txt for your site, 2 parallel requests per host by default, a clear user agent (
BrokenLinkRedirectAuditor/1.0). - 🧾
onlyIssueskeeps healthy links out of the dataset. - 🧩 Apify platform: schedules, API, webhooks, exports to CSV, Excel, JSON and Google Sheets via integrations.
How much does it cost to check broken links?
| Event | Price | When |
|---|---|---|
link-checked | $0.0005 per unique URL ($0.50 per 1,000) | after a link is checked (crawling pages is included) |
apify-actor-start | $0.00005 per run | at run start |
Each URL is charged once per run, no matter how many pages link to it. robots.txt skips are free. Links hidden by onlyIssues are still checked, so they are still charged. Example: a site with 1,500 unique links costs about $0.75. Our 48-link test run would have cost $0.024 at list price (simulated locally; nothing was billed).
How to find broken links on your website
- Click Try for free and enter your Website (start URL).
- Set Max pages to crawl and Max crawl depth (0 = start page only).
- Choose: external links, resources (images, scripts, CSS, iframes, needed for mixed content), issues only.
- Optional: Max links to check or a Max total charge.
- Click Start. Export the report as CSV, Excel or JSON; the summary is in the
OUTPUTrecord.
Input example
{"startUrl": "https://www.example.org/","maxPages": 200,"maxDepth": 3,"checkExternalLinks": true,"checkResources": true,"onlyIssues": true,"requestTimeoutSecs": 15,"maxRedirects": 10,"maxRetries": 2,"perHostConcurrency": 2,"maxRequestsPerMinute": 120}
| Field | Default | Description |
|---|---|---|
startUrl | https://example.com/ | Only this host is crawled (replace with your site). |
maxPages / maxDepth | 50 / 3 | Crawl limits (1–10,000 / 0–20). |
includeSubdomains | false | Treat subdomains as internal. |
checkExternalLinks | true | Check (never crawl) other sites. |
checkResources | false | Images, scripts, CSS, iframes, media; needed for mixed content. |
onlyIssues | false | Hide healthy links from the dataset. |
maxLinksToCheck | 0 (no limit) | Also capped by Max total charge. |
requestTimeoutSecs / maxRedirects / maxRetries | 15 / 10 / 2 | Per-request limits. |
maxConcurrency / perHostConcurrency / maxRequestsPerMinute | 5 / 2 / 120 | Politeness limits. |
Output fields
url, status, httpStatus, finalUrl, finalStatus, redirectCount, redirectChain, internal, kind (anchor/resource), issues, mixedContentOn, insecureLinkOn, foundOn, foundOnCount, method, responseTimeMs, error, checkedAt. Run summary (OUTPUT): pagesCrawled, uniqueLinksFound, linksChecked, robotsSkipped, byStatus, byIssue, stoppedEarly.
Broken link checker API
curl -X POST "https://api.apify.com/v2/acts/grace_hartwell~broken-link-redirect-auditor/run-sync-get-dataset-items?token=[YOUR_APIFY_TOKEN]" \-H "Content-Type: application/json" \-d '{"startUrl":"https://www.example.org/","maxPages":50,"onlyIssues":true}'
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: process.env.APIFY_TOKEN });const run = await client.actor('grace_hartwell/broken-link-redirect-auditor').call({ startUrl: 'https://www.example.org/', onlyIssues: true });const { items } = await client.dataset(run.defaultDatasetId).listItems();const broken = items.filter((i) => i.status === 'broken');
FAQ
Why is a link that works in my browser reported as 403?
Some sites block non-browser clients or need a login. The row says HTTP 403 (access denied – may be login/bot protection). Check those links manually.
How is a redirect chain counted?
redirectCount is the number of hops. One hop = REDIRECT; two or more also raise REDIRECT_CHAIN.
Are external websites crawled?
No. Each external URL gets one check (HEAD, GET fallback).
Is www.example.com the same site as example.com?
Yes, a leading www. is ignored.
Limitations: what this Actor does not do
- No JavaScript rendering: links injected by client-side scripts are missed.
- No logins or bot-protection bypass; protected pages may show as 401/403
broken. #fragmentsare not checked; only http(s) links.- No sitemap import: pages are found by following links within
maxDepth/maxPages. - robots.txt is read for your start host only; external links are checked without reading their robots.txt.
- Timeouts can take up to about twice
requestTimeoutSecs(HEAD, then GET). maxRequestsPerMinutelimits crawling; link checks are limited byperHostConcurrency.
Other Actors by Hartwell Toolworks
| Actor | What it does |
|---|---|
| Bulk PageSpeed Insights & Core Web Vitals Check | The other half of a technical SEO check: LCP, INP, CLS with alerts |
| HTML to Markdown Converter for LLM & RAG | Titles, meta descriptions, heading outlines and clean Markdown for a URL list |
| Deduplicate & Merge Apify Datasets | Combine several audit runs and keep only new issues |
Found a bug or an edge case? Open an issue on the Issues tab.