URL Unshortener API

POST

See where shortened links actually lead before users click them.

URL Unshortener expands shortened links to reveal their final destination URL and destination domain. Send any short link to inspect the resolved address and redirect count; paid plans add the full redirect chain.

Try it — live request, no key required

Request
POSTapi.apiverve.com/v1/urlunshortener
Body
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "source": "https://bit.ly/3k3j4",
    "destination": "http://www.allclimbing.com/archive/2009/09/climbing-video-alex-puccio-on-trice-v12/",
    "unshortened": true,
    "redirectCount": 1,
    "destinationDomain": "www.allclimbing.com",
    "redirectChain": [
      "https://bit.ly/3k3j4",
      "http://www.allclimbing.com/archive/2009/09/climbing-video-alex-puccio-on-trice-v12/"
    ]
  }
}

About the URL Unshortener API

URL Unshortener works by following the shortened URL's HTTP redirects to its final destination. It returns the resolved URL, the destination domain, the number of redirect hops, and the full hop-by-hop redirect chain — so you can see exactly where a link goes and which intermediate domains it passes through before trusting it.

What people use it for

Malicious Link Screening
Screen user-submitted short links in messaging platforms by resolving them to their final destination domain before security filters evaluate the URL.
Social Media Moderation
When forum commenters post shortened URLs, resolve the link destination to flag forbidden affiliate networks or banned domains.
Email Gateway Scanning
Corporate mail scanners check incoming emails for shortened links, inspecting the resolved destination URL and redirect count to detect evasion tactics.
Affiliate Link Auditing
Verify affiliate campaign redirects across ad networks by extracting the destination domain and confirming whether tracking links reach active target sites.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use URL Unshortener

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the URL Unshortener API.

Read the docs →
What kinds of shortened links can this resolve?
It unshortens any URL that uses standard HTTP redirects to reach a destination, including public link shorteners and custom branded domains. Because it inspects live redirects on demand, it handles multi-hop shorteners and nested redirects without domain restrictions.
What would unshortening 10,000 links a month cost me?
Resolving 10,000 links takes 100,000 credits, which uses half of the Starter plan's 200,000 monthly credits. Each call uses 10 credits, which works out to $1.50 per 1,000 calls or about $0.0015 per link checked. The Free tier includes 20 unshorten calls per month.
Do I get the full redirect chain on the Free plan?
No, the hop-by-hop redirect chain is a premium field reserved for paid plans. Free calls still return the final destination URL, destination domain, redirect count, and status, but you need Starter or higher to see every intermediate URL visited along the way.
What happens if a link is already unshortened or broken?
If an input URL is already at its final destination, the API returns it with a redirect count of zero. If a redirect fails to resolve, the unshortened response field returns false and the reason field explains why the destination could not be reached.
Does it check live redirects or rely on cached destination records?
Every request follows HTTP redirects in real time to locate the live destination. URL Unshortener does not rely on a static database of historical links, so you always see where the link resolves at the moment you call it.

Ready to build with URL Unshortener? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs