Helenis API
Start for free

API reference

Article Extractor & AI Summarizer API

Summarize URLs, PDFs and text: summary, key points and TL;DR in any language; article extractor.

Host
article-extractor-ai-summarizer-url-text-pdf.p.rapidapi.com
Base path
/v1/summarizer
Auth
X-RapidAPI-Key, X-RapidAPI-Host
For agents
openapi.json · summarizer.md

Summarization

Text, URL or file to a summary, key points and TL;DR, by AI.

Summarize Text or URL

POST /v1/summarizer/summarize

Text or URL (article, PDF, DOCX) to a summary, key points and TL;DR. Summarize a `text` or a `url` (web article, PDF, DOCX, TXT, Markdown, HTML) into a summary, key points and TL;DR, using only facts from the source. Up to 100,000 words. 20 credits up to 2,000 words, +10 per started 2,000 words beyond, +10 for `long`.

Parameters of Summarize Text or URL
ParameterInTypeDescription
text body string The text to summarise (up to 50,000 characters; upload a file for longer texts). Send `text` or `url`.
url body string A web page (its main article is extracted first) or a direct link to a PDF, DOCX, TXT, Markdown or HTML file.
length body "short" | "medium" | "long" `short` (about 60 words and 3 key points), `medium` (about 150 words and 5 key points) or `long` (about 350 words and 8 key points). Never longer than a third of the source. Default medium.
sentences body integer Exact number of sentences (or bullets) of the summary, 1-20. Overrides `length` for the summary itself.
format body "all" | "paragraph" | "bullets" | "key_points" | "tldr" `all` (summary paragraph, key points and TL;DR), `paragraph` (summary and TL;DR), `bullets` (the summary as bullet points, and TL;DR), `key_points` (key points and TL;DR) or `tldr` (the one-line TL;DR only). Default all.
language body string Language of the summary: an ISO 639-1 code (`en`, `fr`, `de`, `es`, `ja`, `zh`, `pt-br`...) or an English name (`French`). Default: the source's language.
focus body string Optional topic to give more room to, e.g. 'pricing and costs' (200 characters max). A hint only: the summary stays faithful to the whole source.
curl -X POST "https://article-extractor-ai-summarizer-url-text-pdf.p.rapidapi.com/v1/summarizer/summarize" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: article-extractor-ai-summarizer-url-text-pdf.p.rapidapi.com" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://paulgraham.com/words.html",
    "length": "short"
  }'

Summarize File

POST /v1/summarizer/summarize/upload

Uploaded PDF, DOCX, TXT, Markdown or HTML file to a summary. Same as /summarize, for a file sent as multipart/form-data (field `file`) with the same options: reports, papers, contracts, books and long texts (JSON bodies are capped at 64 KB). Scanned PDFs have no text to read: run them through our PDF to Text API first. Same credits.

Parameters of Summarize File
ParameterInTypeDescription
file required form file PDF with a text layer, DOCX, ODT, TXT, Markdown or HTML, up to 30 MB and 100,000 words.
length form "short" | "medium" | "long" `short` (about 60 words and 3 key points), `medium` (about 150 words and 5 key points) or `long` (about 350 words and 8 key points). Never longer than a third of the source. Default medium.
sentences form integer Exact number of sentences (or bullets) of the summary, 1-20. Overrides `length` for the summary itself.
format form "all" | "paragraph" | "bullets" | "key_points" | "tldr" `all` (summary paragraph, key points and TL;DR), `paragraph` (summary and TL;DR), `bullets` (the summary as bullet points, and TL;DR), `key_points` (key points and TL;DR) or `tldr` (the one-line TL;DR only). Default all.
language form string Language of the summary: an ISO 639-1 code (`en`, `fr`, `de`, `es`, `ja`, `zh`, `pt-br`...) or an English name (`French`). Default: the source's language.
focus form string Optional topic to give more room to, e.g. 'pricing and costs' (200 characters max). A hint only: the summary stays faithful to the whole source.
curl -X POST "https://article-extractor-ai-summarizer-url-text-pdf.p.rapidapi.com/v1/summarizer/summarize/upload" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: article-extractor-ai-summarizer-url-text-pdf.p.rapidapi.com" \
  -F "file=@./my-file"

Article Extraction

Clean article text, Markdown and metadata from a URL. No AI.

Extract Article

GET /v1/summarizer/extract

URL to the article's clean text, Markdown and metadata, no AI. Extract the main article of a web page without menus, ads or comments, no AI: title, byline, date, site, lead image, language, plain text and Markdown, word count. Pages that need JavaScript, a login or a subscription get 400 `page_empty` / `page_paywalled` (not billed). 1 credit.

Parameters of Extract Article
ParameterInTypeDescription
url required query string The web page of an article, blog post or any page.
curl -G "https://article-extractor-ai-summarizer-url-text-pdf.p.rapidapi.com/v1/summarizer/extract" \
  --data-urlencode "url=https://en.wikipedia.org/wiki/Okapi" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: article-extractor-ai-summarizer-url-text-pdf.p.rapidapi.com"

Response

{
  "title": "Putting Ideas into Words",
  "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.",
  "key_points": [
    "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."
  ],
  "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.",
  "language": "en",
  "output_language": "English",
  "source_words": 1210,
  "summary_words": 162,
  "reading_time": { "source_minutes": 5.1, "summary_minutes": 0.3, "saved_minutes": 4.8 },
  "chunks": 1,
  "unverified_numbers": [],
  "source": { "type": "url", "file_type": "html", "name": "https://paulgraham.com/words.html" },
  "article": {
    "url": "https://paulgraham.com/words.html",
    "final_url": "https://paulgraham.com/words.html",
    "title": "Putting Ideas into Words",
    "site_name": "paulgraham.com"
  },
  "notices": [],
  "credits": 20
}

From a real response. With "format": "bullets" the summary is Markdown bullet lines (- ...); with "language": "ja" everything is written in Japanese while language still tells you the source was English.

Why developers pick this API

  • 💸 Cheap at scale: 20 credits per summary of up to 2,000 words ($0.0062 on PRO, $0.0062 on MEGA), article extraction $0.0003. Failed calls, paywalls and bot walls use 0 credits.
  • ✅ It works: the most-subscribed article summarizer on RapidAPI answered 16% of its calls successfully on 27 Nov 2026 and charges $0.03 a summary.
  • 🔢 Numbers you can check: figures are compared with the source; over 30 summaries of real sources (news, blogs, Wikipedia, PDF reports, a novel) in 7 languages, 0 were flagged and spot-checked names and figures all matched.
  • 🛡️ Prompt-injection safe: text in the page telling "the AI" what to do is summarized as content, never obeyed; the focus field is a topic, not a prompt.
  • 🧱 Honest failures: a paywall teaser, a bot check or a JavaScript-only page answers a clear 400 (page_paywalled, page_blocked, page_empty) instead of a summary of a login screen.
Price per summary Article text Success rate (RapidAPI, 27 Nov 2026)
This API $0.0062 (2,000 words) $0.0003, with Markdown and metadata measured on 41 real pages, see FAQ
Most-subscribed summarizer (11,800 subscribers) $0.03 included 16%
Healthy AI summarizer (2 k calls for $15) $0.0075 included 100%
Popular TL;DR API $0.01 no 0%
Text summarizers on marketplaces $0.012 to $0.025 no text only

Files and long documents

curl -X POST "https://article-extractor-ai-summarizer-url-text-pdf.p.rapidapi.com/v1/summarizer/summarize/upload" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: article-extractor-ai-summarizer-url-text-pdf.p.rapidapi.com" \
  -F "file=@annual-report.pdf" -F "length=long" -F "focus=risks and outlook"

PDF (with a text layer), DOCX, ODT, TXT, Markdown or HTML, up to 30 MB and 100,000 words. Sources over 12,000 words are split into parts read in parallel, then summarized as a whole (chunks tells you how many). In our tests: the IPCC synthesis report (22,573 words, 40 PDF pages) in 18 to 58 s, the French Wikipedia page on the French Revolution (26,124 words) in 9 s, The War of the Worlds (61,031 words) in 22 s.

Article extraction (no AI)

curl "https://article-extractor-ai-summarizer-url-text-pdf.p.rapidapi.com/v1/summarizer/extract?url=https://paulgraham.com/words.html" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" -H "X-RapidAPI-Host: article-extractor-ai-summarizer-url-text-pdf.p.rapidapi.com"
{
  "url": "https://paulgraham.com/words.html",
  "final_url": "https://paulgraham.com/words.html",
  "title": "Putting Ideas into Words",
  "site_name": "paulgraham.com",
  "text": "February 2022 Writing about something, even something you know well, usually shows you that you didn't know it as well as you thought. Putting ideas into words is a severe test. ...",
  "markdown": "February 2022 Writing about something, even something you know well, usually shows you that you didn't know it as well as you thought. ...",
  "word_count": 1210,
  "reading_time_minutes": 5.1,
  "truncated": false
}

From a real response, text shortened. News pages also return byline (as written on the page), published (YYYY-MM-DD), description, image, language and page_type. Headings, lists and tables are kept in markdown, ready for a RAG pipeline or an LLM prompt.

Errors

Status code Meaning
400 missing_input Send either text or url.
400 text_too_short / input_too_long Under 25 words, or over 100,000 words (split it).
400 page_paywalled Only a subscriber teaser is readable: send the text instead. Not billed.
400 page_blocked The site showed a bot check or a "JavaScript required" page. Not billed.
400 page_empty No readable article text (JavaScript-only page). Not billed.
400 scanned_pdf The PDF has no text layer: run it through an OCR first.
400 unsupported_file Not PDF, DOCX, ODT, TXT, Markdown or HTML (images, .doc, RTF).
400 site_unreachable / site_blocked The site did not answer, or refused automated access.
400 invalid_language Use an ISO 639-1 code or an English language name.
400 plan_limit The free BASIC plan reads up to 2,000 words per call.
429 daily_limit_reached Daily safety limit of your plan; resets at 00:00 UTC.
503 ai_error / upstream_timeout The AI did not answer in time; retry. Not billed.

Honest limits

  • Scanned PDFs have no text to read: OCR them first (our PDF to Text API does it).
  • Pages that need JavaScript, a login or a subscription are refused (400, not billed), not guessed.
  • Home pages and product pages are summarized as what they are: a list of headlines or a product pitch.
  • Bylines and dates are read from the page's own metadata; some sites publish none.
  • Numbers check: a figure the summary derives (a percentage computed from two numbers) is flagged even when correct; that is the point, so you can look.

Use it from an AI agent

Add this MCP server and the Article Summarizer & Extractor - AI TL;DR, Key Points & Text actor becomes a tool your agent can call. Works in Claude, Cursor, VS Code and any MCP client; billed per event through Apify.

MCP server URL
https://mcp.apify.com?tools=helenisapi/article-summarizer

Prefer plain HTTP? Give your agent the OpenAPI document or the Markdown reference.

See the plans Error handling