HTTP Redirect Chain & Final URL Inspector avatar

HTTP Redirect Chain & Final URL Inspector

Pricing

from $30.00 / 1,000 results

Go to Apify Store
HTTP Redirect Chain & Final URL Inspector

HTTP Redirect Chain & Final URL Inspector

Input a URL and get the full redirect chain, final URL, HTTP status, selected response headers, and page title.

Pricing

from $30.00 / 1,000 results

Rating

0.0

(0)

Developer

tough_haircomb

tough_haircomb

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

17 days ago

Last modified

Categories

Share

Input a URL and get the full redirect chain, final URL, HTTP status, selected response headers, and page title.

Use cases

  • Verify where a shortened or tracking link ultimately lands and record the redirect steps.
  • Debug why an API endpoint returns an unexpected status by inspecting key caching and server headers.
  • Check whether a migration to HTTPS introduces extra redirect hops that slow down page loads.

Input

FieldTypeDescription
urlstringAny http(s) URL to fetch and analyze (redirects will be followed up to maxRedirects).
methodstringGET or HEAD. Use GET to extract pageTitle.
maxRedirectsintegerMaximum number of redirects to follow before stopping.
timeoutSecondsintegerNetwork timeout for each request in the chain.

Output

One result per run.

FieldTypeDescription
finalUrlstringThe last URL reached after following redirects (or the original URL if none).
statusCodeintegerHTTP status code of the final response.
redirectChainarrayArray of steps in the form 'STATUS FROM_URL -> TO_URL' for each redirect followed.
headersarraySelected final response headers as 'name: value' lines (content-type, cache-control, location, server, date, etag, last-modified).
pageTitlestringHTML
issuesarrayNon-fatal notes, e.g., redirect limit reached, non-HTML content, title not found.
errorstringNull on success, otherwise an error message.

Example input

{
"url": "https://example.com/",
"method": "GET",
"maxRedirects": 10,
"timeoutSeconds": 15
}

Pricing

$0.03 per result. No subscription: you pay only for the runs you start.

Limits

  • This Actor follows only HTTP redirects and does not execute JavaScript, so JS-based redirects won’t be detected.
  • Some servers block unknown clients; in that case you may get 403/429 or timeouts.
  • Only the first 128 KB of HTML is read for title extraction.