Broken Link Checker avatar

Broken Link Checker

Under maintenance

Pricing

from $0.30 / 1,000 link checkeds

Go to Apify Store
Broken Link Checker

Broken Link Checker

Under maintenance

Find the broken links on a website: crawls its pages, checks every link once, internal and external, and reports each dead link with its status and the pages it appears on. Fast, with no browser, and it obeys robots.txt.

Pricing

from $0.30 / 1,000 link checkeds

Rating

0.0

(0)

Developer

jake mcclure

jake mcclure

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Features

Limited permissions

Share

Find the broken links on a website. Give it a start page: it reads the site's pages, checks every link on them once (to the site's own pages and files, and to other websites) and reports each dead link with its status and the pages it appears on.

No browser is used, so a site of a few hundred pages is checked in minutes.

Use it to:

  • find 404s, dead domains and server errors before your visitors or search engines do
  • check a site after a redesign, a migration or a change of URL structure
  • audit outbound links that have rotted over the years
  • keep a site healthy by running it on a schedule
  • check a client's or a competitor's site without installing anything

Input

FieldWhat it does
WebsitesOne per line: the page to start from on each website, such as example.com or https://example.com/blog/.
Pages per websiteThe most pages read on each website. Default 100. Every link on those pages is checked.
Save only broken linksOff (default): every link checked is saved, with a column saying whether it is broken. On: only broken links are saved, and you are charged only for those.
Check links to other websitesOn by default. Turn off to check only the site's own pages and files.
Stay under the start page's folderOn: starting at example.com/blog/ reads only pages under /blog/. Links on those pages are still checked wherever they lead.
Obey robots.txtOn by default: addresses a website asks crawlers to stay away from are neither read nor checked.
{
"urls": ["https://example.com/"],
"maxPagesPerWebsite": 500,
"onlyBroken": true
}

Output

One record per link, broken links first:

{
"startUrl": "https://example.com/",
"link": "https://example.com/pricing-2023",
"broken": true,
"result": "client_error",
"httpStatus": 404,
"error": null,
"redirectsTo": null,
"internal": true,
"foundOnCount": 3,
"foundOn": ["https://example.com/", "https://example.com/about", "https://example.com/blog/launch"],
"scrapedAt": "2026-11-18T12:00:00.000Z"
}
  • result is ok, client_error (such as 404 or 410), server_error (5xx), unreachable (nothing answered: a dead domain, a timeout, a refused connection), blocked or redirect.
  • broken is true for client_error, server_error and unreachable.
  • blocked is not counted as broken. Some sites (social networks especially) answer 401, 403 or 429 to any automated check although the link works in a browser. They are flagged so you can open them yourself.
  • foundOn lists up to ten pages that contain the link, and foundOnCount says how many there are in all, so you know where to fix it.
  • redirectsTo is filled when the link works but leads somewhere else; updating such links saves your visitors a hop.
  • internal is true for links to the same website.

A SUMMARY record in the run's key-value store gives, for each website, the pages read, links checked, broken and blocked links, and links not checked because of robots.txt.

Pricing

Pay per result. You are charged once for each link saved, at the per-result price shown on this page, however many pages it appears on. With "Save only broken links" on, working links are not saved and cost nothing.

A website whose start page could not be read costs nothing. The run stops as soon as it reaches the maximum charge you set for it.

Limits

  • Links are found in the pages as the server sends them, without running JavaScript. Links that a script adds later, and links in images, buttons or style sheets, are not checked.
  • A link is checked with a lightweight request; a server that dislikes that is asked once more in the normal way, so a page is not called broken just because of how it was asked.
  • Only the part of the address before # is checked; whether an anchor exists on the target page is not.
  • Requests to any one site are spaced half a second apart, so a site with thousands of links to itself takes a while.
  • Up to 20,000 pages per website.

Is this allowed?

The Actor behaves like a search engine's crawler: it identifies itself in its User-Agent, obeys robots.txt by default, paces its requests to each site and asks each link only once.