# SWARM Read Page

> SWARM Read Page is a paid API for AI agents from swarm-agent.net, paid per call via x402, $0.002/call, status unknown (last checked 2026-12-02).

Fetches the clean, readable text of any public web page by stripping menus, scripts, and HTML markup

## Facts

- Endpoint: POST https://swarm-agent.net/services/read-page?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/swarm-read-page-a36856d4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iJurfV-tdN5YbDEwmJZz_

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability swarm-read-page-a36856d4 -d '<json body>'
```

Example prompt: Can you grab the readable text from https://www.bbc.com/news/technology — just the clean article content, no navigation or ads?

## When to prefer this

Use this endpoint when you need the clean, human-readable text of a specific public web page and want markup, scripts, and navigation stripped automatically. It is ideal for feeding page content into summarization, question-answering, or analysis pipelines. Prefer this over a full site crawler when you have a specific URL to read rather than needing to discover links. The no-charge-on-failure policy makes it safe to use speculatively.

## Known failure modes

- Page cannot be fetched (non-200 status) — not billed, error returned with status code
- URL uses non-standard ports (not 80/443) — rejected with validation error
- Private or intranet URLs not reachable from public internet — fetch fails
- Page returns no readable text (e.g. pure JavaScript SPA without SSR) — empty or minimal text result
- Content exceeds 3 MB — text is truncated, truncated flag set to true
- Invalid or malformed URL — request rejected

## How this service works

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 text up to 3 MB. Not billed if the page cannot be read. $0.002.

## Output

A JSON object containing the page's clean readable text, title, final URL after any redirects, HTTP status code, content type, fetch timestamp, word count, and a flag indicating if the content was truncated (max 3 MB). Markup, scripts, and navigation elements are stripped, leaving only human-readable prose.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "Public http(s) URL, ports 80/443 only, e.g. https://example.com."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://example.com",
  "text": "This domain is for use in documentation examples without needing permission. This is not a service; avoid relying on it for testing and monitoring purposes.",
  "title": "Example Domain",
  "status": 200,
  "finalUrl": "https://example.com/",
  "fetchedAt": "2026-10-16T10:01:22.169Z",
  "truncated": false,
  "wordCount": 25,
  "contentType": "text/html; charset=utf-8"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/swarm-read-page-a36856d4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from swarm-agent.net](https://www.zero.xyz/host/swarm-agent.net/llms.txt)
