# Bulk URL Status Checker & Redirect Tracer (`erzia/url-status-checker`) Actor

Check thousands of URLs fast: HTTP status, full redirect chain, final URL, response time, content type and page title. Find broken links (404, 5xx) and redirect chains for SEO audits and site migrations. $0.50 per 1,000 URLs.

- **URL**: https://apify.com/erzia/url-status-checker.md
- **Developed by:** [Erzia](https://apify.com/erzia) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.50 / 1,000 urls

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 & Redirect Tracer

Check thousands of URLs in one run and see which ones are **broken, redirected or slow**. For every URL you get the HTTP status, the **full redirect chain**, the final URL, response time, content type, server and page title. **$0.50 per 1,000 URLs.**

### What it's for

- **SEO audits**: find 404s, 5xx errors and long redirect chains (301 → 302 → 200) before Google does.
- **Site migrations**: confirm every old URL redirects to the right new page.
- **Link checking**: validate links from a sitemap, a spreadsheet, a newsletter or an affiliate list.
- **Monitoring**: schedule the Actor daily and get only the problems with **Only problems** turned on.

### How it works

1. Paste URLs or upload a file (TXT/CSV). Duplicates are removed.
2. The Actor requests each URL with a real browser User-Agent and follows redirects **one hop at a time**, recording each step.
3. You get one row per URL. Export to Excel, CSV or JSON, or connect Google Sheets, Slack, Make, Zapier or n8n.

No browser is started, so runs are fast and cheap: 10 parallel requests by default, up to 50.

### Output

| Field | Example | Meaning |
|---|---|---|
| `url` | `http://github.com` | URL you provided |
| `ok` | `true` | Final response is 2xx |
| `status` | `200` | Final HTTP status |
| `finalUrl` | `https://github.com/` | Where the redirects lead |
| `redirectCount` | `1` | Number of redirects |
| `redirectChain` | `[{"url":"http://github.com/","status":301}]` | Every hop with its status |
| `responseTimeMs` | `412` | Total time including redirects |
| `contentType` | `text/html; charset=utf-8` | Response content type |
| `contentLength` | `null` | Size if the server reports it |
| `server` | `github.com` | `Server` header |
| `title` | `GitHub · Build and ship software…` | HTML `<title>` |
| `error` | `null` / `ENOTFOUND` / `Timed out after 15000 ms` | Why a URL failed |
| `checkedAt` | `2026-11-07T15:00:00.000Z` | Check time |

A failed URL never stops the run: it gets `ok: false` and an `error`. Malformed URLs (not http/https) are reported but not billed.

### Pricing

Pay per event, no subscription and no start fee:

| Event | Price |
|---|---|
| URL checked | $0.0005 ($0.50 per 1,000 URLs) |

Examples: 1,000 URLs from a sitemap = **$0.50**; a daily check of 200 key pages for a month = 6,000 checks = **$3.00**.

### Input example

```json
{
  "urls": [{ "url": "https://apify.com" }, { "url": "http://github.com" }],
  "method": "GET",
  "extractTitle": true,
  "onlyProblems": false,
  "concurrency": 10,
  "timeoutSeconds": 15
}
```

### FAQ

**Does it render JavaScript?** No. It checks what the server returns. Use a browser-based tool if you need client-side rendering.

**Why GET by default?** Some servers answer HEAD incorrectly. With HEAD selected, 403/405/501 answers are retried with GET automatically.

**Some sites return 403 here but open in my browser.** Sites behind bot protection (Cloudflare and similar) may block automated requests. The Actor reports what it receives and does not bypass protection.

**Is there a limit on the number of URLs?** No hard limit. Set a spending limit on the run and the Actor stops when it is reached.

# Actor input Schema

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

Pages to check (http or https). Paste a list or upload a file. Duplicates are removed.

## `method` (type: `string`):

GET is the most reliable. HEAD is lighter; servers that reject HEAD are retried with GET automatically.

## `extractTitle` (type: `boolean`):

Read the <title> of HTML pages (only the first 64 KB of the page is downloaded).

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

Save only broken URLs (errors, 4xx, 5xx) and redirected URLs. Every checked URL is still billed.

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

How many URLs to check at the same time.

## `timeoutSeconds` (type: `integer`):

How long to wait for each request.

## Actor input object example

```json
{
  "urls": [
    {
      "url": "https://apify.com"
    },
    {
      "url": "http://github.com"
    },
    {
      "url": "https://example.com/this-page-does-not-exist"
    }
  ],
  "method": "GET",
  "extractTitle": true,
  "onlyProblems": false,
  "concurrency": 10,
  "timeoutSeconds": 15
}
```

# 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": [
        {
            "url": "https://apify.com"
        },
        {
            "url": "http://github.com"
        },
        {
            "url": "https://example.com/this-page-does-not-exist"
        }
    ]
};

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

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

```

## MCP server setup

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