# Bulk Broken Link Checker: Find 404 and Server Errors

**Use case:** 

Paste a list of URLs and find which ones are broken. For each URL you get the HTTP status code, response time, final URL after redirects and a clear error type for DNS, SSL and timeout failures. Plain HTTP requests, no browser. Use it to clean up link lists, sitemaps and outbound links.

## Input

```json
{
  "urls": [
    "https://www.python.org/",
    "https://www.mozilla.org/en-US/",
    "https://httpbin.org/status/404",
    "https://httpbin.org/status/410",
    "https://httpbin.org/status/503",
    "https://expired.badssl.com/"
  ],
  "checkSeo": false,
  "checkWayback": false,
  "maxRedirects": 5,
  "timeoutSecs": 15,
  "maxHtmlKb": 128,
  "maxConcurrencyPerHost": 2,
  "maxConcurrency": 20
}
```

## Output

```json
{
  "inputUrl": {
    "label": "URL",
    "format": "string"
  },
  "verdict": {
    "label": "Verdict",
    "format": "string"
  },
  "verdictReason": {
    "label": "Verdict reason",
    "format": "string"
  },
  "statusCode": {
    "label": "Status",
    "format": "integer"
  },
  "finalUrl": {
    "label": "Final URL",
    "format": "string"
  },
  "waybackAvailable": {
    "label": "Wayback available",
    "format": "boolean"
  },
  "waybackUrl": {
    "label": "Wayback snapshot",
    "format": "string"
  },
  "redirectCount": {
    "label": "Redirects",
    "format": "integer"
  },
  "responseTimeMs": {
    "label": "Time (ms)",
    "format": "integer"
  },
  "contentType": {
    "label": "Content-Type",
    "format": "string"
  },
  "error": {
    "label": "Error",
    "format": "string"
  },
  "blocked": {
    "label": "Blocked",
    "format": "boolean"
  },
  "canonicalHtml": {
    "label": "Canonical",
    "format": "string"
  },
  "metaRobots": {
    "label": "Meta robots",
    "format": "string"
  },
  "xRobotsTag": {
    "label": "X-Robots-Tag",
    "format": "array"
  },
  "noindex": {
    "label": "Noindex",
    "format": "boolean"
  },
  "hreflang": {
    "label": "Hreflang",
    "format": "object"
  },
  "redirectChain": {
    "label": "Redirect chain",
    "format": "array"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The URL Status Checker: Redirect Checker & HTTP Status Codes Actor is ready to run with the inputs already set for "Bulk Broken Link Checker: Find 404 and Server Errors". [Sign up or log in](https://console.apify.com/create-task-from-example/TlV85n12hxsYD71Nu) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Bulk Broken Link Checker: Find 404 and Server Errors" task

The URL Status Checker: Redirect Checker & HTTP Status Codes Actor will start running based on the input automatically. You can also change all the input fields, like URLs to check, check seo signals, and more, to match your specific use case.

### 3. Receive the "Bulk Broken Link Checker: Find 404 and Server Errors" 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 URL, verdict, verdict reason, and more.

### 4. 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 "Bulk Broken Link Checker: Find 404 and Server Errors" task via API](https://apify.com/ondutylabs/url-status-checker.md).

## FAQ

### What does the bulk broken link checker report for each URL?

The bulk broken link checker returns the status code, final URL, redirect count, response time and content type. DNS, SSL, timeout and redirect-loop failures show up in the error and errorType fields.

### Can the broken link checker crawl a whole website for links?

The bulk broken link checker checks only the URLs you give it. It does not crawl pages or follow links. Paste the list yourself, for example from a sitemap or a spreadsheet export.

### How is the bulk broken link checker charged?

The bulk broken link checker uses pay per event: one url-checked event per checked URL, including errors like DNS or timeout. Invalid and blocked URLs are free. Set a max cost per run to cap spending.

## About this Actor

This example demonstrates how to use [URL Status Checker: Redirect Checker & HTTP Status Codes](https://apify.com/ondutylabs/url-status-checker.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/ondutylabs/url-status-checker.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/ondutylabs/url-status-checker.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
