# Bulk URL Status Checker - Redirect & Broken Link Audit (`webdata_labs/bulk-url-status-checker`) Actor

\[💵 $2.00 / 1K] Check URLs in bulk for HTTP status codes, broken links, redirects, response times, final URLs, and redirect chains. Built for SEO audits, migrations, QA, and monitoring. CSV/JSON.

- **URL**: https://apify.com/webdata\_labs/bulk-url-status-checker.md
- **Developed by:** [Open Web Team](https://apify.com/webdata_labs) (community)
- **Categories:** SEO tools, Developer tools, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.40 / 1,000 checked urls

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Bulk URL Status Checker - Redirect & Broken Link Audit

**Check thousands of URLs at once for broken links, redirects, and final destinations - one clean report instead of opening URLs by hand.**

This Actor checks URLs in bulk for **HTTP status codes, broken links, redirects, final URLs, response times, and redirect chains**, and returns a clean CSV/JSON report. Built for **SEO audits, site migrations, QA checks, and monitoring** workflows.

### ✅ What you get / ❌ what this isn't

| ✅ This Actor gives you | ❌ This Actor is not |
|---|---|
| Status code, final URL, full redirect chain | Not a browser - it does not run JavaScript |
| Broken-link, timeout, and error classification | Not a crawler that discovers new pages |
| Response time + content type per URL | Not a tool that fails the whole run on one bad URL |
| One run summary row with totals | Not a single-URL checker you repeat by hand |

### 🔎 What you get

- HTTP status code and status text
- Final URL after redirects
- Full redirect chain (every hop)
- Broken-link classification for 4xx/5xx pages
- Timeout and request-error classification
- Response time in milliseconds
- Content-Type header
- SEO issue flags such as `client_error`, `server_error`, `long_redirect_chain`, `final_not_https`, `non_html_content`, and `slow_response`
- One run summary row with totals

### 👥 Who it's for

SEO and QA teams auditing links at scale. Common jobs:

- Check URLs before or after a site migration.
- Find 404s and 5xx pages in bulk.
- Audit redirect chains and final URLs.
- QA exported links from a CMS, sitemap, or crawler.
- Monitor high-value landing pages.
- Prepare clean URL health data for SEO reports.

### Example tasks

- [Check URLs before a site migration](https://apify.com/webdata_labs/bulk-url-status-checker/examples/check-urls-before-site-migration)
- [Find broken links from a URL list](https://apify.com/webdata_labs/bulk-url-status-checker/examples/find-broken-links-from-a-sitemap)
- [Audit redirect chains in bulk](https://apify.com/webdata_labs/bulk-url-status-checker/examples/audit-redirect-chains-in-bulk)

### ⚙️ How to check URLs in bulk

1. Open the Actor on Apify.
2. Paste your `urls` (full URLs or domains).
3. Set `maxUrls` (safety cap; `0` for no cap) and `concurrency`.
4. Keep `followRedirects` on to record the full chain.
5. Click **Start**.
6. Download CSV/JSON/Excel or pull from the Apify API.

### 📥 Input

```json
{
  "urls": [
    "https://example.com",
    "http://example.com",
    "https://example.com/not-found"
  ],
  "maxUrls": 100,
  "followRedirects": true,
  "maxRedirects": 10,
  "timeoutMs": 15000,
  "concurrency": 20
}
````

- `urls` - full URLs or domains to check.
- `maxUrls` - safety cap for a run. Use `0` for no cap.
- `followRedirects` - follow redirects and record the chain.
- `maxRedirects` - max redirects per input URL.
- `timeoutMs` - per-request timeout.
- `concurrency` - parallel URL checks.

### 📤 Output

Each URL audit row includes:

```json
{
  "recordType": "url_audit",
  "inputUrl": "http://example.com",
  "finalUrl": "https://example.com/",
  "status": "redirect",
  "statusCode": 200,
  "ok": true,
  "broken": false,
  "redirected": true,
  "redirectCount": 1,
  "hasSeoIssue": false,
  "seoIssues": [],
  "responseTimeMs": 183,
  "contentType": "text/html",
  "redirectChain": [
    {
      "url": "http://example.com/",
      "statusCode": 301,
      "location": "https://example.com/"
    }
  ]
}
```

The dataset also includes one `run_summary` row with totals for checked, OK, broken, redirected, timeout, error, invalid URLs, and SEO issue flags.

### 💵 How much does it cost?

This Actor uses lightweight HTTP requests only (no browser), so it is cheap and fast even for large lists. You pay per result plus Apify platform usage. Cost scales with the number of URLs; `concurrency` controls speed.

### 🔁 Run it on the Apify platform

Schedule recurring link-health monitoring, call it from the Apify API, export to CSV/JSON/Excel, or wire alerts into Make, Zapier, Slack, or webhooks when broken links appear.

### ⚠️ Limits and caveats

- This Actor uses HTTP requests only. It does not run a browser.
- It does not execute JavaScript on pages.
- It checks the URLs you provide; it does not crawl to discover new ones.
- One bad URL produces an error row, not a failed run.
- Redirect chains are captured manually so you can inspect every hop.
- `non_html_content` is an informational flag, not always a problem. PDFs, images, feeds, and downloads can be valid targets.

### 🧩 Related Actors

- **Website Contact Extractor** - once a domain is reachable, pull its public contacts.
- **Lead List Deduplicator & Normalizer** - clean and merge URL/contact exports before CRM import.

### ❓ FAQ

**Does it run JavaScript?** No. It uses HTTP requests only, which keeps it fast and cheap; client-side redirects are not followed.

**Does one bad URL fail the run?** No. A bad URL becomes an error row so the rest of the batch still completes.

**Can I check whole domains?** Yes - pass domains or full URLs; it checks exactly what you provide.

### 🛠️ Support

If a run fails or a field is missing, open an Actor issue with the run URL, the input you used, and the field or behavior you expected.

# Actor input Schema

## `urls` (type: `array`):

URLs to check. Accepts full URLs like https://example.com/page, and domains like example.com.

## `maxUrls` (type: `integer`):

Safety cap for this run. Default keeps first runs cheap. Use 0 for no cap.

## `followRedirects` (type: `boolean`):

Follow 3xx redirects and record the full redirect chain.

## `maxRedirects` (type: `integer`):

Maximum redirects to follow per URL before marking the row as too\_many\_redirects.

## `timeoutMs` (type: `integer`):

Timeout per URL request.

## `concurrency` (type: `integer`):

How many URLs to check in parallel. Increase for faster large audits.

## `userAgent` (type: `string`):

User-Agent header used for requests.

## Actor input object example

```json
{
  "urls": [
    "https://example.com",
    "https://apify.com"
  ],
  "maxUrls": 100,
  "followRedirects": true,
  "maxRedirects": 10,
  "timeoutMs": 15000,
  "concurrency": 20,
  "userAgent": "Mozilla/5.0 (compatible; BulkUrlStatusChecker/0.1; +https://apify.com)"
}
```

# Actor output Schema

## `OUTPUT` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "urls": [
        "https://example.com",
        "https://apify.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("webdata_labs/bulk-url-status-checker").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "urls": [
        "https://example.com",
        "https://apify.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("webdata_labs/bulk-url-status-checker").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "urls": [
    "https://example.com",
    "https://apify.com"
  ]
}' |
apify call webdata_labs/bulk-url-status-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=webdata_labs/bulk-url-status-checker",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Bulk URL Status Checker - Redirect & Broken Link Audit",
        "description": "[💵 $2.00 / 1K] Check URLs in bulk for HTTP status codes, broken links, redirects, response times, final URLs, and redirect chains. Built for SEO audits, migrations, QA, and monitoring. CSV/JSON.",
        "version": "0.1",
        "x-build-id": "WpJXyFXXae2IAG055"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/webdata_labs~bulk-url-status-checker/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-webdata_labs-bulk-url-status-checker",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/webdata_labs~bulk-url-status-checker/runs": {
            "post": {
                "operationId": "runs-sync-webdata_labs-bulk-url-status-checker",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/webdata_labs~bulk-url-status-checker/run-sync": {
            "post": {
                "operationId": "run-sync-webdata_labs-bulk-url-status-checker",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "urls"
                ],
                "properties": {
                    "urls": {
                        "title": "URLs",
                        "type": "array",
                        "description": "URLs to check. Accepts full URLs like https://example.com/page, and domains like example.com.",
                        "default": [
                            "https://example.com",
                            "http://github.com",
                            "https://example.com/not-found",
                            "https://apify.com"
                        ],
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxUrls": {
                        "title": "Max URLs",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Safety cap for this run. Default keeps first runs cheap. Use 0 for no cap.",
                        "default": 100
                    },
                    "followRedirects": {
                        "title": "Follow redirects",
                        "type": "boolean",
                        "description": "Follow 3xx redirects and record the full redirect chain.",
                        "default": true
                    },
                    "maxRedirects": {
                        "title": "Max redirects",
                        "minimum": 0,
                        "maximum": 20,
                        "type": "integer",
                        "description": "Maximum redirects to follow per URL before marking the row as too_many_redirects.",
                        "default": 10
                    },
                    "timeoutMs": {
                        "title": "Request timeout (ms)",
                        "minimum": 1000,
                        "maximum": 60000,
                        "type": "integer",
                        "description": "Timeout per URL request.",
                        "default": 15000
                    },
                    "concurrency": {
                        "title": "Concurrency",
                        "minimum": 1,
                        "maximum": 100,
                        "type": "integer",
                        "description": "How many URLs to check in parallel. Increase for faster large audits.",
                        "default": 20
                    },
                    "userAgent": {
                        "title": "User agent",
                        "type": "string",
                        "description": "User-Agent header used for requests.",
                        "default": "Mozilla/5.0 (compatible; BulkUrlStatusChecker/0.1; +https://apify.com)"
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
