clearpage-x402.vercel.app/v1/markdown
Fetch a public web page and return clean, readable Markdown (main-content extraction, no ads or nav), plus title, byline, language and word count. Query: ?url=. Free trial: add ?free=1 for a few free calls per IP per day.
GET
https://clearpage-x402.vercel.app/v1/markdownUptime0.0% 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://clearpage-x402.vercel.app/v1/markdown?url=https%3A%2F%2Fexample.com%2Farticle");
console.log(await res.json());Example input
{
"url": "https://example.com/article"
}