URL unshortener: final destination
No account. Pay by card from $1 and your key appears right after payment. Get a key by card
URL unshortener: expand a short link (bit.ly, t.co and others) to its final destination without loading the page, with every redirect hop's status code and Location, total hops, timing and whether it loops. Each hop is checked before it is requested; redirects to private addresses are reported, not followed. Use to see where a link really goes before opening or sharing it.
Inputs
| Name | Type | Description |
|---|---|---|
url (required) | string | Absolute http(s) URL |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://glyphtools.com/url/unshorten?url=http%3A%2F%2Fgithub.com"
Node.js
const r = await fetch("https://glyphtools.com/url/unshorten?url=http%3A%2F%2Fgithub.com", {
headers: { Authorization: "Bearer adt_…" },
});
const data = await r.json(); // 402 until the key is in the header
Python
import requests
r = requests.get("https://glyphtools.com/url/unshorten?url=http%3A%2F%2Fgithub.com", headers={"Authorization": "Bearer adt_…"}, timeout=60)
data = r.json()
Or one of your 3 free calls, no key — the same request with &trial=1 on the end:
curl "https://glyphtools.com/url/unshorten?url=http%3A%2F%2Fgithub.com&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"url": "http://github.com",
"finalUrl": "https://github.com/",
"finalStatus": 200,
"redirects": 1,
"loop": false,
"hops": [
{
"url": "http://github.com/",
"status": 301,
"location": "https://github.com/",
"ms": 40
},
{
"url": "https://github.com/",
"status": 200,
"ms": 120
}
],
"error": null
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is url_unshorten, and the first 10 successful calls are free:
https://glyphtools.com/mcp