Url Shortener Resolver avatar

Url Shortener Resolver

Pricing

Pay per usage

Go to Apify Store
Url Shortener Resolver

Url Shortener Resolver

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Donny Nguyen

Donny Nguyen

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Categories

Share

Resolve shortened URLs to their final destinations in bulk. This actor traces redirect chains for services like bit.ly, t.co, tinyurl.com, and any other URL shortener by following HTTP redirects.

Features

  • Resolve shortened URLs from any URL shortening service
  • Trace complete redirect chains with status codes at each hop
  • Support for relative and absolute redirect locations
  • Configurable redirect following (single hop or full chain)
  • Handles up to 20 redirect hops per URL
  • Processes up to 500 URLs per run by default

Use Cases

URL resolution is critical for link analysis, security auditing, and marketing analytics. Security teams use URL unshortening to inspect suspicious links before clicking. Digital marketers verify that campaign links resolve to the correct landing pages. SEO specialists audit redirect chains to identify unnecessary hops that harm page speed. Researchers analyzing social media content need to resolve shortened links to study information flow.

Input Configuration

ParameterTypeDescription
urlsArrayList of shortened URLs to resolve
followRedirectsBooleanFollow entire redirect chain (default: true)
maxResultsIntegerMaximum number of URLs to resolve (default: 500)

Output Format

Each result contains:

  • originalUrl - The input shortened URL
  • finalUrl - The final destination URL after all redirects
  • redirectCount - Number of redirects in the chain
  • redirectChain - Array of all URLs in the redirect chain
  • statusCode - Final HTTP status code
  • domain - Domain of the final destination
  • resolved - Whether the URL was successfully resolved to a different destination

Integration

Export results in JSON, CSV, or Excel format from the Apify dataset. Use the Apify API to integrate URL resolution into your security scanning pipeline, link validation workflow, or marketing analytics platform.

Limitations

Some URL shorteners may block HEAD requests or require JavaScript rendering. Private or password-protected shortened links cannot be resolved. Rate limiting from certain shortener services may cause timeouts. The actor uses a standard browser User-Agent header to maximize compatibility with redirect services.