Skip to content
Fourohtwo

URL metadata / link preview

mpp-docs.fmf-x402.workers.dev/mpp/url/metadata

URL metadata / link preview — Fetch a URL and return its link-preview metadata: final URL, HTTP content type, title, description, canonical, language, Open Graph and Twitter card fields, favicon, feeds, JSON-LD types, and word count. Static fetch, max 3 MB. Price $0.001 per call.

BaseAnswering
GEThttps://mpp-docs.fmf-x402.workers.dev/mpp/url/metadata

Uptime100% 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://mpp-docs.fmf-x402.workers.dev/mpp/url/metadata?url=https%3A%2F%2Fexample.com");
console.log(await res.json());

Example input

{
  "url": "https://example.com"
}

More from FMF Tools FMF Tools Doc Tools