{"uid":"cap_hT3vysVlEQwg89w3glepj","slug":"url-redirect-chain-tracer-e48beecd","name":"URL Redirect Chain Tracer","description":"Paid deterministic utility APIs settled in native USDC on Base.","url":"https://x402-url-evidence.vercel.app/api/redirect-chain","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["url"],"properties":{"url":{"type":"string"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"finalUrl":"https://example.com/","finalStatus":200,"requestedUrl":"http://example.com/","redirectChain":[],"redirectCount":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ugezbWor6D2v2MZ4OYkZV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","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, returning each hop, the final destination URL, and the final HTTP status code.","exampleAgentPrompt":"Can you trace all the redirects for http://bit.ly/some-short-link using a POST request with a JSON body containing the URL, and tell me where it finally lands and how many hops it took?","exampleUseCases":[{"title":"Debugging a broken redirect chain","prompt":"I have this URL http://mysite.com/old-page and I think it's doing multiple redirects before reaching the destination — can you trace the full redirect chain for me with a POST JSON request so I can see every hop and the final status code?"},{"title":"Resolving a shortened or masked link","prompt":"Can you follow all the redirects on https://t.co/abc123xyz using a POST request with a JSON body and tell me the actual final URL it lands on and how many redirects happen along the way?"},{"title":"Auditing third-party tracking links","prompt":"I want to audit this marketing link https://click.emailservice.com/track?id=9876 — can you trace its full redirect chain via a POST JSON request so I can see every intermediate URL it goes through before reaching the final destination?"}],"resultDescription":"Returns a JSON object containing the originally requested URL, the final resolved URL, the final HTTP status code, a count of redirects, and an ordered array of each URL in the redirect chain (each hop).","failureModes":["Invalid or malformed URL returns an error response","URL that requires authentication may not be traceable","Network timeouts if the target URL is slow or unreachable","Redirect loops may cause failure or a capped chain response","Non-HTTP URL types are not supported (only HTTP/HTTPS)"],"whenToPreferThis":"Choose this endpoint when you need to programmatically trace the full HTTP redirect path of a URL — especially for debugging redirect chains, resolving shortened or obfuscated links, or auditing tracking URLs. It is settled in USDC on Base via x402, making it suitable for autonomous agent workflows that handle micropayments natively.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:32:00.005Z","isFirstParty":false}