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

Check thousands of URLs or whole sitemaps: HTTP status codes, redirect chains, response times, broken links on pages, plus title, meta description, canonical, noindex and H1. $0.30 per 1,000 URLs. Broken link checker and redirect chain checker.

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

## Pricing

from $0.24 / 1,000 url checkeds

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/running/actors-in-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 Checker — Broken Links, Redirect Chains, Response Times & SEO Tags

Check **thousands of URLs or whole sitemaps** in minutes. For every URL get the **HTTP status code**, the full **redirect chain** (301/302/307/308 hops), **final URL**, **response time**, content type, server headers, **X-Robots-Tag**, and for HTML pages the **title, meta description, H1, canonical, robots / noindex, hreflang and Open Graph** tags. Turn on **Find broken links on the pages** to check every link on your pages and see **where each broken link was found**.

### Why this checker?

- ⚡ **Fast & cheap** — plain HTTP requests, 20–100 in parallel, **$0.30 per 1,000 URLs**, no start fee
- 🔁 **Full redirect chains** — every hop with its status code, redirect loops and too-many-redirects detected
- 🧯 **Broken link checker** — 4xx / 5xx, DNS errors, timeouts, refused connections, **SSL certificate errors** (with the status you'd get ignoring SSL)
- 🗺️ **Sitemaps** — paste `sitemap.xml`, a sitemap index, `.xml.gz` or just a domain
- 🔎 **SEO audit basics** — title & length, meta description & length, H1 count, canonical (self-referencing or not), **noindex** (meta robots + X-Robots-Tag), hreflang, lang, og:title / og:image
- 🐢 **Slow pages** flagged by your threshold
- 🤖 User agent: desktop Chrome, **Googlebot**, mobile Safari or custom
- 📉 **Only problems** mode — output just broken, redirected, slow or noindex URLs

### Input

```json
{
  "urls": ["https://apify.com", "http://github.com", "example.com/old-page"],
  "sitemapUrls": ["https://crawlee.dev/sitemap.xml"],
  "checkSeo": true,
  "checkLinksOnPages": true,
  "linksSameDomainOnly": false,
  "onlyProblems": false
}
```

### Output

```json
{
  "url": "https://httpbin.org/redirect/3",
  "finalUrl": "https://httpbin.org/get",
  "statusCode": 200,
  "ok": true,
  "isBroken": false,
  "redirectCount": 3,
  "redirectChain": [
    {"url": "https://httpbin.org/redirect/3", "statusCode": 302},
    {"url": "https://httpbin.org/relative-redirect/2", "statusCode": 302},
    {"url": "https://httpbin.org/relative-redirect/1", "statusCode": 302}
  ],
  "responseTimeMs": 912,
  "contentType": "application/json"
}
```

A broken link found on a page:

```json
{
  "url": "https://example.com/this-page-does-not-exist",
  "statusCode": 404,
  "statusText": "Not Found",
  "isBroken": true,
  "foundOnPage": "https://yoursite.com/blog/post"
}
```

HTML pages also include `title`, `titleLength`, `metaDescription`, `metaDescriptionLength`, `h1`, `h1Count`, `canonical`, `canonicalIsSelf`, `robotsMeta`, `noindex`, `hreflangCount`, `lang`, `ogTitle`, `ogImage`.

### Use cases

- **Website migrations** — verify that every old URL 301-redirects to the right new page (and no chains or loops)
- **Broken link checking** — find 404s on your site and on outbound links, with the page where they appear
- **SEO audits** — missing titles / descriptions, duplicate H1s, wrong canonicals, accidental noindex
- **Uptime & link-rot monitoring** — schedule daily runs for your important pages, affiliate links or backlinks
- **Lead lists & data cleaning** — check which domains in a list are alive, redirected or dead
- **Sitemap health** — make sure every sitemap URL returns 200 and is indexable

### Tips & limits

- Some sites block automated requests and answer **403 / 429** even though the page works in a browser — try the Googlebot user agent or Apify Proxy for those.
- Pages are checked with HTTP requests (no JavaScript rendering), which is what search engines see first and what status codes are about.
- Link checking goes one level deep (links on the pages you provide or from the sitemap).

### Pricing

- **URL checked** — per URL (including broken / dead ones). Invalid input lines are free.

Discounts for Apify Silver, Gold and higher plans.

### Integrations & API

- **API** — run it from Python, Node.js or any language with the Apify API / `apify-client` and get results as JSON.
- **Schedules & monitoring** — run it daily and get alerted about new broken links.
- **Zapier, Make, n8n, Google Sheets, Slack, webhooks** — send results to your tools automatically.
- **AI agents (MCP)** — use it from Claude, ChatGPT, Cursor or any MCP client through the Apify MCP server.

### More from ScrolahData

- [Website Contact Scraper](https://apify.com/scrolahdata/website-contact-scraper)
- [Website Screenshot Generator](https://apify.com/scrolahdata/website-screenshot-generator)
- [Google Autocomplete Keyword Tool](https://apify.com/scrolahdata/google-autocomplete-keyword-tool)
- [RSS Feed Reader](https://apify.com/scrolahdata/rss-feed-reader)
- [Chrome Web Store Scraper](https://apify.com/scrolahdata/chrome-web-store-scraper)

# Actor input Schema

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

URLs or domains to check (one per line). Paste thousands at once.

## `sitemapUrls` (type: `array`):

Sitemap URLs (sitemap.xml, sitemap index or .gz) or just a domain — all URLs in the sitemap are checked.

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

Upper limit of URLs checked (incl. links found on pages).

## `checkSeo` (type: `boolean`):

Title, meta description, H1, canonical, robots/noindex, hreflang, Open Graph and lang for HTML pages.

## `checkLinksOnPages` (type: `boolean`):

Also check every link found on the input pages (one level deep) and report where each link was found.

## `linksSameDomainOnly` (type: `boolean`):

With link checking: skip links to other domains.

## `maxLinksPerPage` (type: `integer`):

With link checking: links per page.

## `onlyProblems` (type: `boolean`):

Output only broken (4xx/5xx/errors), redirected, slow or noindex URLs. All checked URLs are still counted.

## `slowThresholdMs` (type: `integer`):

Responses slower than this are flagged isSlow.

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

Browser identity used for the requests.

## `customUserAgent` (type: `string`):

Overrides the user agent above.

## `timeoutSecs` (type: `integer`):

Request timeout.

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

Parallel requests.

## `proxyConfiguration` (type: `object`):

Not needed for most sites. Use Apify Proxy if a site blocks datacenter IPs.

## Actor input object example

```json
{
  "urls": [
    "https://apify.com",
    "https://example.com/this-page-does-not-exist",
    "http://github.com",
    "https://httpbin.org/redirect/3"
  ],
  "maxUrls": 10000,
  "checkSeo": true,
  "checkLinksOnPages": false,
  "linksSameDomainOnly": false,
  "maxLinksPerPage": 200,
  "onlyProblems": false,
  "slowThresholdMs": 3000,
  "userAgent": "chrome",
  "timeoutSecs": 20,
  "maxConcurrency": 20,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (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://apify.com",
        "https://example.com/this-page-does-not-exist",
        "http://github.com",
        "https://httpbin.org/redirect/3"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrolahdata/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://apify.com",
        "https://example.com/this-page-does-not-exist",
        "http://github.com",
        "https://httpbin.org/redirect/3",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("scrolahdata/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://apify.com",
    "https://example.com/this-page-does-not-exist",
    "http://github.com",
    "https://httpbin.org/redirect/3"
  ]
}' |
apify call scrolahdata/bulk-url-status-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrolahdata/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/Id4oTxil6XhgtnIg2/builds/I4KKi21Hj1BLN6n1K/openapi.json
