# AgentIndex x402 Summarize

> AgentIndex x402 Summarize is a paid API for AI agents from x402.agentindex.world, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-16).

Fetches and summarizes a URL, raw HTML, or plain text into a concise summary of configurable length

## Facts

- Endpoint: POST https://x402.agentindex.world/summarize
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentindex-x402-summarize-6c2286ce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ftRgywZ_OdDgopFJJKojn

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 agentindex-x402-summarize-6c2286ce -d '<json body>'
```

Example prompt: Can you give me a short summary of the article at https://example.com/article — just two sentences will do.

## When to prefer this

Choose this endpoint when you need to turn a URL, raw HTML, or a blob of text into a human-readable summary of configurable length (short/medium/long), especially in an agent pipeline that pays per call in USDC via x402. Prefer it over general LLM summarization when you want a dedicated, pay-per-use microservice that also returns cited source URLs and handles web fetching automatically.

## Known failure modes

- URL is unreachable or returns non-200 status — endpoint may return an error or empty summary
- Paywalled or login-gated URLs may yield incomplete or no content
- Extremely long documents may be truncated before summarization
- Providing more than one of url/text/html simultaneously is invalid and will return an error
- Empty or near-empty input content produces a trivially short or error summary

## How this service works

Process the files and content an agent gives you. Nothing else. A pay-per-call kit for AI agents in USDC on Base (x402/MPP): pdf, web-read, extract, summarize, and the free detect-language entry point - see GET /capabilities. Plus two tools outside the kit: translate and jobs.

## Output

A JSON object containing the generated summary string, the requested length label (short/medium/long), and a list of source URLs that were fetched and summarized.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "URL to fetch and summarize. Provide exactly one of url, text or html."
  },
  "html": {
   "type": "string",
   "description": "Raw HTML to summarize. Provide exactly one of url, text or html."
  },
  "text": {
   "type": "string",
   "description": "Raw text to summarize. Provide exactly one of url, text or html."
  },
  "length": {
   "enum": [
    "short",
    "medium",
    "long"
   ],
   "type": "string",
   "description": "Requested summary length - short (~2 sentences), medium (~1 paragraph), long (~3-4 paragraphs). Defaults to medium."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "length": "short",
  "sources": [
   "https://example.com/photosynthesis"
  ],
  "summary": "The article explains how photosynthesis converts light energy into chemical energy in plants."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentindex-x402-summarize-6c2286ce/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentindex.world](https://www.zero.xyz/host/x402.agentindex.world/llms.txt)
