Broken Link Checker: crawl, sitemap or URL list avatar

Broken Link Checker: crawl, sitemap or URL list

Pricing

from $0.50 / 1,000 link checkeds

Go to Apify Store
Broken Link Checker: crawl, sitemap or URL list

Broken Link Checker: crawl, sitemap or URL list

Find broken links on a website. Crawls your site (or reads its sitemap or a URL list), checks every unique link once, and returns status, redirect chain, response time, source pages and anchor text. $0.50 per 1,000 unique links.

Pricing

from $0.50 / 1,000 link checkeds

Rating

0.0

(0)

Developer

Kevin Rajan

Kevin Rajan

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 days ago

Last modified

Features

Limited permissions

Share

Find every broken link on your website before your visitors and Google do. Give it a website, a sitemap or a plain list of URLs. It checks each unique link once and tells you which ones return 404 or 410, server errors, timeouts, dead hosts or redirect loops. For each link you also get which pages link to it and with what anchor text.

$0.50 per 1,000 unique links checked, plus a $0.00005 start fee. Each URL is charged once, however many pages link to it, and fetching your pages during the crawl is not charged separately.

FieldExample
urlhttps://example.com/old-pricing
classificationnot_found (also ok, redirected, client_error, server_error, timeout, unreachable, too_many_redirects, blocked)
isBrokentrue
statusCode404
finalUrl / redirectChain / redirectCountevery hop with its status code, e.g. 301 → 302 → 200
responseTimeMs412
linkTypeinternal or external
taga, img, script, link, iframe, …
sourceCount / sourceshow many pages link here, and up to 10 {sourceUrl, anchorText} pairs

The run's REPORT record also counts links per classification and lists the 20 broken links that the most pages link to, so you know which to fix first.

Three ways to start

  • Crawl (default): starts at your URLs and follows links on the same site for up to maxPages pages. It checks every internal link, and external links too unless you turn that off. Other websites are only checked, never crawled.
  • Sitemap: reads robots.txt, sitemap indexes, gzip and text sitemaps, then checks every listed URL. Use it for migrations and to clean up a sitemap.
  • List: checks up to 10,000 URLs you paste or send through the API, such as backlinks, outreach lists or ad landing pages.

Example input

{
"mode": "crawl",
"startUrls": ["https://crawler-test.com/links/broken_links_internal"],
"maxPages": 1,
"maxLinks": 20
}

Input with no startUrls and no urls (for example {}) checks this example: 1 page and its 7 links, charged like any other run.

Example output (one row)

{
"url": "https://crawler-test.com/links/not_found/foo1",
"linkType": "internal",
"tag": "a",
"statusCode": 404,
"finalUrl": "https://crawler-test.com/links/not_found/foo1",
"redirectChain": [],
"redirectCount": 0,
"responseTimeMs": 141,
"classification": "not_found",
"isBroken": true,
"sourceCount": 1,
"sources": [{"sourceUrl": "https://crawler-test.com/links/broken_links_internal", "anchorText": "Broken Internal Link 1"}]
}

Why fewer false alarms

  • Every failure is checked twice. Many servers answer a quick HEAD request with 404 or 405 even though the page works. Each failing HEAD is retried as a 1-byte GET, and only a failure that repeats is reported as broken.
  • Bot walls are not counted as broken. 401, 403, 429 and LinkedIn-style 999 responses are classed as blocked, not broken, so your report is not flooded with links that work fine in a browser.
  • Non-ASCII and international domain URLs are encoded correctly instead of being reported as dead.
  • It is polite to every server. Requests to a single host are capped at 4 per second, robots.txt is respected while crawling, and a 429 is retried once after its Retry-After delay.

Pricing

You pay once per unique link checked.

This ActorTypical alternative
Per 1,000 links$0.50$1.00 to $2.50
Start fee$0.00005$0.00005 to $0.02
Start URLs per runup to 20 sites1 (market leader)
Include / exclude regex filtersyes, applied before chargingnone (market leader)

maxLinks caps the number of links checked and charged. onlyBroken shortens the output to broken links but does not change the price. If you set a maximum charge for the run, it stops checking at that budget, so you never pay for work it cannot deliver.

Filters

  • includePattern / excludePattern: regular expressions applied before checking and charging, e.g. exclude \?replytocom=|/tag/.
  • checkExternalLinks: turn it off to audit only your own site.
  • checkAssets: also check images, scripts, stylesheets, iframes and media.

FAQ

Does it run JavaScript? No. It reads the HTML your server sends, which is fast and cheap. Links that only a client-side script inserts are not found. The sitemap mode covers those pages.

Does it use proxies or get around blocking? No. It identifies itself with its own user agent and respects robots.txt while crawling. Sites that block bots are reported as blocked.

Why is a page I know works reported as blocked? The site refused automated requests with 401, 403, 429 or 999. Open it in a browser to confirm. It is not counted as broken.

Can I schedule it? Yes. Use an Apify Schedule with onlyBroken: true for a weekly link-rot alert, and connect the dataset to Slack, email, Google Sheets or a webhook.

Is any personal data collected? No. Output contains URLs, HTTP metadata and anchor text from the pages you choose to check. Page bodies are not stored.