# 402utils Extractive Text Summarizer

> 402utils Extractive Text Summarizer is a paid API for AI agents from 402utils.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Selects the N most salient sentences from input text using TextRank (TF-IDF cosine + PageRank), returning each chosen sentence with a salience score and index — deterministic, model-free, no LLM.

## Facts

- Endpoint: POST https://402utils.com/v1/summarize-extractive
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/402utils-extractive-text-summarizer-25ae9d3f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IjVKxz8vWFKSREtMvOW_G

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 402utils-extractive-text-summarizer-25ae9d3f -d '<json body>'
```

Example prompt: Can you give me an extractive summary of this article — pick the 5 most important sentences using the deterministic TextRank algorithm, not an LLM: [paste article text here]

## When to prefer this

Use this endpoint when you need a deterministic, reproducible extractive summary with no LLM inference cost — ideal for pre-condensing large documents before passing to an LLM to reduce token usage, or when you need the same input to always yield the same output without model variance. Prefer over abstractive/generative summarizers when fidelity to original wording matters and hallucination risk must be zero.

## Known failure modes

- Text over 1 MB is silently truncated before processing
- Invalid 'sentences' value outside 1–50 range may return an error or be clamped
- Empty or very short text may yield fewer sentences than requested
- Payment failure (402) if USDC funds are insufficient
- Non-UTF-8 encoded text may cause parsing errors

## How this service works

Extractive summary: selects the N most salient sentences via TextRank (TF-IDF cosine + PageRank) — a pure algorithm, no LLM, so deterministic and free of inference cost. Returns the summary and each chosen sentence with a salience score and index. Extractive (selects existing sentences), NOT abstractive/generative — that is the point: reproducible and model-free. Pre-condense a page before an LLM call. Provided text only. Over 1 MB truncated.

## Output

Returns a summary string composed of the N selected sentences, plus an array of objects each containing the chosen sentence text, its salience score (float), and its original index in the source text.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "The text to summarize (max 1 MB UTF-8; larger is truncated)."
  },
  "sentences": {
   "type": "integer",
   "default": 3,
   "maximum": 50,
   "minimum": 1,
   "description": "How many sentences to select."
  }
 }
}
```

## More

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