{"uid":"cap_m3ejzx1kbRVHZCihGk_Ds","slug":"saylor-innovations-url-redirect-chain-tracer-fd900fd5","name":"Saylor Innovations URL Redirect Chain Tracer","description":"Trace the full redirect chain of a URL - each hop with status code and timing, final URL, HTTPS upgrade, host change, permanent-only and loop detection","url":"https://saylorinnovations.com/api/web/redirects?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"URL or bare domain to trace"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["start_url","hops","redirect_count"],"properties":{"hops":{"type":"array","items":{"type":"object","properties":{"ms":{"type":["number","null"],"description":"Response time of this hop in milliseconds"},"url":{"description":"Canonical URL"},"server":{"description":"Server software reported"},"status":{"description":"Current status"},"location":{"description":"Place the data refers to"}}},"description":"Each request in the redirect chain with URL, HTTP status, Location target, response time in ms and server header"},"note":{"type":"string","description":"Caveat or context for reading the result"},"source":{"type":"string","description":"Data source the values come from"},"total_ms":{"type":"number","description":"Total ms"},"final_url":{"type":["string","null"],"description":"Final URL"},"start_url":{"type":"string","description":"Start URL"},"changed_host":{"type":"boolean","description":"Changed host"},"final_status":{"type":["number","null"],"description":"Final status"},"loop_detected":{"type":"boolean","description":"Loop detected"},"permanent_only":{"type":"boolean","description":"Permanent only"},"redirect_count":{"type":"number","description":"Number of redirect"},"upgraded_to_https":{"type":"boolean","description":"Upgraded to https"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vWsDdG3b159w7AG15JmXg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Traces the full HTTP redirect chain of a URL, returning each hop's status code, timing, location, and detecting HTTPS upgrades, host changes, permanent-only chains, and redirect loops","exampleAgentPrompt":"Can you trace the full redirect chain for http://bit.ly/3xampleURL — I want to see every hop, the status codes, whether it upgrades to HTTPS, if the host changes, and what the final destination URL is?","exampleUseCases":[{"title":"SEO redirect audit for a domain","prompt":"Trace all the redirects for http://oldsite.example.com and tell me if they're all permanent 301s, how many hops there are, and what the final URL ends up being — I'm migrating a site and need to make sure the redirect chain is clean."},{"title":"Detecting redirect loops on a link","prompt":"Can you check whether http://www.example.com has any redirect loops? I keep getting a browser error on that URL and want to know if it's going around in circles."},{"title":"Verifying a short link's destination","prompt":"Follow the redirect chain for https://t.co/abc123xyz and show me every hop with its status code and timing — I want to confirm the final destination URL before I share it with my team."}],"resultDescription":"Returns a JSON object containing the start URL, an array of hops (each with URL, HTTP status, Location header target, response time in ms, and server software), the final URL, total elapsed time in ms, redirect count, and boolean flags for HTTPS upgrade, host change, permanent-only chain, and loop detection.","failureModes":["Invalid or malformed URL returns an error","Unreachable or offline host may time out or return null timing values","Extremely long redirect chains may be truncated","Private/intranet URLs may not be resolvable from the server","URLs with auth-protected redirects may not follow all hops","Loop detected flag triggers early termination of chain following"],"whenToPreferThis":"Choose this endpoint when you need a full hop-by-hop breakdown of a redirect chain including timing, status codes, HTTPS upgrade detection, host change detection, loop detection, and permanent-only validation. It is especially useful for SEO audits, link verification, security checks on untrusted short links, and debugging misconfigured redirects — all in a single API call without needing to manually follow redirects.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T19:24:10.354Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-url-redirect-chain-tracer-fd900fd5"}