Skip to content
Fourohtwo

api.x-402.online/v1/url/unwrap

Trace the redirect chain of a URL to its final destination without downloading page bodies: every hop with its status code, time and Location header, the final URL, whether the domain changed, and loop detection. Useful before trusting a short link or an ad link. Query: ?url=https://bit.ly/…

BaseSolanaAnswering
GEThttps://api.x-402.online/v1/url/unwrap

Uptime100% of 2 checks 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

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.x-402.online/v1/url/unwrap?url=http%3A%2F%2Fgithub.com");
console.log(await res.json());

Example input

{
  "url": "http://github.com"
}