Read one known URL
agent402.tools/api/extract
Read one known URL: the main article content as clean markdown with title, byline, excerpt and word count, boilerplate removed. Use it when an agent already has a URL and needs the text; for JavaScript-rendered pages that return an empty shell, use a browser render instead.
POST
https://agent402.tools/api/extractUptimeNot 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://agent402.tools/api/extract", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"url":"https://agent402.tools/guides/x402-in-5-minutes"}),
});
console.log(await res.json());Example input
{
"url": "https://agent402.tools/guides/x402-in-5-minutes"
}Price changes
- Nov 25, 20260.01 → 0.001
