# Article Extractor: Clean Text & Markdown from Any URL (Bulk) (`globose_talent_mn9/article-extractor`) Actor

Extract the main article from news, blog and docs URLs in bulk: clean text, Markdown, title, author, publish date, image, word count and reading time. Mozilla Readability. Ready for LLM/RAG. $0.50 per 1,000 articles.

- **URL**: https://apify.com/globose_talent_mn9/article-extractor.md
- **Developed by:** [Andrew Shamah](https://apify.com/globose_talent_mn9) (community)
- **Categories:** AI, Developer tools, Automation
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 article extracteds

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/running/actors-in-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 Extractor: clean text & Markdown from any article URL

Turn news articles, blog posts and documentation pages into **clean text and Markdown** with title, author, publish date, lead image, language, word count and reading time. Paste thousands of URLs and get structured JSON, CSV or Excel back. Powered by **Mozilla Readability** (the engine behind Firefox Reader View), enriched with JSON-LD, Open Graph and article meta tags.

**$0.50 per 1,000 articles.** You only pay for pages where an article was actually extracted. Failed requests, blocked pages and non-article pages are free.

### Use cases

- **LLM / RAG ingestion**: feed clean Markdown into vector databases, ChatGPT, Claude or LangChain without menus, ads and cookie banners.
- **News monitoring & media analysis**: collect headline, author, date and full text from a list of article links (e.g. from the RSS Feed Reader or Sitemap URLs Actor).
- **Content research & SEO**: word counts, reading time, keywords and sections of competitor posts.
- **Archiving and summarization pipelines**.

### Input

| Field | Description |
|---|---|
| `articleUrls` | List of article URLs (required) |
| `includeMarkdown` | Markdown body (default on) |
| `includeHtml` | Cleaned article HTML (default off) |
| `includeLinks` | Links inside the article body (default off) |
| `minWords` | Minimum words to count as an article (default 50) |
| `maxArticles`, `concurrency` | Limits |

```json
{ "articleUrls": ["https://en.wikipedia.org/wiki/Web_scraping", "https://blog.apify.com/what-is-web-scraping/"] }
```

### Output (one item per URL)

```json
{
  "url": "https://blog.apify.com/what-is-web-scraping/",
  "found": true,
  "title": "What is web scraping?",
  "author": "David Barton",
  "siteName": "Apify Blog",
  "published": "2024-10-15T14:32:00.000Z",
  "lang": "en",
  "excerpt": "...",
  "wordCount": 1358,
  "readingTimeMinutes": 6,
  "text": "Web scraping is the process of ...",
  "markdown": "Web scraping is the process of ...\n\n## How does it work?...",
  "image": "https://blog.apify.com/....png",
  "images": ["..."],
  "keywords": ["..."],
  "canonical": "...",
  "error": null
}
```

A `SUMMARY` record in the key-value store has counts of extracted, non-article and failed URLs.

### Pricing

Pay per event: **$0.0005 per extracted article** + $0.00005 per run start. Set a maximum cost per run and the Actor stops when it is reached.

### Limits & notes

- Works on server-rendered HTML (most news sites, blogs, docs, Wikipedia). Pages that render content only with JavaScript, or sit behind paywalls/logins or bot protection, return `found: false` free of charge.
- No proxies, no logins. Respect each site's terms of service and copyright when reusing content.
- Only public pages you supply are fetched; no crawling.

### Related Actors

#### Documents suite

- [PDF Text Extractor](https://apify.com/globose_talent_mn9/pdf-text-extractor)
- [Scanned PDF & Image OCR](https://apify.com/globose_talent_mn9/pdf-image-ocr)
- [URL & HTML to PDF Converter](https://apify.com/globose_talent_mn9/url-to-pdf)

#### SEO & web suite

- [SEO Audit Crawler](https://apify.com/globose_talent_mn9/seo-audit-crawler)
- [Broken Link Checker](https://apify.com/globose_talent_mn9/broken-link-checker)
- [Sitemap URL Extractor](https://apify.com/globose_talent_mn9/sitemap-urls)
- [Bulk Redirect Checker](https://apify.com/globose_talent_mn9/redirect-checker)
- [Website Metadata / Open Graph Extractor](https://apify.com/globose_talent_mn9/website-metadata-extractor)
- [Website Screenshot](https://apify.com/globose_talent_mn9/website-screenshot)
- [Website Image Extractor](https://apify.com/globose_talent_mn9/website-image-extractor)
- [SSL Certificate Checker](https://apify.com/globose_talent_mn9/ssl-certificate-checker)
- [Subdomain Finder](https://apify.com/globose_talent_mn9/subdomain-finder)
- [DNS & Email Security Checker (SPF/DKIM/DMARC)](https://apify.com/globose_talent_mn9/dns-email-security-checker)
- [WHOIS Domain Lookup](https://apify.com/globose_talent_mn9/whois-domain-lookup)
- [Domain Availability Checker](https://apify.com/globose_talent_mn9/domain-availability-rdap)
- [Tech Stack Detector](https://apify.com/globose_talent_mn9/tech-stack-detector)

#### Jobs suite

- [Greenhouse Jobs API](https://apify.com/globose_talent_mn9/greenhouse-jobs-api)
- [Lever Jobs API](https://apify.com/globose_talent_mn9/lever-jobs-api)
- [Ashby Jobs API](https://apify.com/globose_talent_mn9/ashby-jobs-api)
- [Workday Jobs API](https://apify.com/globose_talent_mn9/workday-jobs-api)
- [Company Jobs API (10 ATS)](https://apify.com/globose_talent_mn9/ats-jobs-api)
- [Remote Jobs Aggregator](https://apify.com/globose_talent_mn9/remote-jobs-aggregator)

#### Also by us

- [Wayback Machine Snapshots](https://apify.com/globose_talent_mn9/wayback-machine-snapshots)
- [RSS Feed Reader](https://apify.com/globose_talent_mn9/rss-feed-reader)
- [Website Contact Details Scraper](https://apify.com/globose_talent_mn9/website-contact-details-scraper)

# Actor input Schema

## `articleUrls` (type: `array`):

News, blog or documentation page URLs, one per line. Redirects are followed.

## `includeMarkdown` (type: `boolean`):

Return the article body as clean Markdown (headings, lists, links, images kept).

## `includeHtml` (type: `boolean`):

Also return the cleaned article HTML.

## `includeLinks` (type: `boolean`):

Return the unique links found inside the article body.

## `minWords` (type: `integer`):

Pages with fewer words in the main content are returned as 'not an article' and are not charged.

## `maxArticles` (type: `integer`):

Stop after this many URLs. 0 = no limit.

## `concurrency` (type: `integer`):

How many pages to fetch at once (1-20).

## Actor input object example

```json
{
  "articleUrls": [
    "https://en.wikipedia.org/wiki/Web_scraping",
    "https://blog.apify.com/what-is-web-scraping/"
  ],
  "includeMarkdown": true,
  "includeHtml": false,
  "includeLinks": false,
  "minWords": 50,
  "maxArticles": 0,
  "concurrency": 5
}
```

# Actor output Schema

## `overview` (type: `string`):

All extracted articles (overview table view).

## `summary` (type: `string`):

Counts of extracted, non-article and failed URLs.

# 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 = {
    "articleUrls": [
        "https://en.wikipedia.org/wiki/Web_scraping",
        "https://blog.apify.com/what-is-web-scraping/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("globose_talent_mn9/article-extractor").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 = { "articleUrls": [
        "https://en.wikipedia.org/wiki/Web_scraping",
        "https://blog.apify.com/what-is-web-scraping/",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("globose_talent_mn9/article-extractor").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 '{
  "articleUrls": [
    "https://en.wikipedia.org/wiki/Web_scraping",
    "https://blog.apify.com/what-is-web-scraping/"
  ]
}' |
apify call globose_talent_mn9/article-extractor --silent --output-dataset

```

## MCP server setup

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

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/e45E5Z26zKgPTYVTD/builds/cKOO8p3P7OBNr2H2x/openapi.json
