# Web Page Summary

> Web Page Summary is a paid API for AI agents from web.tollkit.dev, paid per call via x402, $0.007/call, status unknown (last checked 2026-10-11).

Fetches a URL and returns an AI-written summary of the page along with its title and final (redirected) URL.

## Facts

- Endpoint: POST https://web.tollkit.dev/web/brief?utm_source=zero.xyz
- Price: $0.007/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/web-page-summary-e9b83ca6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JQvdegvSEU-2btnV8f43h

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 web-page-summary-e9b83ca6 -d '<json body>'
```

Example prompt: Can you give me a short summary of what's on this page — https://www.anthropic.com/research — keep it under 80 words?

## When to prefer this

Choose this endpoint when you need a human-readable AI-written summary of a single web page without managing browser infrastructure or LLM pipelines yourself. It is ideal for agents that need to quickly assess whether a page is relevant, generate a digest for a user, or extract key points from an article. Prefer it over raw scraping when you want natural language output rather than raw HTML or structured data extraction.

## Known failure modes

- Non-HTTPS or malformed URL returns a validation error
- Page behind a login wall or CAPTCHA may return empty or incomplete text
- Very large pages may be truncated (input_truncated: true), producing a partial summary
- Unreachable or slow URLs may time out
- Pages with no meaningful text content (e.g. pure JS SPAs) may yield poor summaries
- Payment failure via x402 results in a 402 response before the request is processed

## How this service works

Summarize a web page: give a URL, get a short summary of the page written by Claude, with its title and final URL.

## Output

A JSON object containing the AI-written summary (up to max_words words), the page title, the final URL after any redirects, the Claude model used, the fetch timestamp, total character count of the fetched text, and a flag indicating whether the input was truncated before summarization.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "description": "Absolute https URL of the page."
  },
  "max_words": {
   "type": "integer",
   "default": 60,
   "maximum": 250,
   "minimum": 10
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://www.x402.org",
  "model": "claude-haiku-4-5-20251001",
  "title": "x402",
  "summary": "An 80-word-or-shorter summary of the page, written by Claude from the page's rendered text.",
  "final_url": "https://www.x402.org/",
  "fetched_at": "2026-10-04T12:00:00.000Z",
  "text_length": 6120,
  "input_truncated": false,
  "summarized_chars": 6120
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/web-page-summary-e9b83ca6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from web.tollkit.dev](https://www.zero.xyz/host/web.tollkit.dev/llms.txt)
