TidyData APIsAll APIsPricing

URL Unshortener API - Expand Short Links

Expand short links (bit.ly, t.co, tinyurl and any redirect) to their final destination, with every hop of the redirect chain. Check where a link really goes before clicking it.

Authentication & base URL

Subscribe through one of our marketplace listings; your marketplace API key and base URL are shown there. All endpoints return JSON over HTTPS, served from a global edge network (typically 20–150 ms).

Subscribe on RapidAPI

Endpoints

GET /v1/unshorten

Expand short URL

ParameterInDescriptionExample
url *queryShort URLhttps://bit.ly/3Xx

Example

GET /v1/unshorten?url=https%3A%2F%2Fbit.ly%2F3Xx

{
  "shortUrl": "https://bit.ly/3Xx",
  "finalUrl": "http://www.pokerpupil.com/?p=10991",
  "hops": 1,
  "redirects": [
    {
      "url": "https://bit.ly/3Xx",
      "status": 301,
      "to": "http://www.pokerpupil.com/?p=10991"
    }
  ],
  "status": 530,
  "error": null
}

Expand short links (bit.ly, t.co, tinyurl and any redirect) to their final destination, with every hop of the redirect chain. Check where a link really goes before clicking it.

Use cases

Phishing and safety checks, link analytics, content moderation, expanding t.co/bit.ly links in data pipelines.

Why this API

Pricing

Free plan with 500 calls per month, then Pro (25,000 calls for $4.99/month) and Ultra (150,000 calls for $14.99/month). See all plans.