# AGISHub Text Summarizer

> AGISHub Text Summarizer is a paid API for AI agents from api.agishub.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Summarizes a block of text into a concise abstract, with an optional maximum word count target.

## Facts

- Endpoint: POST https://api.agishub.com/paid/summarize
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agishub-text-summarizer-a29d2495
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7xechc4yCz3mbtRpq4L--

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 agishub-text-summarizer-a29d2495 -d '<json body>'
```

Example prompt: Can you summarize the following article into no more than 100 words? [paste article text here]

## When to prefer this

Choose this endpoint when you need a quick, no-key-required text summarization without setting up an LLM prompt yourself. It is ideal for agents that need to condense articles, documents, or passages on demand with optional length control, and when the sibling general-purpose LLM endpoint would require more prompt engineering overhead. Best for single-document summarization tasks where a clean abstract is the goal.

## Known failure modes

- Empty or whitespace-only text input returns an error (minLength:1 enforced)
- max_words of 0 or negative is rejected (exclusiveMinimum enforced)
- max_words exceeding 400 returns validation error
- Payment not included or insufficient USDC results in 402 Payment Required
- Very short input text may produce a summary close to or equal to the original
- Extremely large input text may be truncated or slow to process

## How this service works

Summarize a block of text into a short abstract, with an optional target length. No external API key required.

## Output

A JSON object containing the generated summary/abstract of the input text, condensed to approximately the requested word count (defaulting to ~80 words if no max_words is specified).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "text"
     ],
     "properties": {
      "text": {
       "type": "string",
       "minLength": 1,
       "description": "The text to summarize."
      },
      "max_words": {
       "type": "integer",
       "maximum": 400,
       "minimum": 0,
       "description": "Approximate maximum length of the summary, in words (default ~80).",
       "exclusiveMinimum": true
      }
     },
     "additionalProperties": false
    },
    "type": {
     "enum": [
      "http"
     ],
     "type": "string"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "enum": [
      "json"
     ],
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agishub-text-summarizer-a29d2495/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agishub.com](https://www.zero.xyz/host/api.agishub.com/llms.txt)
