# Bulk URL Status Checker: HTTP Codes, Redirects, 404s (`ucchiii/url-status-checker`) Actor

Check a list of URLs in bulk and get one row per URL: HTTP status, redirect chain, final URL, HTTPS redirect, response time, errors. Only the URLs you give (no crawling). Start with the prefilled 3 URLs for 3 rows in seconds; clear the list for a free 5-URL demo.

- **URL**: https://apify.com/ucchiii/url-status-checker.md
- **Developed by:** [Actor Factory](https://apify.com/ucchiii) (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.21 / 1,000 checked urls

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: HTTP status, redirects and broken links for a list of URLs**

| statusCode | finalStatusCode | redirectCount | isHttpsRedirect | responseTimeMs | url | finalUrl |
|---|---|---|---|---|---|---|
| 200 | 200 | 0 | false | 134 | https://apify.com | https://apify.com |
| 301 | 200 | 1 | true | 704 | http://apify.com | https://apify.com/ |
| 404 | 404 | 0 | false | 417 | https://apify.com/this-page-does-not-exist-404 | https://apify.com/this-page-does-not-exist-404 |

*(real output of the prefilled example on 2026-11-04, shortened to 7 of the columns; each row also has the full `redirectChain`)*

**For SEO teams and web developers who need to verify a long list of URLs.** Get the HTTP status, the **full redirect
chain**, the final URL and the response time for each — for **site migrations** (verify your 301 map), SEO audits and
**broken-link checks**.

**Try it:** press **Start** with the prefilled example (3 apify.com URLs). You get the 3 rows above in about 4 seconds,
charged as 3 checked URLs (less than a tenth of a cent). Clear the URL list and press Start for a free demo on 5 sample URLs
(apify.com and python.org, with and without https; not charged).

**Price:** from **$0.21 per 1,000 checked URLs** on Apify's paid plans (the price shown on this page); $0.30 per 1,000 on the free plan.
Rows that never reach the network (`invalid_url`, `blocked_private_address`) are not charged.

### Use cases

- Verify a 301 redirect map after a migration

- Find broken links (404, DNS failures, timeouts) in a URL list or sitemap export

- Detect redirect chains and loops, and http-to-https redirects

- Checks **only the URLs you provide** — it does not crawl pages or follow links

- Redirects are followed manually (up to 10) and every hop is recorded: `redirectChain`

- Tries `HEAD` first and falls back to `GET` when the server answers 405/501

- DNS failures, timeouts and connection errors are reported as `error` (status `null`) instead of failing the run

- Input as a list, or from another Actor's **dataset** (choose the URL field)

- Polite by design: max 2 connections per host, at least 0.2 s between requests to the same host, up to 100,000 URLs per run

- Status counts are saved as `SUMMARY` in the key-value store

- Rows that never reach the network (`invalid_url`, `blocked_private_address`) are **not charged**. The free demo (empty URL list) is not charged either

- Safe by design: URLs that resolve to internal addresses (localhost, private ranges, link-local such as 169.254.169.254, IPv6 loopback/unique-local) are never contacted, including redirect targets — reported as `blocked_private_address`

### Input

```json
{ "urls": ["https://example.com/old-page", "http://example.com"], "followRedirects": true, "timeoutSecs": 15, "concurrency": 5 }
```

Or `{ "datasetId": "<dataset id>", "urlField": "url" }`.

### Output

```json
{
  "url": "http://example.com/old", "finalUrl": "https://example.com/new", "statusCode": 301, "finalStatusCode": 200,
  "ok": true, "redirectCount": 2,
  "redirectChain": [{"url": "http://example.com/old", "status": 301}, {"url": "https://example.com/old", "status": 301}, {"url": "https://example.com/new", "status": 200}],
  "isHttpsRedirect": true, "responseTimeMs": 412, "contentType": "text/html; charset=utf-8", "contentLength": null,
  "error": null, "checkedAt": "2026-10-18T09:00:00+00:00"
}
```

`ok` is true when the final status is 2xx. For unreachable URLs `statusCode` and `finalStatusCode` are `null` and `error`
is e.g. `dns_failure`, `timeout`, `too_many_redirects`, `redirect_loop`, `invalid_url` or `blocked_private_address`.

### Notes

Some sites block automated requests or answer HEAD/GET differently than a browser; results reflect what a plain HTTP client sees.
Set a custom `userAgent` if needed, and only check URLs you are allowed to request.

### Pricing

| Event | Free plan | Paid plans (Store discount tiers Bronze / Silver / Gold) |
|---|---|---|
| Checked URL (status, redirect chain and timing returned) | $0.30 per 1,000 | $0.27 / $0.24 / $0.21 per 1,000 |

The price on this page ("from $0.21") is the Gold tier price. Failed runs and the demo are free.
On the Apify Free plan, the $5 of monthly platform credit covers about **16,000 URLs** a month — enough to try it on real data.

If this Actor saved you time, a rating on the Store helps others find it.

### More tools from the same developer

- [Bulk HTTP Request](https://apify.com/ucchiii/bulk-http-request) — send many HTTP requests (GET/POST/...) from a list and collect status, headers and body
- [Sitemap URL Extractor](https://apify.com/ucchiii/sitemap-urls) — list every URL of a website from its sitemaps
- [Website Screenshot](https://apify.com/ucchiii/website-screenshot) — screenshots and PDFs of web pages: full page, mobile, element, no cookie banners
- [Domain WHOIS & DNS Lookup](https://apify.com/ucchiii/domain-whois) — bulk WHOIS (RDAP) and DNS lookup: registrar, expiry, days left, A/MX/NS, no personal data
- [RAG Chunker](https://apify.com/ucchiii/rag-chunker) — split scraped pages into chunks for RAG and vector stores

# Actor input Schema

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

Full URLs including http:// or https://. Only these URLs are requested (no crawling). Leave empty (and no dataset) to run a free demo (not charged). Up to 100,000 URLs per run.

## `datasetId` (type: `string`):

Optional. Dataset ID (a finished run's 'defaultDatasetId', e.g. 'WkzbQMuFYuamGv3YF') whose items contain URLs, for example the output of another Actor. Added to the URLs above.

## `urlField` (type: `string`):

Name of the field in each dataset item that holds the URL.

## `followRedirects` (type: `boolean`):

Follow redirects (up to 10) and record the whole chain. If off, only the first response is checked.

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

Timeout for each request, in seconds. Allowed range 1 to 120 (default 15).

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

Optional custom User-Agent header. Default identifies this Actor.

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

How many URLs are checked in parallel. Allowed range 1 to 20 (default 5). At most 2 connections per host are used at a time, with at least 0.2 s between requests to the same host.

## Actor input object example

```json
{
  "urls": [
    "https://apify.com",
    "http://apify.com",
    "https://apify.com/this-page-does-not-exist-404"
  ],
  "urlField": "url",
  "followRedirects": true,
  "timeoutSecs": 15,
  "concurrency": 5
}
```

# Actor output Schema

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

One item per URL: statusCode, finalStatusCode, ok, redirectCount, redirectChain, finalUrl, isHttpsRedirect, responseTimeMs, error.

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

Record SUMMARY: run totals for the checked URLs.

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

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

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

```

## MCP server setup

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