agent402.tools/api/summarize
Summarize a web page, news article or blog post from its URL, or any text you send, and return a concise AI-generated summary; the model is told to add nothing beyond the source and can still make mistakes. Body: {"url":"https://…"} or {"text":"…"}, plus "maxWords":200?. The page is read as extract reads it (robots.txt honored, public addresses only).
POST
https://agent402.tools/api/summarizeUptime100% 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
// 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://agent402.tools/api/summarize", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"maxWords":120,"url":"https://agent402.tools/guides/x402-in-5-minutes"}),
});
console.log(await res.json());Example input
{
"maxWords": 120,
"url": "https://agent402.tools/guides/x402-in-5-minutes"
}