# Text Summarizer by PDFExtractAPI

> Text Summarizer by PDFExtractAPI is a paid API for AI agents from text-summarizer.pdfextractapi.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Summarizes text input into brief, detailed, or bullet-point formats with an optional word limit.

## Facts

- Endpoint: POST https://text-summarizer.pdfextractapi.workers.dev/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/text-summarizer-by-pdfextractapi-863a08d3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VdjiP_mIXIzVGfRZKF8is

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-by-pdfextractapi-863a08d3 -d '<json body>'
```

Example prompt: Can you summarize the following article in bullet points, keeping it under 150 words? [paste article text here]

## When to prefer this

Choose this endpoint when you need to condense long-form text into a user-specified format (brief, detailed, or bullet points) and optionally control the output length. It is well-suited for document processing pipelines, agent workflows that ingest large articles or reports, or any scenario where readable summaries of raw text are needed without requiring a full LLM orchestration layer.

## Known failure modes

- Text exceeds 50,000 character limit — request rejected
- Invalid style value (not 'brief', 'detailed', or 'bullets') — validation error
- Empty or missing 'text' field — 400 bad request
- max_words out of range (below 5 or above 2000) — validation failure
- Payment not provided or insufficient USDC — 402 payment required

## How this service works

Summarize text in a chosen style: brief, detailed, or bullet points.

## Output

Returns a summarized version of the input text in the requested style (brief, detailed, or bullet points), respecting the optional maximum word count.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "text"
     ],
     "properties": {
      "text": {
       "type": "string",
       "description": "The text to summarize, max 50,000 characters."
      },
      "style": {
       "enum": [
        "brief",
        "detailed",
        "bullets"
       ],
       "type": "string",
       "description": "Summary style, default 'brief'."
      },
      "max_words": {
       "type": "number",
       "description": "Optional soft word limit, 5-2000."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/text-summarizer-by-pdfextractapi-863a08d3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from text-summarizer.pdfextractapi.workers.dev](https://www.zero.xyz/host/text-summarizer.pdfextractapi.workers.dev/llms.txt)
