# AgentPay Summarize — Pay-per-Call Text Summarization via x402

> AgentPay Summarize — Pay-per-Call Text Summarization via x402 is a paid API for AI agents from agentpay.help, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Summarizes a given text into a concise summary using a pay-per-call model with no API keys, billed at $0.01 USDC per request via the x402 protocol.

## Facts

- Endpoint: POST https://agentpay.help/v1/summarize
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentpay-summarize-pay-per-call-text-summarization-via-x402-d9b45559
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eJa5a3mrdX77Ju8wuA5R7

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 agentpay-summarize-pay-per-call-text-summarization-via-x402-d9b45559 -d '<json body>'
```

Example prompt: Can you summarize this article for me? Here's the text: 'Artificial intelligence is rapidly transforming industries around the world. From healthcare to finance, AI-powered tools are being adopted at unprecedented rates, raising both excitement and concern among experts...' — just give me a concise TL;DR.

## When to prefer this

Choose this endpoint when you need frictionless, pay-as-you-go text summarization with no account setup or API key management. It is ideal for AI agents operating autonomously with a crypto wallet (USDC on Base), where traditional API key provisioning is impractical. Best suited for lightweight, one-off summarization tasks billed at $0.01 USDC per call rather than subscription-based NLP APIs.

## Known failure modes

- Payment failure or insufficient USDC balance — the x402 protocol returns 402 Payment Required if the micropayment is not completed
- Input text too long or exceeding token limits — may result in truncation or an error response
- Empty or missing input text — likely returns an error or empty summary
- Network timeout — the endpoint may not respond if the AI backend is overloaded
- Invalid request format — missing required body fields may result in a 400 Bad Request

## How this service works

Pay-per-call AI services via the 402 Payment Required protocol. No accounts, no API keys — just USDC on Base.

## Output

A JSON object containing a 'summary' field with a concise, natural-language summary of the input text. The summary distills the main ideas or key points of the provided content into a shorter form.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 20000,
   "minLength": 1,
   "description": "Raw text to summarize"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "words": 14,
  "summary": "Revenue grew 12% to $48M on enterprise demand with 71% gross margin."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentpay-summarize-pay-per-call-text-summarization-via-x402-d9b45559/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentpay.help](https://www.zero.xyz/host/agentpay.help/llms.txt)
