---
title: URL Unshortener
slug: unshorten-url
url: https://apyverse.com/pankajretestflows/service/unshorten-url
provider: External Providers
categories: [Developer Tools, SEO]
tags: [url-expansion, redirect-resolution, link-unshortening, url-analysis, web-links]
auth: api_key
---

# URL Unshortener

Resolve shortened URLs and follow redirect chains with optional hop and timeout limits. Useful for link checks, analytics, and canonical destination lookup.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `` | What it does Resolves a shortened URL by following redirects and returns the endpoint’s success res… | 10 |

## About

## What it does
URL Unshortener resolves shortened links and returns the destination you actually want to inspect. Send a `url`, and optionally set `max_hops` to control how many redirects to follow and `timeout_s` to cap how long the request waits.

Use URL Unshortener when you need to expand tracking links, inspect redirect chains, or check where a shortened URL really lands before storing, sharing, or crawling it. It’s useful for link safety checks, analytics pipelines, and tooling that needs canonical destinations instead of wrapped URLs.

The response schema is intentionally open-ended, so treat the returned JSON as a structured result whose exact fields may vary by target URL and redirect behaviour. Build your integration to read the destination details you need and handle cases where redirects stop early, time out, or exceed the hop limit.

URL Unshortener is best when you already have a URL and need the expanded version without guessing how many redirects are involved.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyverse.com/pankajretestflows/service/unshorten-url
