URL unshortener: final destination

$0.01 per call · failed calls are never charged · no account or subscription: pay per call with a card key or USDC

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.

Run it free (3 free calls) Buy credits by card (from $1) Example result (JSON)

Try it with your own inputs

Absolute http(s) URL

Uses one of your 3 free calls. Nothing is charged, and a call that fails is not counted.

Inputs

NameTypeDescription
url (required)stringAbsolute http(s) URL

Request

Over HTTP, with a card key from /credits:

curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/url/unshorten?url=http%3A%2F%2Fgithub.com"

Or one of your 3 free calls, no key:

curl "https://agent-data-tools.revmesh2074.workers.dev/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 25 successful calls are free:

https://agent-data-tools.revmesh2074.workers.dev/mcp

Related tools