# HTTP Status Code Checker – Bulk URLs, Redirect Chains & 404s (`tidybytetools/http-status-checker`) Actor

No browser, no login. Check bulk URLs for HTTP status codes (200, 301, 404, 500), every redirect hop, the final URL and timing. Paste a list or use another run's dataset. Export CSV or JSON. $0.0005 per URL, same price on every plan. Failed URLs are never charged. Works from Apify MCP and the API.

- **URL**: https://apify.com/tidybytetools/http-status-checker.md
- **Developed by:** [Tidy Byte Tools](https://apify.com/tidybytetools) (community)
- **Categories:** SEO tools, Developer tools, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 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.

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

## HTTP Status Code Checker – Bulk URLs, Redirect Chains & 404s

Check a list of URLs and see which ones work. For each link you get the **status code** (200, 301, 404, 500…), **every redirect hop**, the **final URL**, and **how long it took**. No browser, no login. Paste a list, or use the results of another Apify run. Export CSV or JSON.

**$0.0005 per URL, same price on every plan.** Failed URLs, duplicate links, and lines that are not links are never charged. Apify adds only its tiny default start fee ($0.00005).

### Use cases

- SEO audits: find 404s, 500s, and surprise redirects
- Site moves: check that old URLs go to the right new URLs
- Check a sitemap, a lead list, or a scrape before you use it
- Catch dead links before your users do

Try it free: Apify gives every account $5 of free credit each month (no card), which covers about 10,000 one-URL runs of this tool.

Last tested: Nov 18, 2026 (America/Chicago). Run `vdcgFtJHCg3WHRvJb` checked 2 URLs (https://example.com → 200 in 33 ms, a missing docs page → 404 in 82 ms). Both results were correct. Charged 2 URL checks.

Also searched as: ES: comprobar código de estado HTTP / PT: verificar status HTTP de URLs / DE: HTTP-Statuscode prüfen / FR: vérifier le code HTTP d'une URL / JA: HTTPステータスコード 一括チェック / ZH: 批量检查HTTP状态码

### Example (a real run)

Input:

```json
{
  "urls": [
    "https://apify.com",
    "http://github.com",
    "https://tidybytetools.github.io/this-page-does-not-exist",
    "http://example.com",
    "https://no-such-site-tidybyte.example"
  ]
}
```

Output (one row per URL, from an actual run on Apify on 17 Nov 2026):

| url | statusCode | ok | finalUrl | redirectCount | responseTimeMs | notes / error |
|---|---|---|---|---|---|---|
| https://apify.com | 200 | true | https://apify.com | 0 | 117 | |
| http://github.com | 200 | true | https://github.com/ | 1 | 31 | http link moves to https (update the link) |
| https://tidybytetools.github.io/this-page-does-not-exist | 404 | false | (same) | 0 | 38 | |
| http://example.com | 200 | true | http://example.com | 0 | 18 | not https |
| https://no-such-site-tidybyte.example | — | false | (same) | 0 | 77 | site name not found (DNS) |

One full row as JSON:

```json
{
  "url": "http://github.com",
  "statusCode": 200,
  "statusText": "OK",
  "ok": true,
  "finalUrl": "https://github.com/",
  "redirected": true,
  "redirectCount": 1,
  "redirectChain": ["301 http://github.com"],
  "responseTimeMs": 31,
  "error": null,
  "notes": ["http link moves to https (update the link)"]
}
```

### Pricing

| Event | Price |
|---|---|
| URL checked | $0.0005 |
| Apify start (default, per run) | $0.00005 |

1,000 URLs cost about **$0.50**, on every plan. Set a max cost for the run and we stop before going over it.

### Input

- **URLs**: one link per line. `example.com` becomes `https://example.com`.
- **Or paste a list**: many URLs, one per line. Lines that start with `#` are skipped.
- **URLs from another run**: pick a crawler's or scraper's dataset. We read `url`, `link`, `href`, `pageUrl`, `website` or `loadedUrl` (or the field you name).
- **Request type**: HEAD (fast, default) or GET. If a server refuses HEAD, we try GET for that link anyway.
- **Links at the same time**: default 10, up to 50.
- **Wait between calls to the same site**: default 0.5 seconds, to be kind to the sites you check.
- **Timeout**: default 15 seconds per link.
- **Follow robots.txt**: off by default.

### Output

Each row has `url`, `statusCode`, `statusText`, `ok` (true for 2xx and 3xx that end well), `finalUrl`, `redirected`, `redirectCount`, `redirectChain`, `responseTimeMs`, `error` and `notes`. Notes tell you about slow pages, http links that move to https, https that drops to http, and long redirect chains. A `SUMMARY` record in the key-value store counts links by status code.

Download as CSV, Excel or JSON from the run's Storage tab.

### FAQ

**Do I need a browser or a login?**
No. This is a plain HTTP check. No browser, no login.

**Are failed URLs charged?**
No. Failed URLs, duplicate links, and lines that are not links are never charged.

**Is the price higher on the free plan?**
No. It is $0.0005 per URL on every plan.

**Should I use HEAD or GET?**
HEAD is faster and is the default. If a server refuses HEAD, we try GET for that link anyway. Use GET if you already know the site blocks HEAD.

**Do you run JavaScript?**
No. A page that loads in a browser but sends 403 or 404 to a simple request will show that status.

**How many URLs can I check?**
Up to 100,000 per run. Default memory is 256 MB, which is plenty.

**Can I export a spreadsheet?**
Yes. Download CSV, Excel, or JSON from the run's Storage tab.

### Agent-ready

Call this tool from Apify's MCP server (`https://mcp.apify.com`) or the Apify API. Each result row is flat JSON.

MCP call example (tool `call-actor`):

```json
{
  "actor": "tidybytetools/http-status-checker",
  "input": {
    "urls": [
      "https://example.com",
      "https://tidybytetools.github.io/this-page-does-not-exist"
    ]
  }
}
```

API call example:

```bash
curl -X POST "https://api.apify.com/v2/acts/tidybytetools~http-status-checker/runs?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"urls":["https://example.com","https://tidybytetools.github.io/this-page-does-not-exist"]}'
```

### Good to know

- We don't render JavaScript.
- Some sites block bots or rate-limit. Raise the wait time if you see many 429 answers.

### More tools from Tidy Byte Tools

- [Broken Link Checker](https://apify.com/tidybytetools/broken-link-checker): crawl a site or sitemap and check every link on it.
- [Link Preview & Meta Extractor](https://apify.com/tidybytetools/link-preview): titles, Open Graph and JSON-LD from URLs.
- Free local version: [link-check-lite](https://github.com/tidybytetools/link-check-lite) (CLI + MCP server).

# Actor input Schema

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

The links to check, one per line. 'example.com' becomes 'https://example.com'.

## `urlsText` (type: `string`):

Optional. Paste many URLs, one per line. Lines that start with # are skipped.

## `datasetIds` (type: `array`):

Optional. Pick the dataset of another Apify run (for example a crawler or scraper). We take the link from each item.

## `datasetUrlField` (type: `string`):

Optional. The field that holds the link, like url. Leave empty and we look for url, link, href, pageUrl, website or loadedUrl.

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

HEAD is faster. If a server refuses HEAD, we try GET for that link anyway.

## `maxConcurrency` (type: `integer`):

How many links we check at once.

## `perHostDelaySecs` (type: `number`):

Be kind to the sites you check. 0.5 means at most 2 calls a second to one site.

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

How long to wait for each answer.

## `slowMs` (type: `integer`):

Links slower than this get a 'slow' note.

## `respectRobotsTxt` (type: `boolean`):

Skip links the site's robots.txt blocks for our bot.

## Actor input object example

```json
{
  "urls": [
    "https://apify.com",
    "http://github.com",
    "https://tidybytetools.github.io/this-page-does-not-exist"
  ],
  "method": "HEAD",
  "maxConcurrency": 10,
  "perHostDelaySecs": 0.5,
  "timeoutSecs": 15,
  "slowMs": 2000,
  "respectRobotsTxt": false
}
```

# Actor output Schema

## `dataset` (type: `string`):

Status, redirects and response time for each URL.

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

Counts of checked URLs by status code.

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

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

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

```

## MCP server setup

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