# Toll402 Summarize

> Toll402 Summarize is a paid API for AI agents from toll402.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Summarizes a URL or raw text into bullets, paragraphs, TL;DR, or detailed form in your chosen language and length

## Facts

- Endpoint: GET https://toll402.dev/v1/summarize
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/toll402-summarize-00cd6be6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mYUO8h4j1RqGtu7I5eMtA

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 toll402-summarize-00cd6be6
```

Example prompt: Can you summarize https://techcrunch.com/2024/05/01/openai-gpt5/ in bullet points, in English, keeping it under 150 words and focusing on the key product announcements?

## When to prefer this

Choose this endpoint when you need a faithful, configurable summary of either a live URL or raw text — especially when style (bullets, paragraph, TL;DR, detailed), language, and word count need to be controlled precisely. Prefer it over general-purpose LLM calls when you want a consistent, pay-per-use summarization API with predictable output format and cost ($0.05/call).

## Known failure modes

- Invalid or inaccessible URL returns an error with ok: false
- Text exceeding 400,000 character limit is rejected
- Unsupported style enum value causes a validation error
- Network timeout fetching the target URL
- Payment not received or insufficient funds returns 402 status
- Empty input with neither url nor text provided fails validation

## How this service works

Faithful summary of a URL or text in the style, length and language you choose.

## Output

Returns a JSON object with ok (boolean), ms (response time in milliseconds), tool name, and a result object containing title (string) and summary (string) formatted according to the requested style, language, and word limit.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "url": {
       "type": "string",
       "format": "uri"
      },
      "text": {
       "type": "string",
       "maxLength": 400000
      },
      "focus": {
       "type": "string",
       "maxLength": 1000,
       "description": "What to focus on"
      },
      "style": {
       "enum": [
        "bullets",
        "paragraph",
        "tldr",
        "detailed"
       ],
       "type": "string",
       "default": "bullets"
      },
      "language": {
       "type": "string",
       "default": "same as source",
       "maxLength": 40,
       "description": "Output language, e.g. 'es', 'en'"
      },
      "maxWords": {
       "type": "integer",
       "default": 200,
       "maximum": 1500,
       "minimum": 20
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ms": {
       "type": "integer"
      },
      "ok": {
       "type": "boolean"
      },
      "tool": {
       "type": "string"
      },
      "result": {
       "type": "object",
       "properties": {
        "title": {
         "type": "string"
        },
        "summary": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "title": "HTTP 402",
  "summary": "HTTP 402 es un código de estado reservado para pagos..."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/toll402-summarize-00cd6be6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from toll402.dev](https://www.zero.xyz/host/toll402.dev/llms.txt)
