# dotrockets x402 Summarize — URL or Text Summarization

> dotrockets x402 Summarize — URL or Text Summarization is a paid API for AI agents from x402.dotrockets.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-09).

Summarizes a webpage URL or raw text into a short, medium, or long summary in a specified language, paid per call in USDC via x402.

## Facts

- Endpoint: GET https://x402.dotrockets.com/v1/summarize?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-09
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dotrockets-x402-summarize-url-or-text-summarization-4f7aa5ce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FoHqrSNav81Zuttz5H7Tb

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 dotrockets-x402-summarize-url-or-text-summarization-4f7aa5ce
```

Example prompt: Can you give me a short summary in English of the article at https://example.com/some-long-article — use the dotrockets summarize tool and pay with USDC?

## When to prefer this

Choose this endpoint when an agent needs to condense a webpage or raw text into a digestible summary, especially when multilingual output is required and no API key or signup is feasible — ideal for autonomous agents using x402 micropayments on Base.

## Known failure modes

- URL unreachable or blocked — endpoint may return an error or empty summary
- Invalid or unsupported language code — may return summary in default language or error
- Both 'url' and 'text' omitted — no content to summarize, likely returns error
- Payment failure via x402 — call not processed if USDC payment rejected
- Very long text input may exceed processing limits

## How this service works

Machine-payable APIs for AI agents over x402: cosmic live data, AI-visibility scoring, website screenshots, and scrape-to-markdown. Pay per call in USDC on Base. No API keys, no signup.

## Output

Returns a JSON object with a 'summary' string containing the condensed content, a 'length' field indicating the requested summary length (short/medium/long), and a 'source_url' echoing the input URL if one was provided.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "Seite zum Zusammenfassen"
  },
  "lang": {
   "type": "string",
   "description": "Zielsprache, z.B. de/en"
  },
  "text": {
   "type": "string",
   "description": "oder direkter Text"
  },
  "length": {
   "type": "string",
   "description": "short/medium/long"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "length": {
   "type": "string"
  },
  "summary": {
   "type": "string"
  },
  "source_url": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dotrockets-x402-summarize-url-or-text-summarization-4f7aa5ce/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.dotrockets.com](https://www.zero.xyz/host/x402.dotrockets.com/llms.txt)
