Redirect Path Analyzer avatar

Redirect Path Analyzer

Pricing

$2.99/month + usage

Go to Apify Store
Redirect Path Analyzer

Redirect Path Analyzer

Redirect path analyzer that follows every hop in a URL chain and reports status codes, redirect types, and the final destination, so SEO teams can fix broken chains before they affect rankings.

Pricing

$2.99/month + usage

Rating

0.0

(0)

Developer

ZeroBreak

ZeroBreak

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 days ago

Last modified

Categories

Share

Redirect Path Analyzer: Trace URL Redirect Chains and Audit HTTP Hops

Redirect Path Analyzer follows every hop in a URL's redirect chain and reports the full route to the final destination. Give it one URL or a list, and you get back each intermediate step with its HTTP status code, redirect type (301, 302, 303, 307, 308), and the final landing page. Good for SEO teams checking site migrations or anyone who needs to know the exact path a URL takes before it resolves.

Use cases

  • Site migration audits: check that every old URL redirects to its new location after a domain move or rebuild
  • SEO health checks: find redirect chains longer than three hops, which slow load times and dilute link equity
  • Redirect loop detection: catch circular chains before they cause errors in browsers
  • Pre-launch QA: confirm all planned redirects work before going live
  • Bulk URL checking: audit hundreds of URLs at once and export results to a spreadsheet

Input

ParameterTypeDefaultDescription
urlstringA single URL to analyze.
urlsarrayList of URLs to analyze, one per line. Use for bulk audits.
maxUrlsinteger100Maximum number of URLs to process per run.
maxRedirectsinteger20Max redirect hops to follow per URL before stopping.
requestTimeoutSecsinteger30Timeout in seconds for each HTTP request.
timeoutSecsinteger300Overall actor run timeout in seconds.
proxyConfigurationobjectDatacenter (Anywhere)Proxy type and location for requests. Optional.

Example input

{
"urls": [
"https://apify.com/pricing",
"https://apify.com/blog"
],
"maxUrls": 100,
"maxRedirects": 20,
"requestTimeoutSecs": 30,
"proxyConfiguration": { "useApifyProxy": true }
}

What data does this actor extract?

One result per input URL. Each result contains:

{
"inputUrl": "https://apify.com/pricing",
"finalUrl": "https://apify.com/pricing",
"redirectCount": 0,
"finalStatusCode": 200,
"isRedirectLoop": false,
"hops": [
{
"url": "https://apify.com/pricing",
"statusCode": 200,
"redirectLocation": null
}
],
"scrapedAt": "2025-03-08T12:00:00.000Z"
}
FieldTypeDescription
inputUrlstringThe original URL submitted.
finalUrlstringThe final destination URL after all redirects.
redirectCountintegerNumber of redirect hops in the chain.
finalStatusCodeintegerHTTP status code of the final destination.
isRedirectLoopbooleanTrue if a circular redirect was detected.
hopsarrayEach hop in the chain with URL, status code, and redirect location header.
scrapedAtstringISO 8601 timestamp of the analysis.

How it works

  1. Reads the input URL or URL list.
  2. For each URL, sends an HTTP GET request without following redirects automatically.
  3. If the response is a 301, 302, 303, 307, or 308, it follows the Location header to the next URL.
  4. Repeats until a non-redirect response arrives, a loop is detected, or the max redirect limit is hit.
  5. Saves the full chain, final URL, redirect count, and status codes to the dataset.

Integrations

Connect Redirect Path Analyzer with other apps using Apify integrations. Export directly to Google Sheets, push results to Slack, trigger Zapier workflows, or sync with Airbyte. You can also use webhooks to trigger actions whenever results are ready.

FAQ

How many URLs can I check per run? Up to 1,000 per run (set via maxUrls). For larger audits, split your list across multiple runs.

Can it detect redirect loops? Yes. It tracks every URL visited and sets isRedirectLoop: true if a URL appears twice in the same chain.

What redirect types does it handle? HTTP 301, 302, 303, 307, and 308. Meta refresh and JavaScript redirects are not followed since those require a browser.

Does it follow redirects across domains? Yes. It resolves relative redirect locations and follows cross-domain chains the same way a browser would.

Do I need proxies? Most sites do not block this kind of traffic, so proxies are optional. If a site throttles repeated requests, enable Datacenter proxies in the proxy configuration.

Run Redirect Path Analyzer before a migration or after a domain change to get a clear picture of how your URLs actually route to their destinations.