# Bulk URL Status & Broken Link Checker: 404s, Redirects (`stellalytics/bulk-url-status-checker`) Actor

Check the HTTP status of thousands of URLs: 404s, 5xx errors, redirect chains and final URLs, with a verified broken/ok verdict per URL. Timeouts and bot blocks are marked unverified, not broken, and are free. Obeys robots.txt. No API key, no browser.

- **URL**: https://apify.com/stellalytics/bulk-url-status-checker.md
- **Developed by:** [Stellalytics](https://apify.com/stellalytics) (community)
- **Categories:** SEO tools, Developer tools
- **Features:** Limited permissions
- **Stats:** 5 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.60 / 1,000 urls checked

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/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Bulk URL Status & Broken Link Checker: HTTP status codes, 404s and redirect chains

**Paste a list of URLs and get the HTTP status of each one:** 200, 301, 404, 500 and the rest, the full redirect chain and final URL, and a clear verdict: `ok`, `redirect`, `broken` or `unverified`. Check thousands of URLs in one run, for example after a site migration, before a redirect map goes live, or to clean up old links in a CRM, spreadsheet or backlink list.

A URL is counted as **broken only when that is verified**: a real 4xx or 5xx answer, a domain that does not exist, a refused connection, an invalid certificate or a redirect loop. A timeout, a bot challenge or a 401/403/429 answer is `unverified`, because those often happen to working pages. Those rows have no per-URL charge.

No API key, no login, no browser. The Actor obeys robots.txt, keeps a polite pace per site and never downloads page bodies.

### What you get

One row per URL:

| Field | Example | Meaning |
| --- | --- | --- |
| `url` | `https://example.com/old-page` | The URL checked (a missing `https://` is added; `inputUrl` keeps what you entered) |
| `verdict` | `redirect` | `ok`, `redirect`, `broken`, `unverified`, `blocked_by_robots`, `invalid_url` or `not_checked` |
| `broken` | `false` | `true` only for verified broken URLs, handy for filtering |
| `statusCode` | `301` | The first HTTP answer |
| `finalUrl`, `finalStatusCode` | `https://example.com/new-page`, `200` | Where the redirects end, and the status there |
| `redirectCount`, `redirectChain` | `1`, `[{"url": "…", "statusCode": 301}, …]` | Every hop with its status (up to 10). When a redirect leads to a page robots.txt disallows, that last hop is listed with a `null` status and the URL is `unverified` |
| `contentType` | `text/html` | The final answer's content type |
| `responseTimeMs` | `120` | Total time for all hops |
| `error` | `host does not resolve` | Why a URL is broken, unverified or skipped |
| `checkedAt` | `2026-11-12T17:18:25+00:00` | When it was checked |

A **SUMMARY** record in the run's key-value store counts URLs by verdict and by final status code, lists up to 1,000 broken URLs, and counts redirect chains of two or more hops. The dataset has three views: Overview, Redirect chains, and All fields.

#### Sample output

A real row from a run on 2026-11-12 against crawler-test.com, a site made for testing crawlers:

```json
{
  "inputUrl": "https://crawler-test.com/redirects/redirect_1",
  "url": "https://crawler-test.com/redirects/redirect_1",
  "verdict": "redirect",
  "broken": false,
  "statusCode": 301,
  "finalUrl": "https://crawler-test.com/redirects/redirect_target",
  "finalStatusCode": 200,
  "redirectCount": 1,
  "redirectChain": [
    {"url": "https://crawler-test.com/redirects/redirect_1", "statusCode": 301},
    {"url": "https://crawler-test.com/redirects/redirect_target", "statusCode": 200}
  ],
  "contentType": "text/html",
  "responseTimeMs": 33,
  "error": null,
  "checkedAt": "2026-11-12T17:18:25+00:00"
}
```

### Use cases

- **Site migration QA:** check every old URL and confirm it redirects in one hop to the right page, not to the homepage or a 404.
- **Redirect map testing:** paste the source URLs of a redirect map before or after launch and compare `finalUrl` with your targets.
- **Broken link cleanup** in a spreadsheet, CMS export, product feed, email template or backlink list.
- **Sitemap QA:** paste the URLs from your XML sitemap and find the ones that redirect or fail.
- **Monitoring:** schedule a list of important URLs daily and send broken ones to Slack or email.

To crawl a whole site and find the broken links on each page, use our [SEO Audit & Broken Link Checker](https://apify.com/stellalytics/seo-site-audit) instead: it discovers the pages and links for you.

### How to use it

1. Paste your URLs into **URLs to check**, one per line (up to 20,000 per run).
2. Leave **Follow redirects** on to see where each URL ends up.
3. Click **Start**. Download the results as CSV, Excel or JSON, or read them through the API.

Each site gets at most 2 requests at a time and 4 per second, so 1,000 URLs on one site take about 4 to 5 minutes; a list spread over many sites runs in parallel (**URLs in parallel**, default 10). The Actor sends a HEAD request first and falls back to a GET for the headers only when a server refuses HEAD.

### Pricing

$0.001 per checked URL ($1 per 1,000; $0.0008 on Apify's Silver plan, $0.0006 on Gold and above; see the Pricing tab), plus Apify's standard start fee of $0.00005 per run. You pay only for URLs the server answered: `ok`, `redirect`, and `broken` with a 4xx/5xx status. Unverified URLs, URLs blocked by robots.txt, invalid or private addresses, domains that do not resolve and URLs not checked before the run's timeout have no per-URL charge. Set a **maximum cost per run** in Apify and the Actor stops when it is reached.

### Automate it: schedules and integrations

- **Daily or weekly checks:** in Apify Console, open **Schedules** and add this Actor or a saved task.
- **Send results where your team works:** the **Integrations** tab connects Google Sheets, Slack, email, Make, Zapier, n8n or a webhook.
- **API:** start runs and download results with the Apify API or the official Python and JavaScript clients (see the **API** tab).
- **AI agents (MCP):** connect Claude, Cursor or any MCP client to Apify's MCP server at `https://mcp.apify.com?tools=stellalytics/bulk-url-status-checker`.

### Related Actors

- [SEO Audit & Broken Link Checker](https://apify.com/stellalytics/seo-site-audit): crawls a whole site, checks every link on every page, and runs 37 technical SEO checks.
- [Tech Stack & Domain Lookup](https://apify.com/stellalytics/website-domain-intelligence): tech stack, DNS, email setup, SSL expiry and AI-crawler rules for a list of domains.
- [Google Maps Contact Details Enricher](https://apify.com/stellalytics/business-contact-finder): company role emails, phones, social pages and the contact page for a list of websites or Google Maps leads.

### Limitations

- Some servers refuse automated requests (401, 403, 429, LinkedIn's 999) or show a bot challenge. Those URLs are reported as `unverified`, never bypassed and never counted as broken.
- When a site's robots.txt disallows crawlers for a URL, the URL is not requested (`blocked_by_robots`). A robots.txt that cannot be read, or answers 5xx or 429, means "disallow everything" under RFC 9309.
- Only public `http` and `https` addresses on ports 80 and 443 are checked. IP addresses, localhost and internal names are skipped (`invalid_url`).
- The status reflects what a server tells a bot from Apify's data centres at that moment; a page can answer differently by country or for logged-in visitors.
- JavaScript redirects and meta-refresh redirects are not followed: only HTTP redirects (301, 302, 303, 307, 308).

### FAQ

**Why not just ask ChatGPT or Claude to check my links?** A chat assistant's web tool usually returns the page text, often from a cached copy, not the live status code or the redirect chain. This Actor asks each server directly and returns the status, each redirect hop (up to 10) and the final URL, one row per URL, for thousands of URLs in one run. You pay only for URLs the server answered. You can also let your assistant run this Actor for you through Apify's MCP server. ChatGPT and Claude are trademarks of their owners and are named only for comparison.

**Why is a URL "unverified" and not "broken"?** Because the check could not prove it is dead: it timed out, the connection dropped after a retry, or the server refused bots (401, 403, 429, 999, or a bot challenge). Open it in a browser to confirm. Unverified rows have no per-URL charge.

**Does it download pages?** No. It reads only the response headers, so large files cost one request each.

**Is this affiliated with any website it checks?** No.

### Support

Found a bug or need a feature? Open an issue on the Issues tab, where fixes for broken runs are a priority. For a custom version or a question you'd rather not post publicly, email <stellalytics@gmail.com>. Never send API keys or passwords by email or in an issue.

# Actor input Schema

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

One URL per line, up to 20,000. A missing https:// is added. Duplicates are checked once. Only public http(s) addresses are requested; IP addresses, localhost and internal names are skipped.

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

On: follow each redirect (up to 10) and report the chain and the final status. Off: report the first answer only, so a 301 is the result.

## `maxConcurrency` (type: `integer`):

How many URLs are checked at once across all sites. Each site still gets at most 2 requests at a time and 4 per second, so a list from one site is not sped up by a higher number.

## Actor input object example

```json
{
  "urls": [
    "https://crawler-test.com/",
    "https://crawler-test.com/status_codes/status_404",
    "https://crawler-test.com/redirects/redirect_1",
    "https://crawler-test.com/status_codes/status_500"
  ],
  "followRedirects": true,
  "maxConcurrency": 10
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `summary` (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://crawler-test.com/",
        "https://crawler-test.com/status_codes/status_404",
        "https://crawler-test.com/redirects/redirect_1",
        "https://crawler-test.com/status_codes/status_500"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("stellalytics/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://crawler-test.com/",
        "https://crawler-test.com/status_codes/status_404",
        "https://crawler-test.com/redirects/redirect_1",
        "https://crawler-test.com/status_codes/status_500",
    ] }

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

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).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://crawler-test.com/",
    "https://crawler-test.com/status_codes/status_404",
    "https://crawler-test.com/redirects/redirect_1",
    "https://crawler-test.com/status_codes/status_500"
  ]
}' |
apify call stellalytics/bulk-url-status-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,stellalytics/bulk-url-status-checker"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/SMGRvqeTEWkKaeiL8/builds/1Gd4u9jOkP1pKEDXq/openapi.json
