Broken Link Checker – 404s, Redirects & #Anchors avatar

Broken Link Checker – 404s, Redirects & #Anchors

Pricing

from $1.00 / 1,000 link checkeds

Go to Apify Store
Broken Link Checker – 404s, Redirects & #Anchors

Broken Link Checker – 404s, Redirects & #Anchors

Find broken links on a public website: crawls pages politely (robots.txt + per-host rate limit), checks internal and external links, redirects, soft-404s and missing #anchors. Returns problem rows with source page, anchor text and a fix hint, plus a compact AI-ready summary.

Pricing

from $1.00 / 1,000 link checkeds

Rating

0.0

(0)

Developer

Jerry Lin

Jerry Lin

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Features

Limited permissions

Share

Broken Link Checker – 404s, Redirects & #Anchors crawls a public website, checks every internal and external link, and tells you exactly which links are broken, on which page, with which anchor text – and how to fix them. Give it one URL like https://example.com/ and get a clean, prioritized repair list in minutes.

Unlike plain status-code checkers it also finds the problems those tools miss:

  • 🔗 Broken links – 404/410 and other 4xx, 5xx server errors, DNS failures, timeouts, TLS errors, redirect loops
  • ⚓ Missing #anchors – /docs/page#install where no element with id="install" exists (very common after docs or CMS rewrites)
  • 👻 Soft 404s – pages that answer 200 OK but say "Page not found"
  • ↪️ Redirects – every hop of the chain, with the final URL to update the link to
  • 🛡️ Fewer false alarms – 401/403 bot-protection answers and 429 rate limits are reported separately as access_denied / rate_limited, not as "broken"
  • 🧭 Source page + anchor text for every problem, plus a one-line fix hint
  • 🤖 AI-agent ready – a compact OUTPUT_SUMMARY with an llmSummary paragraph, worst pages and top problems; works through the Apify MCP server

Polite and compliant by design

  • ✅ robots.txt is always honored – for your site and for every external site that is checked. Disallowed URLs are listed as blocked_by_robots and never charged.
  • ✅ Rate limited per host – default 1 request/second per host, never faster than 4/s, and a larger robots.txt Crawl-delay always wins. Max 5 parallel requests in total.
  • ✅ Public pages only – no login, no cookies, no CAPTCHA solving, no proxies needed. The crawler identifies itself with a clear User-Agent (BrokenLinkAnchorChecker).
  • ✅ External links are checked with a lightweight HEAD request (small GET fallback), never crawled.

How to use it

  1. Enter one or more Start URLs (e.g. your homepage or docs root).
  2. Choose mode: crawl (discover internal pages up to Max pages) or list (only the links on the pages you list).
  3. Optionally turn on images/scripts/stylesheets checks or Include healthy links.
  4. Click Start. Problems appear in the Problems table, worst first; the summary is in OUTPUT_SUMMARY.
  5. Schedule it weekly on Apify and connect a webhook, Slack, Make or Zapier to get alerted about new broken links.

Example input

{
"startUrls": ["https://docs.example.com/"],
"mode": "crawl",
"maxPages": 100,
"maxLinks": 2000,
"checkExternalLinks": true,
"checkAnchors": true
}

Example output row

{
"verdict": "missing_anchor",
"url": "https://docs.example.com/setup#installation",
"httpStatus": 200,
"fixHint": "No element with id/name \"installation\" on the target page; fix the #fragment.",
"sourceCount": 3,
"sources": [{ "pageUrl": "https://docs.example.com/", "anchorText": "Install guide" }],
"isExternal": false,
"linkType": "link"
}

Verdicts: broken, server_error, network_error, soft_404, missing_anchor, rate_limited, access_denied, redirect, blocked_by_robots (and ok with Include healthy links).

Summary for AI agents (OUTPUT_SUMMARY)

{
"pagesCrawled": 100,
"linksChecked": 1432,
"counts": { "ok": 1390, "broken": 12, "redirect": 21, "missing_anchor": 6, "access_denied": 3 },
"worstPages": [{ "pageUrl": "https://docs.example.com/old-guide", "problemLinks": 7 }],
"llmSummary": "Checked 1432 unique links from 100 page(s) of docs.example.com. Problems: 12 broken (4xx), ..."
}

How much does it cost?

This Actor uses pay-per-event pricing – no subscription, no separate compute bill:

EventPrice
link-checked – one unique URL verified (each crawled page and each distinct link counts once, however many pages link to it)$0.001
Actor start (per GB of memory; default 512 MB = 1 event)$0.002

Examples: 300 links ≈ $0.30, 1,000 links ≈ $1.00. URLs skipped because of robots.txt are free, and dataset rows are free. Use Max links to cap the cost, or set a maximum cost per run – the Actor stops cleanly at the limit.

Use it from AI agents (MCP)

Add the Actor to any MCP client (Claude, Cursor, VS Code, ChatGPT connectors):

https://mcp.apify.com?tools=rationalistic_tail/broken-link-anchor-checker

The agent sends startUrls (and optionally mode, maxPages), then reads OUTPUT_SUMMARY.llmSummary or the problem rows. The Actor runs with limited permissions, so it also works with prepaid agent tokens (x402 / Skyfire via Apify AGI).

FAQ

Does it render JavaScript? No – it reads the HTML your server returns, which is what search engines see first. Links injected only by client-side JavaScript are not discovered.

Why is a link access_denied instead of broken? Many sites (LinkedIn, some CDNs) answer 403/999 to any automated request. We report them separately so your repair list contains only real problems.

Can I check a site I don't own? Only public pages, and only as far as robots.txt allows. Please keep the default polite settings.

Is it legal? It only requests public URLs, honors robots.txt, sends no personal data and collects none.

Other tools by the same developer