Resolve a URL's full redirect chain without downloading the page body
cleanread402.netlify.app/unshorten
Resolve a URL's full redirect chain without downloading the page body: every hop with its HTTP status, the final destination URL and the final status code. Unshortens short links and reveals redirect targets before you fetch them. Input: a public http(s) URL. Lookup errors are returned free (settlement is cancelled on failure).
GET
https://cleanread402.netlify.app/unshortenUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://cleanread402.netlify.app/unshorten?url=http%3A%2F%2Fgithub.com");
console.log(await res.json());Example input
{
"url": "http://github.com"
}