{"uid":"cap__bKlEqwCp_TJxGaNUf6XF","slug":"url-unshorten-redirect-chain-checker-eb3e724c","name":"URL Unshorten & Redirect Chain Checker","description":"Six keyless pay-per-call tools for AI agents: OFAC SDN crypto-wallet screen, live DNS records lookup, SPF/DMARC/DKIM email-auth check, domain age/registrar (RDAP), email address MX verify and URL unshorten/redirect check. $0.01 per call: USDC on Base over x402, or USDC on Tempo over MPP. Also a remote MCP server at /mcp (x402).","url":"https://sdn-screen-x402.sdnscreen.workers.dev/v1/url-unshorten?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","examples":["https://bit.ly/3x402"],"maxLength":2048,"minLength":4,"description":"http(s) URL to expand. A bare host gets https:// added. Private/loopback hosts are refused."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["input","finalUrl","finalHost","finalStatus","redirects","chain","flags","risk","checkedAt"],"properties":{"note":{"type":"string"},"risk":{"enum":["low","medium","high"],"type":"string"},"chain":{"type":"array","items":{"type":"object","required":["url","status","location"],"properties":{"url":{"type":"string"},"status":{"type":["integer","null"]},"location":{"type":["string","null"]}}}},"error":{"type":["string","null"]},"flags":{"type":"array","items":{"type":"string"}},"input":{"type":"string"},"finalUrl":{"type":"string"},"checkedAt":{"type":"string","format":"date-time"},"finalHost":{"type":"string"},"redirects":{"type":"integer"},"finalStatus":{"type":["integer","null"]}}}}}}},"responseSchema":{"type":"json","example":{"note":"Follows HTTP redirects only (not JavaScript/meta refresh); page bodies are never read. Flags are local heuristics, not a malware/phishing reputation verdict.","risk":"low","chain":[{"url":"http://github.com/","status":301,"location":"https://github.com/"},{"url":"https://github.com/","status":200,"location":null}],"error":null,"flags":[],"input":"http://github.com","finalUrl":"https://github.com/","checkedAt":"2026-10-12T17:50:00.000Z","finalHost":"github.com","redirects":1,"finalStatus":200}},"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_mn3ZCjC7FgPg87ALsZck-","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":"Follows HTTP redirects for a given URL and returns the full redirect chain, final destination URL, and risk flags for $0.01 USDC per call.","exampleAgentPrompt":"Can you unshorten this link and show me the full redirect chain to see where it actually ends up — https://bit.ly/3x402? I want to know the final URL and whether there are any risk flags.","exampleUseCases":[{"title":"Phishing link triage for security team","prompt":"Before we forward this suspicious link to our analysts, can you trace where https://t.co/aB3xYzQ goes through all its redirects and tell me the final destination and risk level?"},{"title":"Newsletter URL safety check","prompt":"We received a newsletter with this link: https://ow.ly/Dk5t50R9abc — can you unshorten it and confirm the final URL and whether any redirect hops look suspicious?"},{"title":"AI agent preflight before visiting a URL","prompt":"Before I open https://cutt.ly/mXq7Kz in the browser, expand all the redirects and tell me the final host, how many hops there are, and the overall risk rating."}],"resultDescription":"Returns a JSON object containing: the original input URL, the final resolved URL and host, HTTP status of the final page, number of redirects followed, a full chain array showing each hop's URL, status code, and Location header, a list of heuristic risk flags (e.g. IP-address host, excessive hops, known shortener chains), an overall risk rating (low/medium/high), a checkedAt timestamp, and any error message. Note: follows HTTP redirects only, not JavaScript or meta-refresh; page bodies are never read.","failureModes":["Private or loopback host URLs are refused with an error","Malformed or non-HTTP/HTTPS URLs rejected","DNS resolution failures for the target host","Connection timeouts on slow or unresponsive hosts","URLs longer than 2048 characters are rejected","Risk flags are heuristic only — not a malware/phishing reputation verdict"],"whenToPreferThis":"Use this endpoint when you need to resolve a shortened or opaque URL to its true destination before acting on it, especially in security-sensitive workflows, automated agent pipelines, or compliance checks. Prefer this over manual browser inspection when you need a structured, machine-readable redirect chain with risk flags. Ideal for AI agent preflight checks before visiting URLs, for phishing triage, or for newsletter/email link auditing. At $0.01 USDC per call with no API key required, it is well-suited for pay-per-use agentic workflows via x402 or MPP.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T17:01:59.782Z","isFirstParty":false,"canonicalSlug":"url-unshorten-redirect-chain-checker-eb3e724c"}