# Bulk Broken-Link & Redirect Audit — Fix List & Health Score (`paoe/bulk-broken-link-redirect-audit`) Actor

- **URL**: https://apify.com/paoe/bulk-broken-link-redirect-audit.md
- **Developed by:** [Rashad Flet](https://apify.com/paoe) (community)
- **Categories:** SEO tools, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

Check a list of URLs, or crawl a seed site's links, and get an actionable fix list: 404s, 410s, server errors, redirect chains longer than one hop, blocking (401/403/429) and timeouts. Every record says what to do about it, and the run ends with a health score and a prioritised attention list. No browser required, so it is fast and cheap. Built by PAOE.

Each item is processed individually and charged as its own event, so you pay only for what the run actually delivers. Results are written to the run's dataset as one JSON object per item, ready to download as JSON, CSV or Excel, or to pull through the Apify API.

### What it checks

For each URL: the HTTP status, whether it is broken (404, 410, 5xx), whether it redirects and how long the chain is, whether it is blocked (401, 403, 429) and whether it times out. Each record carries the final URL after redirects and a `fix` action telling you what to do about that specific result.

### Pricing

| Event | What it covers | Price |
| --- | --- | --- |
| `url-checked` | URL checked (primary) | $0.02 per event |

Volume tiers reduce the price automatically on higher Apify plans: Bronze 15% off, Silver 25% off and Gold or above 40% off the listed free-tier price. The charge is per item processed, not per run.

### Input

| Field | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `urls` | array | yes | `["https://example.com"]` | One or more URLs. Each URL checked is one charged event. |
| `crawlLinks` | boolean | no | `True` | When on, links discovered on the first few seed pages are checked too, so one seed URL produces a whole-site audit. |
| `maxUrls` | integer | no | `200` | Hard cap on the total number of URLs checked in a run. |

Example input:

```json
{
  "urls": [
    "https://example.com"
  ],
  "crawlLinks": true,
  "maxUrls": 200
}
```

### Output

One JSON object per item in the run's dataset. Every result carries the input it came from plus the fields this Actor measures, so the output can be joined back to your own data without guessing which row is which. The final dataset entry is a `summary` object with the run's totals.

### Typical use cases

- Find broken links across a site before visitors do.
- Audit redirect chains after a migration or a domain move.
- Produce a fix list for a content or SEO team, sorted by severity.

### Limitations

No: a broken link is a successful result, because it is exactly what you asked to find. The run fails only if the Actor itself cannot execute. By default the Actor expands each seed URL with the links found on it, and `maxUrls` caps the total, so a large site cannot produce an unbounded bill. Set `crawlLinks` to false to check only the URLs you pass.

#### Does a 404 count as a failed run?

Every limitation above is reported per item in a `findings` entry with a `level` of `fail`, `warn`, `info` or `ok`, a machine-readable `code` and a concrete `action`. If something cannot be checked it is reported as such rather than assumed to be fine.

#### Can it run on a schedule?

Yes. Save a task from this Actor with your inputs, then set a schedule on the task. Scheduled runs recur with the same inputs, which is the intended way to use it for ongoing monitoring.

#### How do I keep the cost predictable?

`maxUrls` is a hard cap on the total number of URLs checked, and each checked URL is one charged event. Set it to the most you are willing to pay divided by the `url-checked` price.

### Notes

If a site returns something unexpected, open an issue on the Actor's page with the URL and the input used, and it will be looked at.

### Related Actors

- [AI Agent Readiness Audit](https://apify.com/paoe/ai-agent-readiness-audit)

### Keywords

broken link checker, 404 checker, redirect audit, link checker, SEO audit, site crawl, bulk URL checker, redirect chain.

# Actor input Schema

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

One or more URLs. Each URL checked is one charged event.

## `crawlLinks` (type: `boolean`):

When on, links discovered on the first few seed pages are checked too, so one seed URL produces a whole-site audit.

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

Hard cap on the total number of URLs checked in a run.

## Actor input object example

```json
{
  "urls": [
    "https://example.com"
  ],
  "crawlLinks": true,
  "maxUrls": 200
}
```

# Actor output Schema

## `records` (type: `string`):

One record per URL with its classification, HTTP status and the concrete fix action.

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

Health score, counts by category and the prioritised attention list.

# 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"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("paoe/bulk-broken-link-redirect-audit").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"] }

# Run the Actor and wait for it to finish
run = client.actor("paoe/bulk-broken-link-redirect-audit").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"
  ]
}' |
apify call paoe/bulk-broken-link-redirect-audit --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,paoe/bulk-broken-link-redirect-audit"
        }
    }
}
```

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/yLO9fHdQGrELBqziT/builds/80NzvWL2rND6qpm8d/openapi.json
