# URL Status Checker - Bulk HTTP Status & Redirect Chains (`bigdavidson/url-status-checker`) Actor

Unofficial. Checks a list of web addresses and returns one row per address: HTTP status code, reason, final address, redirect chain, http to https, content type and length. For migrations and link lists. No key; robots.txt respected.

- **URL**: https://apify.com/bigdavidson/url-status-checker.md
- **Developed by:** [Jack Sheward](https://apify.com/bigdavidson) (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.35 / 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

## URL Status Checker - Bulk HTTP Status & Redirect Chains

Give it a list of web addresses. It requests each distinct address once and returns one row per address that got an answer or a definite network failure: the HTTP status code of the final answer, whether it is a success, the reason if not, where the redirects ended, the redirect chain with the status code of every step, whether the chain moved from http to https, and the content type and length the server sent. The list is taken as given: nothing is crawled and no page is parsed.

Use it to check a list of old addresses after a site migration, to verify that redirects land where you intended, or to monitor a list of important links on a schedule.

- **$0.50 per 1,000 URLs.** Pay only for rows delivered. No subscription.
- **Nothing to set up.** No account, no API key, no proxies.
- **The whole redirect chain.** Every step from the address you gave to the final answer, with its status code.
- **Clean, consistent fields**, ready for CSV, Excel, JSON or a database.
- **Runs on a schedule** and connects to the Apify API, Make, Zapier, n8n and AI agents.

### Who uses it

- SEO teams checking redirects and dead pages after a site migration.
- Developers and content teams checking a list of links before a release or a mailing.
- Agencies watching client pages and landing pages on a schedule.

### What you get

One row per distinct address that was checked. A real row from a default run (an address that redirects from http to https):

```json
{
  "url": "http://go.dev/doc/",
  "finalUrl": "https://go.dev/doc/",
  "statusCode": 200,
  "ok": true,
  "reason": null,
  "redirectCount": 1,
  "redirectChain": [
    {"url": "http://go.dev/doc/", "statusCode": 302},
    {"url": "https://go.dev/doc/", "statusCode": 200}
  ],
  "httpToHttps": true,
  "contentType": "text/html; charset=utf-8",
  "contentLength": null,
  "checkedAt": "2026-11-11T23:56:57Z"
}
```

A missing page, from the same run:

```json
{
  "url": "https://go.dev/doc/no-such-page-xyz",
  "finalUrl": "https://go.dev/doc/no-such-page-xyz",
  "statusCode": 404,
  "ok": false,
  "reason": "HTTP 404",
  "redirectCount": 0,
  "redirectChain": [
    {"url": "https://go.dev/doc/no-such-page-xyz", "statusCode": 404}
  ],
  "httpToHttps": false,
  "contentType": "text/html; charset=utf-8",
  "contentLength": null,
  "checkedAt": "2026-11-11T23:57:21Z"
}
```

- `url` is the address as you gave it, with `https://` added when it had no scheme, the scheme and host in lower case, an empty path written as `/` and the `#fragment` removed.
- `finalUrl` is the address of the final answer. When the check ended in a network failure it is the last address that was tried; it is empty when that is not known.
- `statusCode` is the HTTP status of the final answer, and empty for a network failure or for `too many redirects`.
- `ok` is true when the final status is 200 to 299. A redirect that ends in a success is `ok` true; a 3xx without a usable destination is `ok` false, and so is an answer that is a bot-check page.
- `reason` is empty for a success, otherwise `HTTP 404` (or the other status), `HTTP 403 (the site refused an automated request)` (also for 401), `timeout`, `name not found`, `connection refused`, `connection failed`, `connection error`, `certificate problem`, `TLS error` or `too many redirects`. A site that answered with a bot-check page gives `HTTP 403 (the site answered with a bot-check page)` (or the status it sent), and an address that redirects to a sign-in page gives `the address redirects to a sign-in page` (the status is the one of the page it lands on).
- `redirectCount` is the number of redirect steps followed. At most 5 are followed: a longer chain is reported as `too many redirects` with `redirectCount` 6 (the sixth redirect answer is seen, not followed) and the steps seen so far in the chain. It is empty when the steps are not known.
- `redirectChain` lists the steps from your address to the answer, each with `url` and `statusCode`, at most 10. The last step is the final answer (with a failure, the address that could not be reached, with an empty `statusCode`). An address longer than 2,000 characters is left out of the row, as an empty `url` in the step.
- `httpToHttps` is true when you gave an `http://` address and any step of the chain, or the final address, is `https://`.
- `contentType` is the Content-Type header of the final answer, as one line of at most 100 characters; empty when it was not sent.
- `contentLength` is the Content-Length header of the final answer as the server sent it, in bytes, when it sent one. Many servers do not send it (for example for compressed or streamed answers), and then it is empty.
- `checkedAt` is the time of the check in UTC.

There is no response-time field: the shared client pauses between requests, so a measured time would mostly measure that pause.

### Input

| Field | What it does |
|---|---|
| Web addresses | The addresses to check, one per line, up to 5,000. An entry without `http://` or `https://` gets `https://`. An address listed twice (also when it differs only by the `#fragment` or by letter case in the host) is checked once. |
| Maximum results | Stop after this many results. Default 100, at most 100,000; raise it for a longer list. One result is one checked address. When the list is longer, the run log and the final status message say how many addresses were not checked (`not checked (Maximum results reached)`); they cost nothing. |

### What is not charged

An address that could not be checked gets no row and costs nothing. The run log and the final status message count them per reason:

- the site's robots.txt disallows the address (`disallowed by robots.txt`), or its robots.txt could not be read because the site answered it with a server error (`robots.txt could not be read`);
- the site refused automated requests earlier in the run (`site refused earlier requests in this run`): after three refusals in a row from one site with no accepted answer in between, and at once after a bot-challenge page or HTTP 429, the remaining addresses on that site are not requested. The refusals that counted are HTTP 401 and 403 (these two do get a row, see below) and a rate limit (HTTP 429) that did not go away. An address that itself answers HTTP 407 or HTTP 451 gets no row, and counts as one of the three refusals. A bot-check page is different: the address that got it gets one row (see below), and the rest of that site is left alone;
- the address is not a public web address (`not a public web address`): private, local and internal addresses, addresses with a user name or password, ports other than 80 and 443, and a redirect that leads to such an address;
- the entry is not a valid address, is longer than 2,000 characters, or is not a web address at all (`mailto:`, `tel:`, `ftp:` and other schemes);
- duplicates (counted as `listed more than once`), the entries beyond 5,000, and addresses the Actor did not get to because the run stopped early (see Limits).

A 401 or 403 answer is a result: for a status checker it is the answer. Such an address gets a row (`statusCode` 401 or 403, `ok` false, reason `HTTP 403 (the site refused an automated request)`) and is charged. A refusal is never worked around.

A bot-check page is a bot-check page when the answer carries the header `cf-mitigated: challenge`, or when its status is 403, 429 or 503 and it contains the usual challenge phrases. The first such answer from a site gets one row with its real status code and the reason `HTTP 403 (the site answered with a bot-check page)`, and is charged; the site's remaining addresses are not requested, get no row and cost nothing. An ordinary 200 page that merely contains a challenge phrase, and an address that redirects to a sign-in page, are ordinary rows (the second with the reason `the address redirects to a sign-in page`) and do not stop the site.

### How to run it

1. Open the **Input** tab. The prefilled example (ten addresses on go.dev and iana.org: two redirecting from http to https, two missing pages, the rest working) runs as it is; replace the addresses with yours.
2. Press **Start**. Rows appear in the **Output** tab as addresses are checked, in the order you listed them.
3. Download the results as JSON, CSV, Excel, XML or HTML, or read them through the Apify API.

Requests are made one at a time, at least a second apart for the same site, so a run is slow. Plan on roughly 20 to 40 minutes per 1,000 addresses, more when every address is on a different site: each new site costs one extra request for its robots.txt first. The prefilled ten addresses took about 20 seconds.

### How much does it cost?

**$0.50 per 1,000 URLs** ($0.0005 per URL), plus Apify's standard start charge of $0.00005 per run. There is no subscription and no rental fee.

| Results | Cost |
|---|---|
| 100 | $0.05 |
| 1,000 | $0.50 |
| 10,000 | $5.00 |

You pay only for rows delivered (the `url` charge). Platform usage is included in that price, and a run stops at the spending limit you set. The Pricing tab always shows the current price.

### FAQ

**Do I need an account, an API key or a proxy?** No. The Actor reads public addresses only and needs nothing from you besides the list.

**Can I run it on a schedule?** Yes. Put it on an Apify schedule and compare the runs.

**Why is an address that opens in my browser missing or different?** Some sites answer an automated client differently from a person: they may refuse it, show it a challenge page, or answer a different status than a browser sees. This Actor identifies itself honestly and does not imitate a browser. If a site refuses, its addresses get a 401/403 row or no row, and that site is left alone.

**Is it safe to give it any address?** The Actor only fetches public web addresses on the standard ports; private, local, internal, multicast and reserved addresses are refused, also when a redirect leads there. At most 64 KB of any answer is read, every address has a time limit, nothing from an answer is parsed beyond a few headers, and every stored text and list is capped. Two megabytes of adversarial markup were answered in a few seconds in the tests.

**Something looks wrong?** Open the **Issues** tab on this page and include the input you used.

### Limits

- **robots.txt is obeyed.** A robots.txt that answers with a 4xx status (401 and 403 included) counts as no rules published and the address is then requested; one that answers with a server error bars the site (its addresses get no row), and one that cannot be reached gives the address a network-failure row. An address that the site's robots.txt disallows for this Actor is not requested and gets no row, on every redirect step too: a redirect to a barred address leaves the original address without a row. A site that bars all bots therefore cannot be checked at all. The Actor identifies itself honestly and does not imitate a browser, so it also cannot check sites that only serve browsers.
- **One GET request per address, at most 64 KB read.** A larger target is reachable: it keeps its status code and `ok`, and no more of it is read. No `HEAD` request is made, so a server that answers `HEAD` and `GET` differently is judged by its `GET`. Whether the content is complete or correct is not checked, and a "page not found" page sent with status 200 counts as a success.
- **A site may answer differently here than in your browser.** The status is what an honest automated client received. A site that treats bots differently can answer 403, 429 or a challenge page to this Actor and 200 to you.
- **Sites that keep refusing are left alone.** After three refusals in a row from one site, after a bot-check page, and when a site keeps answering HTTP 429 after the one wait, the remaining addresses on that site get no row and cost nothing. `example.com` and `example.com.` (with a trailing dot) are one site.
- **Redirects** are followed one step at a time, at most 5; the chain keeps the status code of every step. Only HTTP redirects (a `Location` header) are followed: a redirect written in the page (a meta refresh or JavaScript) is not seen. The address a name resolves to is checked before each request and each redirect step; the connection itself resolves the name again, so a name that changes its answer between the two is not covered.
- **Steps and lengths come from a recorder on the shared client.** The client does not return the steps of a redirect chain for a server error, a 401/403 or a target larger than 64 KB, and drops the Content-Length header. This Actor records each request as it is sent so these rows still carry their chain and length. If that recording were ever unavailable, those rows would show less: a 401/403 row would have no final address or chain, and a target larger than 64 KB would have an empty `statusCode`.
- **Server errors are retried.** The shared client tries up to three times in all (two more tries, with pauses) when a site answers with a 5xx status; the chain shows that answer once. A bot-check page is never retried. A rate limit (HTTP 429) is waited out once (the pause the site asks for, at most 60 seconds); if it persists the site counts as refusing.
- **Time limits.** Each address gets at most 60 seconds of its own time (robots.txt, download and redirects together); one that takes longer is reported as `timeout`. The pauses the Actor makes itself (the second between requests, a site's `Crawl-delay`, the wait after a 429, the pauses before a repeated try) do not count against the 60 seconds, up to 180 seconds of pauses for one address, so a slow-crawl site is not reported as `timeout`. A run stops early once addresses that gave no answer have together taken more than 15 minutes; the addresses after that point are not checked, and the log says how many. Rows already delivered are kept. The run fails only when nothing at all could be checked, and then it lists the reasons.
- **Slow by design.** Requests are made one at a time and at least a second apart for the same site, with no proxies and no parallel requests. A site's `Crawl-delay` in robots.txt (up to 30 seconds) is obeyed and slows the run further.
- **Missing compared with some other checkers:** no response time, no SSL certificate details (only the failure reasons `certificate problem` and `TLS error`), no `HEAD` check, no check from several regions, no JavaScript rendering, and no soft-404 detection.
- Uses ordinary web requests and keeps no cookies. It does not log in, solve CAPTCHAs or work around blocks.
- Organisation-level data only. Addresses are returned as you gave them or as the redirects produced them, including anything in a query string: an address can contain a person's name or email address, and it is not removed from `url`, `finalUrl` or the chain. Email addresses in `contentType` are replaced with `[email removed]` before the text is cut to 100 characters.
- Unofficial. Not affiliated with, endorsed by or sponsored by any of the sites it checks. Check each site's terms before using the data commercially.

# Actor input Schema

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

The addresses to check, one per line, up to 5,000. An entry without http:// or https:// gets https://. An address listed twice is checked once. Addresses that robots.txt bars, that are not public, not valid or not web addresses get no result and cost nothing; the run fails only when nothing at all could be checked.

## `maxResults` (type: `integer`):

Stop after this many results (one result is one checked address). Addresses without a result are not counted and not charged. Requests are made one at a time, about a second apart.

## Actor input object example

```json
{
  "urls": [
    "http://go.dev/doc/",
    "https://go.dev/doc/no-such-page-xyz",
    "https://go.dev/doc/tutorial/",
    "https://go.dev/ref/spec",
    "https://go.dev/doc/effective_go",
    "http://go.dev/blog/",
    "https://go.dev/doc/install",
    "https://www.iana.org/",
    "https://www.iana.org/domains/reserved",
    "https://www.iana.org/no-such-page-xyz"
  ],
  "maxResults": 100
}
```

# Actor output Schema

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

All result rows from the run's default dataset, as JSON.

# 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": [
        "http://go.dev/doc/",
        "https://go.dev/doc/no-such-page-xyz",
        "https://go.dev/doc/tutorial/",
        "https://go.dev/ref/spec",
        "https://go.dev/doc/effective_go",
        "http://go.dev/blog/",
        "https://go.dev/doc/install",
        "https://www.iana.org/",
        "https://www.iana.org/domains/reserved",
        "https://www.iana.org/no-such-page-xyz"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("bigdavidson/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": [
        "http://go.dev/doc/",
        "https://go.dev/doc/no-such-page-xyz",
        "https://go.dev/doc/tutorial/",
        "https://go.dev/ref/spec",
        "https://go.dev/doc/effective_go",
        "http://go.dev/blog/",
        "https://go.dev/doc/install",
        "https://www.iana.org/",
        "https://www.iana.org/domains/reserved",
        "https://www.iana.org/no-such-page-xyz",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("bigdavidson/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": [
    "http://go.dev/doc/",
    "https://go.dev/doc/no-such-page-xyz",
    "https://go.dev/doc/tutorial/",
    "https://go.dev/ref/spec",
    "https://go.dev/doc/effective_go",
    "http://go.dev/blog/",
    "https://go.dev/doc/install",
    "https://www.iana.org/",
    "https://www.iana.org/domains/reserved",
    "https://www.iana.org/no-such-page-xyz"
  ]
}' |
apify call bigdavidson/url-status-checker --silent --output-dataset

```

## MCP server setup

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