{"uid":"cap_bJ3K2-sajNAgGAgK3FO81","slug":"url-unshortener-redirect-chain-expander-d7b73274","name":"URL Unshortener / Redirect Chain Expander","description":"Expand a shortened or redirecting URL: follows the redirect chain server-side and returns every hop plus the final destination, re-validating each hop against SSRF.","url":"https://quartermaster.surewhynot.app/v1/unshorten","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","format":"uri","description":"The (possibly shortened) URL to expand"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0LG9hLQt7JsWpqVqpznYb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Follows a shortened or redirecting URL server-side through every hop and returns the full redirect chain plus final destination, with SSRF validation at each step.","exampleAgentPrompt":"Can you trace all the redirects for this link and tell me every hop plus the final destination: https://bit.ly/3xAmPLe?","exampleUseCases":null,"resultDescription":"An ordered list of every URL hop in the redirect chain (with HTTP status codes per hop), plus the final resolved destination URL, each hop re-validated against SSRF.","failureModes":["URL is unreachable or times out — returns error with no chain","SSRF check blocks a hop (e.g. private IP range detected) — chain halted and flagged","Malformed or non-HTTP URL provided — validation error returned","Redirect loop detected — returns error indicating circular redirect","Final destination returns non-redirect status unexpectedly"],"whenToPreferThis":"Choose this endpoint when you need server-side, safe resolution of a URL redirect chain without exposing your own infrastructure — particularly useful when SSRF safety validation at every hop is required, or when you need the full intermediate hop list rather than just the final URL.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:47:27.369Z","isFirstParty":false}