# Article Summarizer & Extractor - AI TL;DR, Key Points & Text (`helenisapi/article-summarizer`) Actor

Summarize articles, PDFs and texts into a summary, key points and a one-line TL;DR in 50+ languages, numbers checked against the source. Or extract clean article text. 📰

- **URL**: https://apify.com/helenisapi/article-summarizer.md
- **Developed by:** [Helenis API](https://apify.com/helenisapi) (community)
- **Categories:** AI, News, Developer tools
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $6.00 / 1,000 articles summarized

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## 📰 Article Summarizer & Extractor - AI TL;DR, Key Points & Text

**Read less, know more.** Paste article links, links to PDF or DOCX files, plain texts, or the dataset of a news or RSS scraper, and get for each one a **summary**, its **key points** and a one-line **TL;DR**, in the source's language or in any of **50+ languages**. Web pages are cleaned first (menus, ads and comments removed), long reports and books are read in parallel parts, and every number of the summary is **checked against the source**. Or switch to **extract mode** for the clean article text and Markdown alone, without AI.

No API key: paste your links and hit **Run**.

***

### ⚡ Why this actor?

- 📰 **Links in, articles out:** the main article of each page is extracted (title, byline, date, site, lead image) before the AI reads it.
- 🔢 **Faithful:** only facts from the source, names and figures copied as written, and any number not found in the source flagged in `unverifiedNumbers`.
- 📚 **Long documents:** PDF reports, DOCX, books up to 100,000 words, split and read in parallel (a 61,000-word novel in 22 seconds).
- 🌍 **Any language:** writes in the source's language, or in the one you choose (`fr`, `de`, `ja`, `pt-br`...).
- 🧾 **Your format:** summary + key points + TL;DR, a paragraph, bullet points, key points only or the TL;DR alone; short, medium, long or an exact number of sentences.
- 🧱 **No junk summaries:** paywalls, bot checks and JavaScript-only pages are reported as errors and never charged.
- 🧩 **Chains with scrapers:** summarise the output of a news, RSS or blog scraper by its dataset ID.

***

### 📊 What data do you get?

One row per item:

| Field | Description | Example |
|---|---|---|
| `input` | Your link or the start of your text | `https://paulgraham.com/words.html` |
| `title` | Title of the source | `Putting Ideas into Words` |
| `tldr` | The whole source in one sentence | `Writing is a necessary test that transforms vague...` |
| `summary` | The summary (bullet lines with the bullets format) | `Writing is a rigorous process that reveals...` |
| `keyPoints` | The main points, most important first | `["Writing forces a person to confront the gaps..."]` |
| `language` / `outputLanguage` | Source language / summary language | `en` / `English` |
| `sourceWords` / `summaryWords` | Length of the source and of the summary | `1210` / `162` |
| `minutesSaved` | Reading time saved | `4.8` |
| `unverifiedNumbers` | Numbers of the summary not found in the source | `[]` |
| `url`, `byline`, `published`, `siteName`, `image` | Article metadata (web pages) | `paulgraham.com` |
| `text` / `markdown` | Clean article text (extract mode, or with *Add the article's clean text*) | `February 2022 Writing about something...` |
| `error` | Why an item was skipped | `{"code": "page_paywalled"}` |

***

### 🚀 How to use it

1. Paste your **article or document links**, and/or **texts**, or give the **dataset ID** of a scraper run.
2. Choose the **length**, the **format**, the **language** and an optional **focus** topic.
3. Click **Run**, then export the table (CSV, Excel, JSON).

#### Input example

```json
{
  "urls": ["https://paulgraham.com/words.html"],
  "mode": "summarize",
  "length": "short",
  "format": "all"
}
```

#### Output example

```json
{
  "input": "https://paulgraham.com/words.html",
  "inputType": "url",
  "success": true,
  "error": null,
  "title": "Putting Ideas into Words",
  "tldr": "Writing is a necessary test that transforms vague, incomplete thoughts into precise, fully formed ideas by forcing the author to articulate them clearly for a neutral reader.",
  "summary": "Writing is a rigorous process that reveals the incompleteness and imprecision of one's thoughts. By committing ideas to words and reviewing them from the perspective of a neutral reader, one discovers new insights and refines existing knowledge. This practice is a necessary test for developing fully formed ideas, as internal thoughts often remain vague or flawed until subjected to the discipline of writing.",
  "keyPoints": [
    "Writing forces a person to confront the gaps and inaccuracies in their thinking, often leading to the discovery of new ideas during the process.",
    "Evaluating one's own writing from the perspective of a neutral stranger is a necessary, albeit difficult, step to ensure ideas are clear and complete.",
    "Because writing is a necessary condition for fully formed ideas, those who never write about nontrivial topics likely lack fully developed thoughts."
  ],
  "language": "en",
  "outputLanguage": "English",
  "sourceWords": 1210,
  "summaryWords": 162,
  "minutesSaved": 4.8,
  "unverifiedNumbers": [],
  "url": "https://paulgraham.com/words.html",
  "byline": null,
  "published": null,
  "siteName": "paulgraham.com",
  "image": null,
  "notices": []
}
```

***

### 💰 Pricing

Pay per event, no subscription:

| Event | Price |
|---|---|
| `article-summarized` | $0.006 per summary (source up to 2,000 words) |
| `extra-words` | $0.003 per started 2,000 words beyond, and for the long length |
| `article-extracted` | $0.0008 per article extracted (extract mode or clean text option), no AI |

A typical news article costs **$0.006**, a 6,000-word report **$0.012**, a 60,000-word book **$0.093**. 1,000 article extractions cost **$0.80**. Items that fail (paywall, bot check, unreadable file) are **not charged**.

🆓 **Apify free plan:** the first **5 items** of each run are summarised (extract mode is not limited). Upgrade your Apify plan to summarise whole feeds.

***

### 💡 Use cases

- **News monitoring:** a TL;DR and key points for every article of your feeds, in your team's language
- **Research:** summarise papers, reports and long PDFs, with a focus on what you care about
- **Content curation:** short summaries of the links of your newsletter or social posts
- **RAG and knowledge bases:** clean article Markdown for embeddings, a summary for each card

***

### ❓ FAQ

**Does the summary invent facts?**
It is told to use only the source and to copy names and figures as written, and every number it writes is checked against the source: those not found are listed in `unverifiedNumbers`.

**Which pages cannot be read?**
Pages that need JavaScript to show their text, that sit behind a login or a paywall, or that block automated visitors. They are reported with an error code and not charged: paste their text instead.

**Which files?**
PDF with a text layer (scanned PDFs need an OCR first), DOCX, ODT, TXT, Markdown and HTML, up to 100,000 words.

***

### 🔗 Also available as an API

The same summaries and article extraction are available as a REST API on RapidAPI: **Article Extractor & AI Summarizer - URL, Text, PDF**.

***

### 🤖 Use it from an AI agent

Add this actor to **Claude, ChatGPT, Cursor, VS Code** or any MCP client with one URL (sign in with your Apify account):

```
https://mcp.apify.com?tools=helenisapi/article-summarizer
```

Your agent then calls it as a tool, with the input described above, and pays per event like a normal run. In code: `ApifyActorsTool("helenisapi/article-summarizer")` in LangChain or CrewAI; in **n8n**, **Make** or **Zapier**, use the Apify app and pick this actor.

# Actor input Schema

## `urls` (type: `array`):

Links to summarise, one per item, e.g. \["https://paulgraham.com/words.html", "https://example.com/report.pdf"]. Web pages have their main article extracted (menus, ads and comments left out); direct links to PDF (with a text layer), DOCX, TXT, Markdown or HTML files work too. Required unless `texts` or `datasetId` is set. Duplicates removed, up to 2,000 items per run (Apify free plan: the first 5 are summarised).

## `texts` (type: `array`):

Plain texts to summarise, one per item, up to 100,000 words each, e.g. \["The city council voted on Tuesday to extend the bike lane..."]. Optional: use it instead of, or with, `urls` or `datasetId`. Ignored when `mode` is "extract", which reads links only.

## `datasetId` (type: `string`):

ID of an existing Apify dataset to summarise, e.g. the dataset of a news, RSS or blog scraper run. Each item's link (url, link, articleUrl, loadedUrl, canonicalUrl) is read first, else its text (text, content, body, articleText, markdown, description). Optional: alternative to, or added to, `urls` and `texts`.

## `datasetTextField` (type: `string`):

Name of the dataset field holding the text to summarise, e.g. "content". When set, that field is summarised and the items' links are ignored. Leave empty to read each item's link first, else its first text field. Used only with `datasetId`.

## `mode` (type: `string`):

"summarize" (default): the AI writes a summary, key points and a TL;DR for each item. "extract": no AI, cheapest; returns only each web page's clean article text, Markdown and metadata (title, byline, date, site). Extract mode reads links only: texts are skipped.

## `length` (type: `string`):

"short" (about 60 words, 3 key points), "medium" (default, about 150 words, 5 key points) or "long" (about 350 words, 8 key points; one extra extra-words event). A summary is never longer than a third of its source. Ignored in extract mode.

## `format` (type: `string`):

What to write: "all" (default: summary, key points and TL;DR), "paragraph" (a paragraph + TL;DR), "bullets" (a bullet-point summary + TL;DR), "key_points" (key points + TL;DR) or "tldr" (the one-line TL;DR only). Ignored in extract mode.

## `sentences` (type: `integer`):

Exact number of sentences (or bullets) for the summary, 1-20, e.g. 3. Overrides `length` for the summary itself. Leave empty to follow `length`.

## `language` (type: `string`):

Language to write the summaries in, as an ISO code or an English name, e.g. "en", "fr", "pt-br" or "French" (50+ languages). Leave empty to write each summary in its source's own language.

## `focus` (type: `string`):

A topic to give more room to in the summary, up to 200 characters, e.g. "pricing and costs". The summary stays faithful to the whole source. Leave empty for a balanced summary.

## `includeText` (type: `boolean`):

When true, also adds each web page's clean text and Markdown to its summary row (one article-extracted event per page). Default false. No effect on plain texts or in extract mode, which always returns the text.

## `maxConcurrency` (type: `integer`):

How many items are processed at the same time, 1-10. Default 5. Only changes the speed, not the results.

## Actor input object example

```json
{
  "urls": [
    "https://paulgraham.com/words.html"
  ],
  "mode": "summarize",
  "length": "medium",
  "format": "all",
  "includeText": false,
  "maxConcurrency": 5
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "urls": [
        "https://paulgraham.com/words.html"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("helenisapi/article-summarizer").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "urls": ["https://paulgraham.com/words.html"] }

# Run the Actor and wait for it to finish
run = client.actor("helenisapi/article-summarizer").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "urls": [
    "https://paulgraham.com/words.html"
  ]
}' |
apify call helenisapi/article-summarizer --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,helenisapi/article-summarizer"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/2gXO9QYkoOJlw6suu/builds/gxZB2BTziKg5lIZtM/openapi.json
