HTTP Redirect Chain & Final URL Inspector
Pricing
from $30.00 / 1,000 results
Go to Apify Store
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
Maintained by CommunityActor 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
| Field | Type | Description |
|---|---|---|
url | string | Any http(s) URL to fetch and analyze (redirects will be followed up to maxRedirects). |
method | string | GET or HEAD. Use GET to extract pageTitle. |
maxRedirects | integer | Maximum number of redirects to follow before stopping. |
timeoutSeconds | integer | Network timeout for each request in the chain. |
Output
One result per run.
| Field | Type | Description |
|---|---|---|
finalUrl | string | The last URL reached after following redirects (or the original URL if none). |
statusCode | integer | HTTP status code of the final response. |
redirectChain | array | Array of steps in the form 'STATUS FROM_URL -> TO_URL' for each redirect followed. |
headers | array | Selected final response headers as 'name: value' lines (content-type, cache-control, location, server, date, etag, last-modified). |
pageTitle | string | HTML |
issues | array | Non-fatal notes, e.g., redirect limit reached, non-HTML content, title not found. |
error | string | Null 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.