# Article Analyser: Extract Full Text from URLs (`bite-sized-insights/bulk-news-article-extractor`) Actor

Extract full article content from news URLs: title, authors, publish date, text, language and main image. Optional add-ons for sentiment, tags, summary, 5W1H, language detection and text repair. Export as JSON, CSV or Excel.

- **URL**: https://apify.com/bite-sized-insights/bulk-news-article-extractor.md
- **Developed by:** [bite-sized-insights](https://apify.com/bite-sized-insights) (community)
- **Categories:** News, AI, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

**Extract full-text articles from any URL.** Provide a list of article URLs and get back structured data including title, full text, authors, publish date, and more.

No login required. No API keys to manage. Just provide your URLs and start extracting.

### What It Does

Article Analyse takes a list of article URLs and extracts structured content from each one:

- **Title** and **description**
- **Full article text**
- **Authors** and **publish date**
- **Language** detection
- **Main image URL**

### Why Not Just Google News?

Google News never gives you the article itself — just a snippet and a link, leaving the full text, authors, publish date, and images for you to fetch from each site individually. If you already have a list of URLs — from your own source list, a discovery run, anywhere — Article Analyse is the piece that turns them into structured data: full text plus metadata, in one call, which no generic news-search tool provides.

### Quick Start

#### Extract a Few Articles

```json
{
  "urls": [
    "https://www.bbc.co.uk/news/articles/cqg7x7dpvym8o",
    "https://www.theguardian.com/world/2026/nov/08/egypt-two-trains-deadly-collision"
  ]
}
```

#### Larger Batch

Add as many URLs as you need, up to 1,000 per run:

```json
{
  "urls": [
    "https://www.bbc.co.uk/news/articles/cqg7x7dpvym8o",
    "https://www.theguardian.com/world/2026/nov/08/egypt-two-trains-deadly-collision",
    "https://www.example.com/news/article-3"
  ],
  "with_language_detection": true
}
```

### Input Parameters

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `urls` | string\[] | Yes | — | List of article URLs to extract content from (`http://` or `https://` only, up to 2048 characters each, no credentials, no localhost or private/internal hosts; 1 to 1000 URLs) |
| `with_sentiment` | boolean | No | `false` | Add a sentiment score to each article (positive/negative/neutral + confidence) |
| `with_tags` | boolean | No | `false` | Add LLM-generated category tags to each article |
| `with_summary` | boolean | No | `false` | Add an LLM-generated compact summary to each article |
| `with_5w1h` | boolean | No | `false` | Add Who/What/When/Where/Why/How extraction. Requires ≥50 characters of article text |
| `with_language_detection` | boolean | No | `false` | Detect the language of each article's text (`detected_language`; the extracted `language` field is left as is) |
| `with_fix_text` | boolean | No | `false` | Repair broken text encoding (mojibake). The repaired text is returned as `fixed_text`; `text` is left as is, and other add-ons analyse the repaired text. Charged only for articles whose text was repaired |

### Output Example

Each article is returned as a structured object with full text and metadata:

```json
{
  "url": "https://www.bbc.co.uk/news/articles/cqg7x7dpvym8o",
  "title": "Example article headline",
  "authors": ["Author Name"],
  "date_publish": "2026-02-15T10:30:00",
  "description": "Brief summary of the article content.",
  "text": "Full article text extracted from the page...",
  "language": "en",
  "image_url": "https://www.bbc.com/image.jpg",
  "type": "article",
  "sentiment": null,
  "tags": null,
  "summary": null,
  "five_w1h": null,
  "detected_language": null,
  "fixed_text": null,
  "error": null
}
```

#### Output Fields

| Field | Type | Description |
|-------|------|-------------|
| `url` | string | Article URL |
| `title` | string | Article headline |
| `authors` | array | List of author names |
| `date_publish` | string | Publication date (ISO 8601) |
| `description` | string | Article summary / meta description |
| `text` | string | Full article text |
| `language` | string | Language code (e.g., `en`, `ar`, `fr`) |
| `image_url` | string | URL of the main article image |
| `type` | string | Page type: `article`, `video` or `audio` (`null` for a URL that failed). Video and audio pages have little or no text - filter on `type` to keep articles only |
| `sentiment` | object | Sentiment result — `null` unless `with_sentiment` was requested and succeeded |
| `tags` | object | Tag extraction result — `null` unless `with_tags` was requested and succeeded |
| `summary` | object | Summary result — `null` unless `with_summary` was requested and succeeded |
| `five_w1h` | object | 5W1H extraction result — `null` unless `with_5w1h` was requested and succeeded |
| `detected_language` | object | Language detection result (`language`, `confidence`, ...) — `null` unless `with_language_detection` was requested and succeeded |
| `fixed_text` | object | Text-fix result (`fixed_text`, `changed`, `method`) — `null` unless `with_fix_text` was requested and succeeded |
| `error` | string | Error message, or `null` if successful |

Note: the news collector actors name the same fields `article_title` and `article_description` and add `source_domain`; this actor uses `title` and `description`.

#### Enrichment Add-ons

Turn on any of `with_sentiment`, `with_tags`, `with_summary`, `with_5w1h`, `with_language_detection`, `with_fix_text` to enrich each successfully-extracted article. These are optional, opt-in, and priced per successfully-enriched article (see Pricing below) — a failed or too-short article for a given add-on simply ships with that field `null`, uncharged. If enrichment itself is temporarily unavailable, extraction still succeeds; only the enrichment fields come back empty.

#### Failed Articles

Articles that can't be extracted (paywall, timeout, etc.) are returned with an error:

```json
{
  "url": "https://example.com/article",
  "title": null,
  "authors": null,
  "date_publish": null,
  "description": null,
  "text": null,
  "language": null,
  "image_url": null,
  "type": null,
  "sentiment": null,
  "tags": null,
  "summary": null,
  "five_w1h": null,
  "detected_language": null,
  "fixed_text": null,
  "error": "Failed to download article"
}
```

### Pricing: Pay As You Go

This actor uses Apify's pay-per-event billing model.

| Event | Cost | Description |
|-------|------|-------------|
| Actor start | $0.0002 | Charged once per run |
| Analyse | $0.99 / 1,000 articles | Charged per successfully extracted article |
| Sentiment add-on | $0.20 / 1,000 articles | Optional, only charged when `with_sentiment` succeeds |
| Tags add-on | $1.50 / 1,000 articles | Optional, only charged when `with_tags` succeeds |
| Summary add-on | $2.50 / 1,000 articles | Optional, only charged when `with_summary` succeeds |
| 5W1H add-on | $4.00 / 1,000 articles | Optional, only charged when `with_5w1h` succeeds |
| Language detection add-on | $0.10 / 1,000 articles | Optional, only charged when `with_language_detection` succeeds |
| Fix text add-on | $1.25 / 1,000 articles | Optional, only charged for articles whose text was repaired (`changed` is `true`) |

**Key billing details:**

- **Only successful extractions are charged:** Failed articles are free
- **Enrichment add-ons are opt-in and charged separately:** each `with_*` add-on is only billed for articles it successfully enriched — skipped (too-short) or failed items are free
- **Free plan:** 5 free runs per account, each limited to 10 articles; paid plans are not limited
- **No minimum commitment:** Pay only for what you use
- **Budget controls:** Set spending limits in your Apify account
- **Discounts available:** prices are tiered by Apify subscription (Free = listed price, Bronze 5% off, Silver 15% off, Gold and above 35% off)

### Use Cases

- **Content extraction:** Pull full article text for NLP, summarization, or translation pipelines
- **News archiving:** Extract and store complete articles for historical reference
- **Media monitoring:** Get structured article data from URLs discovered by monitoring tools
- **Research:** Build text corpora from specific article URLs for academic or market analysis
- **Data enrichment:** Enrich URL lists with full metadata (authors, dates, language)

### Pair with Article Discovery

Use the **Article Discovery** actor to find URLs, then feed them into Article Analyse for full extraction:

1. Run Article Discovery with your domains/feeds
2. Export the URL list from the dataset
3. Pass the URLs to Article Analyse

### Technical Details

#### How It Works

1. **Input:** The actor receives a list of article URLs
2. **Extraction:** Each URL is downloaded and parsed to extract structured content (title, text, authors, date, etc.)
3. **Output:** Results are pushed to your Apify dataset

#### Performance

- **Batch processing:** URLs are sent to the extraction API in batches of up to 100 (`MAX_URLS_PER_REQUEST`); large runs are split into multiple sequential requests
- **Fault tolerance:** If individual articles fail, others are still returned
- **Memory:** 256-1024 MB per run

#### Error Handling

| Error Type | Behavior |
|------------|----------|
| Article download failed | Returned with error message |
| Paywall detected | Returned with error message |
| Rate limit (429) | Automatic retry with exponential backoff |
| Server error (5xx) | Automatic retry (3 attempts) |

### Data Export

Results can be exported in multiple formats:

- **JSON** - Full structured data
- **CSV** - Flattened for spreadsheets
- **Excel** - Direct .xlsx download
- **XML** - For legacy system integration

```bash
## JSON
curl "https://api.apify.com/v2/datasets/DATASET_ID/items?format=json&token=YOUR_TOKEN"

## CSV
curl "https://api.apify.com/v2/datasets/DATASET_ID/items?format=csv&token=YOUR_TOKEN"
```

### FAQ

#### How many URLs can I analyse in one run?

A single run accepts 1 to 1,000 URLs. For more, split them across several runs.

#### What languages are supported?

The extraction works on articles in any language. The `language` field is the language the extractor reports for the article; enable `with_language_detection` to get a `detected_language` field as well.

#### What happens if an article is behind a paywall?

The actor does not bypass paywalls. Paywalled articles will be returned with an error message and will not be charged.

#### Can I get just the URLs without full content?

Use the **Article Discovery** actor instead — it returns article URLs without extracting content, which is faster and cheaper.

### Disclaimer

This actor extracts content from publicly available web pages. It does not bypass paywalls, authentication, or access restrictions. Use the data in compliance with applicable laws and the terms of service of the respective websites.

***

**Need help?** Open an issue on the actor's repository or contact support through Apify Console.

# Actor input Schema

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

List of article URLs to extract content from (http/https only, 1 to 1000 URLs).

## `with_sentiment` (type: `boolean`):

Add a sentiment score to each extracted article (positive/negative/neutral + confidence). $0.20 / 1,000 articles.

## `with_tags` (type: `boolean`):

Add LLM-generated category tags to each extracted article. $1.50 / 1,000 articles.

## `with_summary` (type: `boolean`):

Add an LLM-generated compact summary to each extracted article. $2.50 / 1,000 articles.

## `with_5w1h` (type: `boolean`):

Add Who/What/When/Where/Why/How extraction to each extracted article. Requires at least 50 characters of article text. $4.00 / 1,000 articles.

## `with_language_detection` (type: `boolean`):

Detect the language of each extracted article's text (added as detected_language, the extracted language field is left as is). $0.10 / 1,000 articles.

## `with_fix_text` (type: `boolean`):

Repair broken text encoding (mojibake) in each extracted article. The repaired text is added as fixed_text, the original text is left as is; other add-ons analyse the repaired text. $1.25 / 1,000 articles, charged only for articles whose text was repaired.

## Actor input object example

```json
{
  "urls": [
    "https://www.bbc.co.uk/news/articles/cqg7x7dpvym8o",
    "https://www.theguardian.com/world/2026/nov/08/egypt-two-trains-deadly-collision"
  ],
  "with_sentiment": false,
  "with_tags": false,
  "with_summary": false,
  "with_5w1h": false,
  "with_language_detection": false,
  "with_fix_text": false
}
```

# Actor output Schema

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

Extracted article content from 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 = {
    "urls": [
        "https://www.bbc.co.uk/news/articles/cqg7x7dpvym8o",
        "https://www.theguardian.com/world/2026/nov/08/egypt-two-trains-deadly-collision"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("bite-sized-insights/bulk-news-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 = { "urls": [
        "https://www.bbc.co.uk/news/articles/cqg7x7dpvym8o",
        "https://www.theguardian.com/world/2026/nov/08/egypt-two-trains-deadly-collision",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("bite-sized-insights/bulk-news-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 '{
  "urls": [
    "https://www.bbc.co.uk/news/articles/cqg7x7dpvym8o",
    "https://www.theguardian.com/world/2026/nov/08/egypt-two-trains-deadly-collision"
  ]
}' |
apify call bite-sized-insights/bulk-news-article-extractor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bite-sized-insights/bulk-news-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/QY6jpKz4meYBC3Hhs/builds/wEXpajzhMlroIDTA7/openapi.json
