Broken Link Checker — Find 404s and Dead Links on a Website
Pricing
from $0.50 / 1,000 results
Broken Link Checker — Find 404s and Dead Links on a Website
Website link checker and dead link checker: crawl a site, check every link, image, script and stylesheet, and get 404 errors, server errors and timeouts with the status code, redirect target and the page where each broken link sits. Internal and external links.
Pricing
from $0.50 / 1,000 results
Rating
0.0
(0)
Developer
Ponderable Hydrometer
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 days ago
Last modified
Categories
Features
Share
Every dead link on your site, with the page it sits on. This website link checker crawls your pages, collects every link, image, stylesheet and script, and checks each one once. You get the status code, where a redirect lands, and the exact page and anchor text to fix. It reads plain HTML, so there is no browser and no proxy.
What you can do with it
- Find 404 errors and dead links on your own site before visitors and search engines do, as part of an SEO or content audit.
- Check outbound links to other sites and catch pages that moved or disappeared (
checkExternal). - Check broken images, stylesheets and scripts, not only text links.
- Run it after a migration or redesign to confirm old URLs still resolve or redirect.
- Schedule it weekly with
onlyBrokenon: a healthy site returns no rows and costs nothing.
Input
| Field | Type | Default | Description |
|---|---|---|---|
startUrls | array | — | Sites to check. The crawl stays on each start URL's site. |
maxPages | integer | 100 | Pages to crawl per site. |
checkExternal | boolean | true | Also check outbound links. |
onlyBroken | boolean | false | Return only failing links. |
Example: {"startUrls": ["https://books.toscrape.com"], "maxPages": 50, "onlyBroken": true}
What you get
One row per checked link: site, url, status, broken, error (timeout, DNS failure…), redirectedTo, foundOn, anchorText, element, internal, responseMs.
Output sample
{"site": "https://books.toscrape.com","url": "https://books.toscrape.com/catalogue/page-51.html","status": 404,"broken": true,"error": null,"redirectedTo": null,"foundOn": "https://books.toscrape.com/catalogue/page-50.html","anchorText": "next","element": "a","internal": true,"responseMs": 212}
Use it from the API or an AI agent
Start a run and read the broken links back in one HTTP call:
curl -X POST "https://api.apify.com/v2/acts/ponderable_hydrometer~broken-links/run-sync-get-dataset-items?token=<YOUR_API_TOKEN>" \-H "Content-Type: application/json" \-d '{"startUrls": ["https://books.toscrape.com"], "maxPages": 20, "onlyBroken": true}'
AI agents can call it through the Apify MCP server: https://mcp.apify.com?tools=ponderable_hydrometer/broken-links.
How it works
The Actor reads each start page, collects the links on it (a, img, stylesheet and script elements) and follows same-site page links until maxPages is reached. Then it checks every unique link: a HEAD request first, and a GET request when the server rejects HEAD (403, 405 or 501). Redirects are followed, so status is the final status and redirectedTo is where the link ended up. A link is broken when the final status is 400 or higher or when there was no answer at all (timeout, DNS failure, connection error).
Limits and good to know
- Each unique link is checked once, even if it appears on many pages;
foundOnshows the first page where it was seen. - Pages are read as static HTML. Links that only exist after JavaScript runs are not seen, and image
srcsetand CSS background images are not checked. mailto:,tel:,javascript:and#anchorlinks are skipped, and so are fragments (#section) when comparing URLs.- Some sites answer automated checks with 403 or 429 although the link works in a browser; treat those as "verify by hand".
- A request that takes longer than 15 seconds is reported as
timeout. The Actor does not readrobots.txt: run it on sites you own or have permission to check. - It lists broken links and redirect targets. It does not follow whole redirect chains hop by hop, and it does not check page content such as titles or canonical tags.
- With
onlyBroken, a healthy site returns no rows and costs nothing.
FAQ
Does it check links on other sites? Yes, by default (checkExternal). Pages on other sites are checked but never crawled.
How do I check a list of URLs without crawling? This Actor starts from a site and discovers links itself; it is not a bulk URL list checker.
Why is a working link reported as broken? Some servers block automated requests (403, 429) or are slow; the status and error fields show which. Re-check those by hand.
Does it count redirects as broken? No. A redirect that ends on a page that works is broken: false with redirectedTo filled in. A redirect that ends on a 404 is broken.
Pricing
Pay per result — $0.50 per 1,000 results (one checked link = one result), plus Apify's standard per-run start event ($0.00005 per GB of memory, so a fraction of a cent per run). No subscription.