URL Unshortener & Link Preview: Expand Short Links API
Pricing
from $0.30 / 1,000 resolved urls
URL Unshortener & Link Preview: Expand Short Links API
Expand short links in bulk (bit.ly, t.co, tinyurl and any other) and follow every redirect, including meta-refresh and JavaScript hops. Each link gets its final URL, every hop with its status code, and a preview of the page: title, description, image and site name. No login.
Pricing
from $0.30 / 1,000 resolved urls
Rating
0.0
(0)
Developer
Zaiq
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
1
Monthly active users
15 days ago
Last modified
Categories
Features
Share
URL Unshortener & Link Preview API: expand short links, every redirect hop, page preview

Expand short links in bulk: bit.ly, t.co, tinyurl, lnkd.in, ow.ly, buff.ly, rebrand.ly, cutt.ly and any other link that redirects. Each link is followed hop by hop, including the meta-refresh and JavaScript hops that t.co and others use, and the preview pages some shorteners show, to its final URL, with every hop's status code.
Each row also carries a link preview of the page it ends on: title, description, image, site name, canonical URL, favicon and language. Built for marketing and social teams cleaning tracked links, ad and link-safety checks, SEO redirect audits, data pipelines and AI agents. From $0.30 per 1,000 links, preview included.
What you get
| Field | What it holds |
|---|---|
| Final address | finalUrl, finalDomain, finalStatus, redirectCount, contentType |
| Every hop | hops: url, status, redirectTo, via (301, 302, 303, 307, 308, meta refresh, javascript, shortener preview page) |
| Preview | title, description, image, siteName, type, canonicalUrl, favicon, language |
| Checks | isShortLink, inputDomain, loop, tooManyRedirects, stoppedAtShortener, note |
| Run facts | status (ok, invalid, failed), error, route, resolvedAt |
What people use it for
- Link cleaning: turn tracked short links into the real address before you store or share them
- Link safety: see where a short link really goes, and whether the shortener has flagged it
- SEO redirect audits: every hop and status code for a list of old URLs
- Social listening: expand the t.co and lnkd.in links in posts to the articles they point to
- Link previews: title, description and image for cards in your app or newsletter
- AI agents: know what a link is before reading it
How to use it
- Paste links, one per line (short or not).
- Keep Read the final page's preview on for title, description and image.
- Click Start. Each link gets one row.
Input
| Field | Example | Notes |
|---|---|---|
| Links | https://bit.ly/..., https://t.co/..., example.com/page | Up to 10,000; a missing https:// is added |
| Read the final page's preview | on | Included in the price |
| Most redirects to follow | 15 | Up to 30; loops are caught |
Output
Each result is one row in the run's dataset (download it as JSON, CSV, Excel, XML or HTML, or read it through the API). An example row (values shortened):
{"url": "https://bit.ly/example-link","index": 0,"isShortLink": true,"inputDomain": "bit.ly","finalUrl": "https://example.com/blog/sample-post?utm_source=newsletter","finalDomain": "example.com","finalStatus": 200,"redirectCount": 2,"hops": [{"url": "https://bit.ly/example-link","status": 301,"redirectTo": "http://example.com/blog/sample-post?utm_source=newsletter","via": "301"},{"url": "http://example.com/blog/sample-post?utm_source=newsletter","status": 301,"redirectTo": "https://example.com/blog/sample-post?utm_source=newsletter","via": "301"},{"url": "https://example.com/blog/sample-post?utm_source=newsletter","status": 200,"redirectTo": null,"via": null}],"contentType": "text/html","loop": false,"tooManyRedirects": false,"stoppedAtShortener": false,"title": "Sample post title","description": "A short description of the sample post.","image": "https://example.com/images/sample-post.jpg","siteName": "Example Blog","type": "article","canonicalUrl": "https://example.com/blog/sample-post","favicon": "https://example.com/favicon.ico","language": "en","status": "ok","note": null,"resolvedAt": "2026-11-07T10:40:12Z"}
A record named SUMMARY in the run's key-value store says what each input returned, with any notes (for example an account that does not exist), what was charged and how much traffic the run used.
Pricing
- $0.0004 per resolved URL ($0.40 per 1,000), $0.30 per 1,000 on Gold and above, preview included
- $0.0005 per run
- Entries that are not links, and links no server answers at all, are free
- A link whose shortener answers but whose site is gone is charged: you still get the expanded URL.
What typical jobs cost at the list price:
| Job | Cost |
|---|---|
| One link | $0.0009 (with the run fee) |
| 100 links | $0.04 |
| 1,000 links | $0.40 ($0.30 on Gold) |
| 10,000 links | $4.00 ($3.00 on Gold) |
On Apify's Scale and Business plans the per-event prices are lower (Store discounts). Set Maximum cost per run and the Actor stops cleanly when it is reached: you never pay more than that.
Tips
- Turn the preview off when you only need hops and status codes; the price is the same.
noteexplains anything unusual: a loop, a flagged link, a dead site, or a site that refuses cloud addresses (its final URL is still known from the last redirect).- Run many links in one run: the $0.0005 run fee is paid once.
Use it through the API
Python
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("zaiq/url-unshortener").call(run_input={"urls": ["https://bit.ly/example-link", "https://t.co/example"], "includePreview": true})for row in client.dataset(run.default_dataset_id).iterate_items():print(row)
JavaScript
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });const run = await client.actor('zaiq/url-unshortener').call({"urls": ["https://bit.ly/example-link", "https://t.co/example"], "includePreview": true});const { items } = await client.dataset(run.defaultDatasetId).listItems();
HTTP (one call, results back)
curl -X POST 'https://api.apify.com/v2/acts/zaiq~url-unshortener/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>' \-H 'Content-Type: application/json' \-d '{"urls": ["https://bit.ly/example-link", "https://t.co/example"], "includePreview": true}'
Integrations and schedules
- Schedules: run it every hour, day or week from the Apify Console (Schedules) and keep a history of results.
- Make, Zapier, n8n, Google Sheets, Slack, Airtable: connect it through Apify's integrations, or send each finished run to a webhook.
- Datasets: results stay in the run's dataset; export them or read them by API whenever you need them.
Use it with AI agents (MCP)
Add Apify's MCP server with this Actor already pinned (https://mcp.apify.com?tools=zaiq/url-unshortener) to Claude, ChatGPT, Cursor, VS Code or any MCP client. The agent can find this Actor and run it for you: ask it for "where does this bit.ly link really go, and what is the page about". AI agents can also pay for runs directly through Apify's agentic payments.
Limits
- Some sites refuse requests from cloud addresses; for those the final URL comes from the last redirect and the preview is empty (see
note). - Redirects made by JavaScript are followed only on small redirect pages (t.co style), not inside full websites.
- Shorteners that have disabled or flagged a link stop at their own warning page (
stoppedAtShortener). - Only the first 512 KB of the final page is read for the preview.
- Apify's free plan: the first 20 links.
FAQ
Which short links work?
Any link that redirects: bit.ly, t.co, tinyurl, ow.ly, is.gd, buff.ly, rebrand.ly, lnkd.in, cutt.ly and custom domains. In our tests every one of these resolved.
Does it follow t.co's meta refresh?
Yes. t.co answers with an HTML page that redirects by meta refresh and JavaScript; both are followed and shown as hops.
What about bit.ly's preview page?
Some visitors get a bit.ly preview page instead of a redirect; the destination named on it is followed and the hop shows as shortener preview page.
Is the preview extra?
No. Title, description, image and site name are included in the price.
What if the site is gone?
You still get the expanded URL and every hop; the note says the final address did not answer.
Can it audit my own redirects?
Yes: paste your old URLs and read each hop's status code.
Related Actors from Zaiq
- contact-details-extractor: emails, phones and social links from the final websites
- tech-stack-detector: the technology behind each final website
- website-crawler-by-country: the whole page as Markdown, from any country
Support
Questions, a site that changed, or a field you need? Open an issue on this Actor's Issues tab: we answer there, usually within a day.
Also found as: url unshortener, unshorten url, expand short url, url expander, redirect checker, redirect chain, link preview api, bitly expander, t.co expander, short link resolver.