Redirect Chain Tracer - Follow Every Hop to Final URL avatar

Redirect Chain Tracer - Follow Every Hop to Final URL

Pricing

from $0.50 / 1,000 results

Go to Apify Store
Redirect Chain Tracer - Follow Every Hop to Final URL

Redirect Chain Tracer - Follow Every Hop to Final URL

$0.5/1K ๐Ÿ”ฅ Redirect chain tracer! Follow every hop (301/302/meta) from any URL to its final destination. No key. JSON, CSV, Excel or API in seconds. Audit redirects for SEO & security โšก

Pricing

from $0.50 / 1,000 results

Rating

0.0

(0)

Developer

ninhothedev

ninhothedev

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Share

Redirect Chain Tracer ๐Ÿ”—

Follow every hop of any URL to its final destination. Redirect Chain Tracer takes a list of URLs and walks the full redirect chain โ€” 301, 302, 307, 308, <meta http-equiv="refresh"> and JS-style hops โ€” recording each step until it reaches the final 2xx page, a loop, or the max-hops limit. No API key, no login, no setup.

Perfect for SEO redirect audits, link tracing, security checks, and migration QA.

Roughly $0.50 per 1,000 URLs traced. No proxies required.


What it does

For each URL the actor:

  1. Issues a GET request with automatic redirect-following disabled.
  2. Records the hop: { url, status_code, location, type } (the Location header resolved to an absolute URL).
  3. Detects <meta http-equiv="refresh"> redirects on 2xx pages and follows them too.
  4. Repeats until it hits a final 2xx, a redirect loop, or maxHops (default 15).

You get back the complete chain, the final URL, the hop count, and flags for whether it redirected and whether a loop was detected.


Use cases

  • SEO redirect audits โ€” verify 301 vs 302, spot redirect chains that leak link equity, and catch http โ†’ https / www inconsistencies.
  • Link tracing โ€” unwrap shortened links (bit.ly, t.co, tracking URLs) to see the real destination.
  • Security checks โ€” reveal where a suspicious link actually lands before anyone clicks it.
  • Migration QA โ€” after a site move or replatform, confirm old URLs redirect cleanly to their new homes with the fewest possible hops.

Input

FieldTypeDefaultDescription
modeselecttraceWhat to do. trace follows redirect chains.
urlsarray of string["http://github.com","http://google.com"]Start URLs to trace. Missing http:// is added.
maxHopsinteger15Max redirects to follow per URL before stopping.
maxItemsinteger200 (max 2000)Max number of URLs to process per run.

Example input

{
"mode": "trace",
"urls": ["http://github.com", "http://google.com"],
"maxHops": 15,
"maxItems": 200
}

Output

One dataset item per URL:

{
"url": "http://github.com",
"final_url": "https://github.com/",
"final_status": 200,
"hop_count": 1,
"redirected": true,
"chain": [
{ "url": "http://github.com", "status_code": 301, "location": "https://github.com/", "type": "http-301" },
{ "url": "https://github.com/", "status_code": 200, "location": null, "type": "http-200" }
],
"is_loop": false,
"source": "redirect-tracer",
"scraped_at": "2026-07-24T00:00:00Z"
}
FieldDescription
urlThe start URL you provided.
final_urlThe final resolved URL after all hops.
final_statusHTTP status code of the final response.
hop_countNumber of redirects followed.
redirectedtrue if at least one redirect occurred.
chainOrdered list of every hop: url, status_code, location, type.
is_looptrue if a redirect loop was detected.
sourceAlways redirect-tracer.
scraped_atUTC timestamp of the trace.

Pricing

Pay-per-event via the Apify platform โ€” approximately $0.50 per 1,000 URLs. Lightweight HTTP requests, no proxy or browser needed.



FAQ

Does it follow meta-refresh and JavaScript redirects? Yes โ€” <meta http-equiv="refresh"> redirects are detected and followed. Pure client-side JS redirects are noted where the page exposes them; standard HTTP and meta redirects are fully traced.

What happens with a redirect loop? The actor detects loops and stops, setting is_loop: true so you can flag the broken URL.

Do I need an API key or proxy? No. Just provide URLs and run.