# Broken Link Regression Monitor - Failed URLs for websites (`mmdincer/broken-link-regression-monitor`) Actor

Extract HTTP status for the URLs you name from the URLs you list. Includes the URL, HTTP status and whether the failure is new. A fixed URL list or one sitemap level, not a full-site crawler. The prefilled sample is the quick default run. Results as JSON, CSV or Excel. Access through API or MCP.

- **URL**: https://apify.com/mmdincer/broken-link-regression-monitor.md
- **Developed by:** [Muhammet Mustafa Dincer](https://apify.com/mmdincer) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.40 / 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

### 🤖 What does the broken link monitor do?

A broken link monitor reads HTTP status for the URLs you name from the URLs you list.
It can collect:

- **HTTP status for the URLs you name** from the URLs you list
- **the URL, HTTP status and whether the failure is new**
- **A saved baseline** when the source compares the next run
- **JSON, CSV or Excel** from the dataset
- **The same run through the Apify API or MCP**

### 💡 Why use the broken link monitor?

People use a broken link monitor when the same public page would otherwise be checked by hand.

- **Watch a change.** The Actor keeps a baseline and writes the next difference.
- **Feed a sheet.** The dataset opens as JSON, CSV or Excel.
- **Call it from code.** The Apify API runs the same input.
- **Hand it to an agent.** Apify MCP can call the Actor with that input.
- **Stay on the sample.** The prefilled input is the short, cheap run.

### 🚀 How do you run the broken link monitor?

1. Open this Actor and click **Try for free**.
2. Keep the prefilled sample, or set the prefilled fields.
3. Leave the other fields on their defaults unless you need a narrower run.
4. Click **Run**.
5. Open the **Dataset** tab and download JSON, CSV or Excel.

Sample input from the prefilled schema:

```json
{
  "urls": [
    "https://example.com/"
  ],
  "sitemapUrl": "",
  "onlyNewBreaks": false,
  "monitorName": "default",
  "maxUrls": 25,
  "requestDelayMs": 1000
}
```

### ⚠️ What limits does this Actor have?

The input schema is the limit. Defaults and prefills are unchanged by this copy update.

- `maxUrls`: maximum 50, minimum 1.
- `requestDelayMs`: maximum 10000, minimum 1000.
- A robots.txt disallow is not treated as a successful priced read when the source checks robots.txt.
- Actor Start is priced in the table. The other events are billed only when the source charges them and the charge is accepted.
- A spending limit that cannot pay for the next event stops that event. The source does not invent a result to replace it.

### 💳 How much does the broken link monitor cost?

The table is the live pay-per-event price list (`pricingInfos`) for this Actor. It is not a guessed price.
| Event | What the price list calls it | Free | Bronze | Silver | Gold | Platinum | Diamond |
| --- | --- | --- | --- | --- | --- | --- | --- |
| `apify-actor-start` | Actor Start | $0.0005 | $0.0005 | $0.0005 | $0.0005 | $0.0005 | $0.0005 |
| `url-checked` | URL checked | $0.002 | $0.0018 | $0.0016 | $0.0014 | $0.0014 | $0.0014 |

One Free-plan run that bills one `url-checked` plus Actor Start is $0.0005 + $0.002 = $0.0025. 1,000 `url-checked` events on the Free plan are $2.00, before Actor Start. These figures use only the live prices in the table.

`apify-actor-start` is in the live price list. Charged when the Actor starts running. Number of events charged depends on Actor memory (one event per GB, minimum one event).
The source names `url-checked` and charges it with Actor.charge when that event happens. One URL whose HTTP status was read, including a first baseline, an unchanged URL, a recovery, and a new failure. A URL disallowed by robots.txt, skipped for a long crawl delay, unreachable, invalid, or left unchecked because of the spending limit is not charged.

### 📝 What input does this Actor take?

Required fields are marked. Defaults and prefills are the quick run; this text does not change them.

| Field | Required | What it means |
| --- | --- | --- |
| `urls` (URLs) | No | Page or file URLs to check, one per line. These are the targets, not pages to crawl for more link... |
| `sitemapUrl` (Sitemap URL) | No | Optional. A sitemap urlset, or a sitemap index one level deep. Locations are checked up to the UR... |
| `onlyNewBreaks` (Only new failures) | No | Leave this off for the sample run. A repeated check then still writes each URL with its current H... |
| `monitorName` (Watchlist name) | No | Name of the saved baseline. Runs that use the same name compare against each other. |
| `maxUrls` (Maximum URLs) | No | Cap on targets checked in this run, after the list and the sitemap are combined. |
| `requestDelayMs` (Delay between requests (ms)) | No | Minimum pause between requests to the same host, after the first one. The floor is 1000 ms. A rob... |

### 📊 What output does this Actor return?

The dataset schema names every stored field.

| Field | What the schema says |
| --- | --- |
| `recordType` | link: one row per URL. |
| `status` | baseline_saved, unchanged, newly_broken, recovered, robots_disallowed... |
| `changeType` | baseline, unchanged, newly_broken, or recovered. Null when the URL wa... |
| `input` | The URL as entered, or the sitemap location. |
| `url` | Normalized URL that was checked. |
| `finalUrl` | URL after redirects. |
| `httpStatus` | HTTP status. Null when no response was received. |
| `redirectCount` | Redirects followed, up to five. |
| `linkClass` | ok for 2xx and 3xx, broken for 4xx and 5xx, error otherwise. |
| `previousClass` | linkClass saved by the previous run. Null on a first baseline. |
| `checkedAt` | When this URL was handled, ISO 8601. |
| `charged` | True when the URL check was billed. |
| `message` | What changed, or why the URL was skipped. |

Field examples declared in the dataset schema shipped with this Actor. They are not a newly invented row.

```json
{
  "recordType": "link",
  "status": "baseline_saved",
  "changeType": "baseline",
  "input": "https://example.com/",
  "url": "https://example.com/",
  "finalUrl": "https://example.com/",
  "httpStatus": 200,
  "redirectCount": 0,
  "linkClass": "ok",
  "previousClass": null,
  "checkedAt": "2026-11-06T17:30:00.000Z",
  "charged": true,
  "message": "Baseline saved (HTTP 200)."
}
```

### 🔌 How do you call this Actor from the API?

Call `mmdincer/broken-link-regression-monitor` with the Apify API. The body is the input schema. MCP clients on Apify use the same input.
Make and Zapier can start the Actor through Apify's integration. The input is the same JSON.

```python
from apify_client import ApifyClient
client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("mmdincer/broken-link-regression-monitor").call(run_input={"urls": ["https://example.com/"], "sitemapUrl": "", "onlyNewBreaks": false, "monitorName": "default", "maxUrls": 25, "requestDelayMs": 1000})
items = client.dataset(run["defaultDatasetId"]).list_items().items
```

```javascript
import { ApifyClient } from "apify-client";
const client = new ApifyClient({ token: "<APIFY_TOKEN>" });
const run = await client.actor("mmdincer/broken-link-regression-monitor").call({"urls": ["https://example.com/"], "sitemapUrl": "", "onlyNewBreaks": false, "monitorName": "default", "maxUrls": 25, "requestDelayMs": 1000});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

### ❓ What else should you know?

#### Does the broken link monitor need a login?

The sample run uses the public source and the prefilled input. A field that asks for your own key is optional unless the input schema marks it required.

#### What does the broken link monitor charge for?

The primary event in the live price list is `url-checked` (URL checked). Actor Start is separate. An event the source does not call is not billed by the source.

#### Can this Actor run on a schedule?

Yes. Save the input and schedule it. The next run compares against the baseline when the source stores one.

#### Where do the results go?

Results land in the run dataset. Download JSON, CSV or Excel, or read them with the API.

### ⚖️ Is it legal to use the broken link monitor?

You are responsible for the source terms and for privacy law that applies to you, including the GDPR if you handle personal data. This Actor stores the public fields described above. The source checks robots.txt before a fetch when that check is in the code. This Actor is not affiliated with this monitor.

Not affiliated with this monitor.
Source license: Apache-2.0.
The live prices in the table are set on the platform.
Where the source checks robots.txt, a disallowed URL is not fetched as a normal result.
This is not a full-site crawler. A new failure is not a second charge; it is the same `url-checked` event.
Neighbor link checkers are a different product. Screaming Frog sells a desktop crawler; this Actor only checks the addresses you provide.

### 🔗 Which related actors sit beside this one?

Other public Actors from mmdincer in this group:

- [Schema Markup Monitor - JSON-LD changes for pages](https://apify.com/mmdincer/schema-markup-change-monitor)
- [Sitemap Change Monitor - URL changes for websites](https://apify.com/mmdincer/sitemap-change-monitor)
- [Tech Stack Monitor - Added and removed tools for sites](https://apify.com/mmdincer/website-tech-stack-monitor)
- [Key Pages Scraper - Contact and pricing for sites](https://apify.com/mmdincer/website-key-pages-finder)
- [WordPress Plugin Monitor - Versions for plugins](https://apify.com/mmdincer/wordpress-plugin-version-monitor)
- [Autocomplete Scraper - Suggestions for search engines](https://apify.com/mmdincer/autocomplete-keyword-scraper)
- [SaaS Pricing Monitor - Price and changelog for pages](https://apify.com/mmdincer/saas-pricing-changelog-monitor)

Run the broken link monitor again when you want a fresh broken link check.

Run the broken link monitor again when you want a fresh broken link check.

Run the broken link monitor again when you want a fresh broken link check.

Run the broken link monitor again when you want a fresh broken link check.

Run the broken link monitor again when you want a fresh broken link check.

Run the broken link monitor again when you want a fresh broken link check.

Run the broken link monitor again when you want a fresh broken link check.

Download the dataset as JSON, CSV or Excel when the run finishes.

The same input can be saved and started again tomorrow.

A status row explains a page that was skipped or blocked.

Defaults and prefills stay the short sample, so the first run stays small.

The dataset schema is the list of columns in the download.

# Changelog

This Actor's version history is a separate document: https://apify.com/mmdincer/broken-link-regression-monitor/changelog.md

# Actor input Schema

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

Page or file URLs to check, one per line. These are the targets, not pages to crawl for more links. Up to 50 per run, together with any sitemap URLs.

## `sitemapUrl` (type: `string`):

Optional. A sitemap urlset, or a sitemap index one level deep. Locations are checked up to the URL cap. Leave empty to check only the list above.

## `onlyNewBreaks` (type: `boolean`):

Leave this off for the sample run. A repeated check then still writes each URL with its current HTTP status, including status unchanged. Turn it on after a baseline exists when the dataset should list only URLs that newly fail, recover, or could not be checked. Unchanged URLs then stay in the run summary. Omitting the field is the same as on.

## `monitorName` (type: `string`):

Name of the saved baseline. Runs that use the same name compare against each other.

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

Cap on targets checked in this run, after the list and the sitemap are combined.

## `requestDelayMs` (type: `integer`):

Minimum pause between requests to the same host, after the first one. The floor is 1000 ms. A robots.txt Crawl-delay is honored up to 10 seconds. A longer delay skips that host.

## Actor input object example

```json
{
  "urls": [
    "https://example.com/"
  ],
  "sitemapUrl": "",
  "onlyNewBreaks": false,
  "monitorName": "default",
  "maxUrls": 25,
  "requestDelayMs": 1000
}
```

# Actor output Schema

## `links` (type: `string`):

Checked URLs, including new failures and the first baseline.

## `summary` (type: `string`):

URLs requested, baselines, new failures, recoveries, and skips.

# 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/"
    ],
    "sitemapUrl": "",
    "onlyNewBreaks": false,
    "monitorName": "default",
    "maxUrls": 25,
    "requestDelayMs": 1000
};

// Run the Actor and wait for it to finish
const run = await client.actor("mmdincer/broken-link-regression-monitor").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/"],
    "sitemapUrl": "",
    "onlyNewBreaks": False,
    "monitorName": "default",
    "maxUrls": 25,
    "requestDelayMs": 1000,
}

# Run the Actor and wait for it to finish
run = client.actor("mmdincer/broken-link-regression-monitor").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://example.com/"
  ],
  "sitemapUrl": "",
  "onlyNewBreaks": false,
  "monitorName": "default",
  "maxUrls": 25,
  "requestDelayMs": 1000
}' |
apify call mmdincer/broken-link-regression-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mmdincer/broken-link-regression-monitor"
        }
    }
}
```

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/hQRbm5QGr599ISYKr/builds/pTdLkAN8hpbvbbenv/openapi.json
