Batch web page reader
x402.agentindex.world/web-read-batch
Batch web page reader: send up to 10 URLs, get each page back as clean Markdown - navigation, ads and boilerplate stripped - with its title and a real token count. Pages are fetched in parallel with a per-page time limit, so one slow site never blocks the rest. A page that cannot be read comes back with its own error; you are not charged if no page could be read. Optional max_chars_per_page. Try G
POST
https://x402.agentindex.world/web-read-batchUptime100% of 5 checks 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://x402.agentindex.world/web-read-batch", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"max_chars_per_page":20000,"urls":["https://www.w3.org/","https://example.com/"]}),
});
console.log(await res.json());Example input
{
"max_chars_per_page": 20000,
"urls": [
"https://www.w3.org/",
"https://example.com/"
]
}