Redirect Chain Auditor avatar

Redirect Chain Auditor

Pricing

Pay per usage

Go to Apify Store
Redirect Chain Auditor

Redirect Chain Auditor

Audit a public URL's redirect chain in one API call. Reports hops, final status, HTTPS downgrades, temporary redirects, loops, score, and recommendations for SEO and migration QA.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Sanskar Jaiswal

Sanskar Jaiswal

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Share

Fetches a public URL and reports its redirect chain, final destination, status codes, HTTPS downgrade risk, temporary redirects, redirect loops, and practical SEO recommendations.

Use cases

  • Site migration QA before and after URL changes.
  • SEO audits for long redirect chains and temporary redirects.
  • Monitoring landing pages after CMS, CDN, or domain changes.
  • Developer-tool pipelines that need structured redirect diagnostics.

Input

FieldTypeRequiredDescription
startUrlstringYesPublic HTTP or HTTPS URL to audit. URLs with credentials and private network targets are rejected.
maxRedirectsintegerNoMaximum redirect hops to follow. Default: 10. Range: 1 to 20.
timeoutSecondsintegerNoRequest timeout per hop. Default: 10. Range: 3 to 30.

Output

Each run pushes one dataset item.

FieldTypeDescription
inputUrlstringOriginal URL from input.
normalizedInputUrlstringURL after adding a default scheme when needed.
finalUrlstringLast URL reached before completion or error.
okbooleanTrue when the final response is a non-error, non-redirect HTTP status.
statusinteger or nullFinal HTTP status code.
checkedAtstringISO timestamp for the audit.
hopCountintegerNumber of redirect hops followed.
chainarrayOrdered redirect hop objects with url, status, location, and nextUrl when present.
scoreintegerRedirect health score from 0 to 100.
gradestringLetter grade from A to F.
issuesarrayDetected problems such as long chains, temporary redirects, loops, or final error status.
recommendationsarrayActionable fixes for detected issues.
errorstring or nullFetch or validation error, if any.

Example input

{
"startUrl": "https://example.com",
"maxRedirects": 10,
"timeoutSeconds": 10
}

Example output

{
"inputUrl": "https://example.com/start",
"normalizedInputUrl": "https://example.com/start",
"finalUrl": "https://example.com/final",
"ok": true,
"status": 200,
"checkedAt": "2026-07-08T00:00:00.000Z",
"hopCount": 1,
"chain": [
{
"url": "https://example.com/start",
"status": 301,
"location": "/final",
"nextUrl": "https://example.com/final"
},
{
"url": "https://example.com/final",
"status": 200,
"location": null
}
],
"score": 90,
"grade": "A",
"issues": ["1 redirect hop(s)"],
"recommendations": [],
"error": null
}

Security

The actor only fetches public HTTP and HTTPS URLs. It rejects URL credentials, localhost and private IP literals, and hostnames that resolve to private IP ranges. Redirect targets are revalidated before following.

Pricing

EventSuggested price
Actor start$0.005
Page audited$0.01

This keeps one-off checks cheap while allowing scheduled monitoring and bulk workflow usage to scale by result.

FAQ

Does it crawl the whole site?

No. It audits one URL per run. That keeps the actor predictable and cheap for API use.

Does it use a browser?

No. Redirect checks use standard HTTP requests, which is faster and more reliable for this use case.

Can it audit staging or intranet URLs?

No. Private network targets are blocked for SSRF safety.