Documents & media
Documents & media · AI-assisted
Article Extractor & AI Summarizer API
Summarize URLs, PDFs and text: summary, key points and TL;DR in any language; article extractor.
Base URLhttps://article-extractor-ai-summarizer-url-text-pdf.p.rapidapi.com/v1/summarizeropenapi.json
- Free plan
- 40 credits a day
- Paid plans
- from $4.99 a month
- One credit
- Summary 20 credits up to 2,000 words, +10 per 2,000 words beyond, +10 for long; article extraction 1.
- Endpoints
- 3, on
/v1/summarizer
Example call
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"
}'
import requests
url = "https://article-extractor-ai-summarizer-url-text-pdf.p.rapidapi.com/v1/summarizer/summarize"
payload = {
"url": "https://paulgraham.com/words.html",
"length": "short"
}
headers = {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "article-extractor-ai-summarizer-url-text-pdf.p.rapidapi.com",
}
r = requests.post(url, json=payload, headers=headers)
print(r.json())
const res = await fetch("https://article-extractor-ai-summarizer-url-text-pdf.p.rapidapi.com/v1/summarizer/summarize", {
method: "POST",
headers: {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "article-extractor-ai-summarizer-url-text-pdf.p.rapidapi.com",
"Content-Type": "application/json",
},
body: JSON.stringify({
"url": "https://paulgraham.com/words.html",
"length": "short"
}),
});
console.log(await res.json());
{
"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
}
Summarize Text or URL: POST /v1/summarizer/summarize. A real call and its real response.
What the Article Extractor & AI Summarizer API returns
Reading everything is not an option; trusting a summary that invents facts is worse. Send an article URL, a PDF, DOCX or text file, or raw text, and get a summary, the key points and a one-line TL;DR, in the source's language or any of 50+ others. Web pages are cleaned first (menus, ads, cookie banners and comments removed), long reports and books are read in parallel parts, and every number of the summary is checked against the source. About $0.006 per summary on PRO, 5x cheaper than the most-subscribed summarizer on RapidAPI.
- URL in, article out
- The main article is extracted before the AI reads it, with its title, byline, date, site name and lead image
- Your format
- Paragraph, bullet points, key points or TL;DR only;
short,medium,longor an exact number ofsentences - Faithful by design
- Only facts from the source, names and figures copied as written, and any number not found in the source listed in
unverified_numbers - Long sources
- PDF reports, DOCX, TXT, Markdown, HTML, books up to 100,000 words, split and read in parallel (a 61,000-word novel in 22 seconds)
- Any language
- Detects the source's language; writes in it or in the
languageyou ask for (fr,de,ja,pt-br...) - Focus
- An optional topic (
"pricing and costs") gets more room, without inventing anything about it - Article extractor, no AI
- Clean text and Markdown of any page with its metadata, word count and reading time, for 1 credit
Endpoints
Host article-extractor-ai-summarizer-url-text-pdf.p.rapidapi.com, header X-RapidAPI-Key. Parameters and examples for each one are in the API reference.
Summarization
Text, URL or file to a summary, key points and TL;DR, by AI.
-
POST
/v1/summarizer/summarizeText or URL (article, PDF, DOCX) to a summary, key points and TL;DR -
POST
/v1/summarizer/summarize/uploadUploaded PDF, DOCX, TXT, Markdown or HTML file to a summary
Article Extraction
Clean article text, Markdown and metadata from a URL. No AI.
Use cases
- News and media monitoring. A TL;DR and key points for every article of your feeds, in your team's language
- Research and reading apps. "summarize this page" buttons, reading-time saved, highlights
- Knowledge bases and RAG. Clean article Markdown for embeddings, a summary for the index card
- Reports and contracts. A long PDF or DOCX into a one-page brief, with a
focuson what you care about - Newsletters and social posts. Short summaries of the links you curate, in several languages
Tutorial
Documents & media
Pricing
Summary 20 credits up to 2,000 words, +10 per 2,000 words beyond, +10 for long; article extraction 1. Failed calls are never billed.
| Plan | Price | Credits included | Above the quota |
|---|---|---|---|
| BASIC | Free | 40 / day | resets every day |
| PRO | $4.99/mo | 16,000 / month | $0.0035 per credit |
| ULTRA | $14.99/mo | 48,000 / month | $0.0035 per credit |
| MEGA | $49.99/mo | 160,000 / month | $0.0035 per credit |
Subscribe on RapidAPI (opens in a new tab)
No code: the Apify actor
The Article Summarizer & Extractor - AI TL;DR, Key Points & Text actor runs the same engine on a list of inputs and exports a table (JSON, CSV, Excel, Google Sheets). It is billed per result; free-plan users get 5 summaries per run (extraction unlimited).
| Event | Charged for | Price |
|---|---|---|
article-summarized | Each summary (source up to 2,000 words) | $0.006 |
extra-words | Each 2,000 words beyond, and the long option | $0.003 |
article-extracted | Each article extracted, no AI | $0.0008 |
Questions about the Article Extractor & AI Summarizer API
How do I know the summary does not invent things?
unverified_numbers. In our battery of 41 real pages (news in English, French, German, Spanish, Italian, Portuguese and Japanese, blogs, Wikipedia, arXiv and IPCC PDFs, a novel, prompt-injection texts), no number was flagged and spot-checked names and figures matched the sources.Which pages cannot be read?
text instead.How long can the source be?
text, more through /summarize/upload. Credits grow with the length so that a book pays for what it reads: 20 credits up to 2,000 words, then 10 per started 2,000 words.Which languages?
pt-br, zh-tw included).Can I send my own prompt?
focus takes a topic of up to 200 characters, used as a hint only.





