# 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-15).

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

## Facts

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

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-c9902b52
```

Example prompt: Can you summarize this article for me in no more than 80 words: 'Artificial intelligence has rapidly transformed industries ranging from healthcare to finance, enabling automation, predictive analytics, and personalized experiences at scale. However, concerns around bias, privacy, and job displacement continue to challenge researchers and policymakers alike.'?

## When to prefer this

Choose this endpoint when you need a fast, cheap ($0.02 USDC), no-API-key-required text summarization with optional length control. It is ideal for lightweight agents that need to condense arbitrary text without setting up an LLM API key. Prefer over rolling your own LLM summarization when cost predictability and simplicity matter more than fine-grained control over the summarization style.

## Known failure modes

- Empty or missing 'text' query parameter returns a validation error
- max_words of 0 or exceeding 400 triggers a schema validation error
- Extremely short input text (e.g. one word) may produce a trivial or identical summary
- Payment failure via x402 protocol returns 402 status with no summary
- Very large input texts may be truncated or result in slower responses

## How this service works

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

## Output

Returns a JSON object with a 'result' field containing the generated summary as a plain-text string, condensed from the input text to approximately the requested word length (default ~80 words).

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "enum": [
      "http"
     ],
     "type": "string"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "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
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "enum": [
      "json"
     ],
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "Summarize a block of text into a short abstract, with an optional target length. No external API key required."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agishub-text-summarizer-c9902b52/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)
