SWARM Read Page
swarm-agent.net/services/read-page
SWARM Read Page - Retrieve the content of a URL as clean, LLM-ready text (headings with #, lists with -; menus, scripts, styles and markup removed). Use when an agent needs to read a web page, article or docs page without paying model tokens for raw HTML: on 15 public pages we measured, the text was a median 97% smaller than the HTML (about 67,000 fewer tokens per page). Requires `url`; HTML or te
POST
https://swarm-agent.net/services/read-pageUptime100% 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://swarm-agent.net/services/read-page", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"url":"https://example.com"}),
});
console.log(await res.json());Example input
{
"url": "https://example.com"
}More from SWARM
- swarm-agent.net/services/code-healthSWARM Code Health - Static health check of a public GitHub repo: TODO/FIXME debt, oversized files, possible committed secrets, README/.gitignore/LICENSE. Requires `repo` (https://github.com/owner/name); repos over 25 MB are refused before payment. $0.05.0.05
- swarm-agent.net/services/site-checkSWARM Site Check - Website uptime and link check in one call: is a URL up, its HTTP status, final URL after redirects, response time and TLS/certificate errors. Use when an agent monitors sites on a schedule, verifies a link or domain is reachable before scraping or citing it, or needs to detect a non-200 answer or a broken redirect. Requires `url`. Instant, no AI. $0.002.0.002
- swarm-agent.net/services/utilitiesSWARM Utilities - UUIDs, hashes, base64/URL encoding, secure passwords and timestamp conversion. Pick one with `op`. Instant, no AI. $0.02.0.02
