Bulk URL Status & Redirect Checker: 301, 302, Chains avatar

Bulk URL Status & Redirect Checker: 301, 302, Chains

Pricing

$0.50 / 1,000 urls

Go to Apify Store
Bulk URL Status & Redirect Checker: 301, 302, Chains

Bulk URL Status & Redirect Checker: 301, 302, Chains

Check thousands of URLs for HTTP status codes, full redirect chains, final destination, loops and 302 vs 301. Validate a redirect map after a site migration: paste old and new URLs and get a match column. Fast HTTP, no login.

Pricing

$0.50 / 1,000 urls

Rating

0.0

(0)

Developer

Joe Simo

Joe Simo

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

Bulk URL Status & Redirect Checker

Check a list of URLs and get the HTTP status code, every redirect hop, the final URL and a plain verdict for each one. Paste an old-to-new redirect map after a site migration and the Actor tells you which old URLs land on the right page, which ones land somewhere else, and which ones are broken.

Fast plain HTTP (HEAD requests, GET only as a fallback), no browser, no login, no proxy.

What you get for each URL

FieldExample
urlhttp://github.com/
verdictok, redirect, mismatch, broken, blocked or error
statusCodeFirst response, for example 301
finalStatusCodeStatus of the last hop, for example 200
finalUrlhttps://github.com/
redirectCountNumber of hops, for example 1
redirectChainEach hop with its URL, status code and where it pointed
expectedUrlThe destination you gave in a redirect map, or null
matchesExpectedtrue, false or null when no destination was given
issuesredirect_chain, temporary_redirect, https_downgrade, final_url_not_https, destination_mismatch, redirect_loop, too_many_redirects, not_found, server_error, client_error, timeout, network_error
responseTimeMsTotal time for all hops
contentType, error, checkedAtContent type of the final response, error text, check time

The run summary in the OUTPUT record counts URLs per verdict.

Common uses

  • Site migration QA: check every old URL from your redirect plan against its new URL. Rows with verdict mismatch or broken are the ones to fix.
  • SEO redirect audit: find chains of 2 or more hops, 302 or 307 redirects that should be 301 or 308, and http pages that never move to https.
  • Bulk status check: confirm a list of landing pages, affiliate links or backlink targets still answer 200.
  • Monitoring: schedule the Actor daily and set Output to "Only URLs with an issue" so the dataset only lists problems.

Input

One line per URL. For a redirect map, put the old URL and the expected new URL on the same line, separated by a comma, a tab, a space or ->:

http://old.example.com/pricing, https://example.com/plans
http://old.example.com/blog/post-1 -> /articles/post-1
https://example.com/contact
  • A destination that starts with / is read relative to the old URL.
  • A header row that starts with source, from, old or url is skipped, so you can paste two CSV columns straight from a spreadsheet.
  • Bare domains get https://. Set "Scheme for bare domains" to http to test that http redirects to https.
  • "Ignore trailing slash" (on by default) treats /page and /page/ as the same destination. "Ignore query string" drops ?utm_... style parameters before comparing.

Example API input:

{
"urls": [
"http://old.example.com/pricing, https://example.com/plans",
"https://example.com/contact"
],
"outputMode": "issues"
}

With an empty input the Actor checks 20 well-known URLs as a demo.

Verdicts

VerdictMeaning
ok2xx with no redirect
redirectRedirected and ended on a 2xx page
mismatchEnded on a working page, but not the expected destination
brokenFinal status 404, 410, other 4xx or 5xx
blocked401, 403, 429 or 999: the site refuses automated checks or needs a login. Not counted as broken.
errorTimeout, DNS or connection failure, redirect loop or too many hops

Pricing

Pay per event: $0.0005 per URL checked ($0.50 per 1,000 URLs). Each line of your input is one URL checked, whatever the number of hops. Invalid lines are skipped and free. Set a maximum cost per run in the run options and the Actor stops cleanly when it is reached.

How it checks

  • One HEAD request per hop. If HEAD fails or answers 4xx or 5xx, the Actor retries that hop with GET and discards the body, because some servers do not support HEAD.
  • Redirects are followed by hand (up to 10 hops by default, 30 at most) so every hop is recorded. A URL seen twice in one chain is a loop.
  • Requests to the same host are spaced 150 ms apart, a 429 or 503 is retried once after the Retry-After delay, and the User-Agent names this Actor.
  • Private and local addresses (localhost, 10.x, 192.168.x and similar) are refused.

Limits

  • Redirects done in JavaScript or with a meta refresh tag are not followed; only HTTP 3xx redirects are.
  • Some sites answer bots differently from browsers. Those usually show up as blocked.
  • HEAD and GET can redirect differently on a few servers. The Actor reports what HEAD returned unless HEAD failed.

FAQ

Can I use it as a bulk HTTP status checker? Yes. Paste up to 100,000 URLs, one per line, and each row gets statusCode (the first response) and finalStatusCode (the last hop), plus a verdict. Set Output to "Only URLs with an issue" to keep only redirects, errors and mismatches in the dataset. Each URL costs $0.0005 ($0.50 per 1,000), whatever the number of hops.

How do I see the full redirect chain of a URL? redirectChain lists every hop with its URL, status code and the URL it pointed to, and redirectCount gives the number of hops. A URL with 2 or more hops gets the redirect_chain issue. The Actor follows up to 10 hops by default (30 at most); a URL that comes back to an earlier hop is reported as redirect_loop.

Can I get the final URL after redirects for a list of links? Yes. finalUrl is where each link ends after all HTTP 3xx redirects, with finalStatusCode for that page. This works for tracking links, short links and old URLs that redirect with an HTTP status. Redirects done in JavaScript or with a meta refresh tag are not followed.

How do I find broken redirects after a site migration? Paste your redirect map with the old URL and the expected new URL on each line. Rows with verdict mismatch land on a working page that is not the expected one (issue destination_mismatch), and rows with broken end on a 404, 410, other 4xx or 5xx page. Loops and timeouts show up as error.

Does it tell a 301 redirect from a 302? Yes. Each hop in redirectChain has its own status code, and a URL gets the temporary_redirect issue when any hop is a 302, 303 or 307 instead of a permanent 301 or 308. https_downgrade and final_url_not_https flag chains that leave https or never reach it.

Are pages that block bots counted as broken? No. A final 401, 403, 429 or 999 gets the blocked verdict, because the site refuses automated checks or needs a login. Those rows are not marked broken.