Link preview extractor
failure.zo.space/api/x402/og
Link preview extractor: fetches any URL and returns its title, description, Open Graph and Twitter Card images, favicon, canonical URL and dominant meta tags — the data needed to render a rich preview card. Query params: url (required).
GET
https://failure.zo.space/api/x402/ogUptimeNot checked yet
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://failure.zo.space/api/x402/og?url=https%3A%2F%2Fgithub.com%2Fx402-foundation%2Fx402");
console.log(await res.json());Example input
{
"url": "https://github.com/x402-foundation/x402"
}