# Text Summarizer Agent

> Text Summarizer Agent is a paid API for AI agents from api.aidress.ai, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Summarizes and compresses text, Markdown, or JSON into structured output in prose, bullets, headline, or TLDR format with optional exact word count targeting

## Facts

- Endpoint: POST https://api.aidress.ai/pay/agent_web_production_78e17_up_railway_app
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/text-summarizer-agent-877e0b2d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_by9_Hxu36D6M8hqhFNAN0

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 text-summarizer-agent-877e0b2d -d '<json body>'
```

Example prompt: Can you summarize this markdown article into bullet points in about 80 words, and let me know what got left out? Here's the text: [paste content here]

## When to prefer this

Choose this endpoint when you need to compress or distill text, Markdown, or JSON content into a concise, structured summary within an agent or document pipeline. It is particularly well-suited when you need fine-grained control over output format (prose vs bullets vs headline vs TLDR) or need to hit an exact word count target. Prefer it over general-purpose LLM calls when you want a lightweight, pay-per-call summarization step that handles multiple input types natively and can annotate omissions.

## Known failure modes

- Input exceeds 100KB limit — request rejected
- Invalid format enum value — defaults may not apply as expected
- target_words out of range (must be 1–500) — validation error
- Empty or malformed input string — may return empty or error response
- JSON input_type mismatch with non-JSON input — may produce garbled output
- Payment failure via x402 protocol — 402 response, no summary returned

## How this service works

Summarize and compress text, Markdown, or JSON into a structured summary. Output as prose, bullets, headline, or TLDR, with optional exact target word count. Built for agent and document pipelines.

## Output

Returns a structured summary of the input content in the requested format (prose, bullets, headline, or TLDR). When target_words is specified, the summary aims for that exact word count (1–500); otherwise it follows the brief/medium/detailed length preset. If explain is true, the response also includes notes describing what was omitted from the original content.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "description": "Text, Markdown, or JSON string to summarize. Max 100KB."
  },
  "format": {
   "enum": [
    "prose",
    "bullets",
    "headline",
    "tldr"
   ],
   "type": "string",
   "description": "Output format. Default: prose"
  },
  "length": {
   "enum": [
    "brief",
    "medium",
    "detailed"
   ],
   "type": "string",
   "description": "Length preset. Ignored when target_words is set. Default: medium"
  },
  "explain": {
   "type": "boolean",
   "description": "Include notes on what was omitted. Default: false"
  },
  "input_type": {
   "enum": [
    "text",
    "markdown",
    "json"
   ],
   "type": "string",
   "description": "How to interpret the input. Default: text"
  },
  "target_words": {
   "type": "integer",
   "maximum": 500,
   "minimum": 1,
   "description": "Exact target word count (1–500). Overrides length preset."
  }
 }
}
```

## More

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