{"uid":"cap_deKctcvak7WzfanI4hsf1","slug":"sitecheck-redirect-chain-tracer-7ebef221","name":"SiteCheck Redirect Chain Tracer","description":"The redirect chain of a URL, hop by hop (at most 10 hops): each URL, its status, the Location it points to, and whether the hop goes from http to https or changes host. Returns the final URL and status, total hops, loop true when a URL repeats, and the Strict-Transport-Security header of the final response.","url":"https://api.sitecheck-api.workers.dev/api/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":"Page URL or domain, e.g. example.com"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"url":"http://example.com","hops":[{"url":"http://example.com/","status":308,"location":"https://example.com/","hostChange":false,"httpToHttps":true}],"hsts":null,"loop":false,"maxHops":10,"finalUrl":"https://example.com/","checkedAt":"2026-10-13T09:00:00.000Z","totalHops":1,"truncated":false,"finalStatus":200}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7q96jyk7No23kTCdBAIey","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","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 for a given URL, showing each hop, status code, and whether the final destination differs from the original","exampleAgentPrompt":"Can you trace all the redirect hops for http://example.com and tell me the final URL it lands on, how many redirects it goes through, and whether it upgrades to HTTPS?","exampleUseCases":[{"title":"Debug broken redirect on product page","prompt":"Can you follow the redirect chain for http://shop.example.com/old-product and show me every hop with its status code so I can figure out where the redirect is breaking?"},{"title":"Verify HTTPS upgrade enforcement","prompt":"Check if http://mybrand.com properly redirects to HTTPS — show me the full chain of redirects and confirm the final URL is secure."},{"title":"Detect redirect loop causing site errors","prompt":"Users are reporting a redirect loop on http://legacy.example.com — can you trace all the hops and tell me if there's a loop detected and what the redirect sequence looks like?"}],"resultDescription":"Returns a structured JSON object with the original URL, an ordered array of hops (each with URL, HTTP status code, Location header, host-change flag, and HTTP-to-HTTPS flag), final URL, total hop count, loop detection flag, HSTS status, truncation flag (if more than 10 hops), and a timestamp of when the check was performed.","failureModes":["Invalid or malformed URL returns an error","Unreachable host results in a connection timeout","Redirect loops are capped at 10 hops and flagged with truncated=true and loop=true","Non-HTTP URLs (e.g. ftp://) may not be supported","Very slow target servers may cause timeout before chain is complete"],"whenToPreferThis":"Use this endpoint when you need to inspect the full HTTP redirect chain for a single URL — especially useful for SEO auditing, HTTPS enforcement verification, debugging redirect misconfiguration, or detecting redirect loops. It is purpose-built for redirect tracing and returns structured hop-by-hop data including status codes and host changes, making it superior to a generic HTTP HEAD request when you need visibility into intermediate steps.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T06:47:50.179Z","isFirstParty":false,"canonicalSlug":"sitecheck-redirect-chain-tracer-7ebef221"}