Go to example tasks

Check a website for broken links and redirects

Crawl up to ten pages of a small public website and list, for every page, the links that are broken, the links that redirect and the ones that could not be verified. Each row has the counts, the broken links with their status and anchor text, and the final addresses of the redirects. Replace the start address with your own site and raise the page limit.

Try for free
Broken Link Checker – Find 404s and Dead Links API
Broken Link Checker – Find 404s and Dead Links APIrowcraft/broken-link-checker
Address of the page that was read (after redirects)
Number of broken links on the page
The first three broken addresses as one line of text with their HTTP status or state (empty when none are broken)
Number of links that redirect (and end on a working page)
+5 fields
Text
Number
Boolean
List
Object

Input

Websites or pages(required):https://www.sitemaps.org/
Pages to crawl per site:10
Delay between requests to one host (ms):500

Output fields

Address of the page that was read (after redirects)
Number of broken links on the page
The first three broken addresses as one line of text with their HTTP status or state (empty when none are broken)
Number of links that redirect (and end on a working page)
Addresses that were not verified: robots.txt, anti-bot answer, limits (never counted as broken)
Addresses that were verified (ok, redirected or broken)
HTTP status of the page
Site the page belongs to (domain without www.)
Clicks from the start address (0 = a start address)

How it works

Sign up on Apify or log in

The Broken Link Checker – Find 404s and Dead Links API Actor is ready to run with the inputs already set for "Check a website for broken links and redirects". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Check a website for broken links and redirects" task

The Broken Link Checker – Find 404s and Dead Links API Actor will start running based on the input automatically. You can also change all the input fields, like websites or pages, pages to crawl per site, and more, to match your specific use case.

Receive the "Check a website for broken links and redirects" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as address of the page that was read (after redirects), number of broken links on the page, the first three broken addresses as one line of text with their http status or state (empty when none are broken), and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Check a website for broken links and redirects" task via API.

Image

Integrate "Check a website for broken links and redirects" into your workflow

Connect "Check a website for broken links and redirects" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay