{"uid":"cap_8KFadHBP84UTDQsvbmEls","slug":"mat-web-data-toolkit-url-unshortener-1f465c3c","name":"Mat Web & Data Toolkit – URL Unshortener","description":"Fetches a public web page and returns its title, meta description, outbound links and readable plain text as JSON.","url":"https://automatom.matt-d59.workers.dev/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"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"hops":0,"chain":[{"url":"https://github.com/","status":200}],"input":"https://github.com","final_url":"https://github.com/"}},"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_4iDG7I8nBB4hxMLh8jWb5","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":"Resolves a shortened or redirected URL and returns the full redirect chain, hop count, and final destination URL as JSON.","exampleAgentPrompt":"Can you unshorten this link for me and tell me where it actually goes — https://t.co/abc123xyz?","exampleUseCases":[{"title":"Safety-check a suspicious short link","prompt":"I got a text with this link bit.ly/3xQ9mZp — can you trace it and tell me where it actually redirects before I click it?"},{"title":"Audit marketing redirect chains","prompt":"Can you follow all the redirects for https://ow.ly/mktcampaign and tell me the full chain of hops and the final landing page URL?"},{"title":"Resolve an embedded tracking URL","prompt":"This email newsletter has a link https://click.newsletter.com/abc?id=456 — can you expand it and show me the final destination and how many redirects it goes through?"}],"resultDescription":"Returns a JSON object containing the input URL, the final resolved URL after all redirects, the total number of redirect hops, and an ordered chain array with each intermediate URL and its HTTP status code.","failureModes":["URL is unreachable or returns a non-200 status — chain will reflect the failure status","Infinite redirect loops may cause timeout or max-hop cutoff","Malformed or non-HTTP URLs will likely trigger a validation error","Private/intranet URLs will be unreachable from the worker","Rate limiting or firewall blocks on the target domain may return errors"],"whenToPreferThis":"Use this endpoint when you need to resolve a shortened, tracked, or obfuscated URL to its final destination and want the full redirect chain with hop counts. Prefer this over a full web-scraping endpoint when you only need the resolved URL, not page content. Best for link safety checks, marketing audit workflows, and deobfuscating embedded tracking links.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T12:52:44.540Z","isFirstParty":false,"canonicalSlug":"mat-web-data-toolkit-url-unshortener-1f465c3c"}