# News Article Scraper (any news site) (`neuro-scraper/news-article-scraper`) Actor

News Article Scraper (any news site) SD - News Article Scraper (any news site) is a news scraping tool that extracts articles from any news website: title, author, date, full text, Markdown, images, tags and links, found on section pages, RSS feeds or sitemaps.

- **URL**: https://apify.com/neuro-scraper/news-article-scraper.md
- **Developed by:** [Neuro Scraper](https://apify.com/neuro-scraper) (community)
- **Categories:** News, AI, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.19 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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

### News Article Scraper (any news site)

The News Article Scraper (any news site) collects public News article data and returns it as a clean dataset you can download as JSON, CSV or Excel, or read through the Apify API. No login, no cookies and no code: give the News Article Scraper (any news site) your input, start it and get structured News data for research, monitoring, analytics or lead generation. You pay only for the results you receive.

> ⭐ **Featured by Neuro Scraper: [Facebook Reels Scraper](https://apify.com/neuro-scraper/facebook-reels-scraper)** - scrape Facebook Reels from any page, profile or reel link with exact views and plays, every reaction type (Like, Love, Care, Haha, Wow, Sad, Angry), comments, shares, captions, music and video links. No login and no cookies. [Try the Facebook Reels Scraper →](https://apify.com/neuro-scraper/facebook-reels-scraper)

News Article Scraper (any news site) extracts full news articles from any news website: title, author, publication date, full text and Markdown, images, tags, language, publisher and copyright - plus an offline sentiment score. Give a home page, a section page, an RSS / Atom feed, a sitemap or article links; News Article Scraper (any news site) finds the articles, follows the site's next pages and returns clean rows.

Filters for dates, keywords, word count and "only new articles" make it a ready-made news monitor for any set of sites, in any language.

> **Also from us: [Facebook Reels Scraper](https://apify.com/neuro-scraper/facebook-reels-scraper)** - export public Facebook Reels with views, likes, comments, captions and video files. Use it next to News Article Scraper (any news site) for social media coverage of the same stories.

#### What does News Article Scraper (any news site) do?

News Article Scraper (any news site) writes one row per article, with the same columns in the same order on every row, so the export drops straight into a spreadsheet, a BI tool, a database or a data pipeline. Key features of News Article Scraper (any news site):

- **Any news site** - no site-specific setup: articles are recognised by their structure (schema.org, meta tags, dates, text length).
- **Section pages, feeds and sitemaps** with the site's own next pages (`maxArticlesPerStartUrl`).
- **Full text and Markdown** (`outputFormat`), images, videos, links, tags, author and dates.
- **Date, keyword and length filters** and **only new articles** for monitoring.
- **Sentiment** (positive / negative / neutral + score) for English articles, computed offline.
- **Newest-first output** with `sortBy` time.

#### How to use News Article Scraper (any news site)

1. **Open News Article Scraper (any news site)** on Apify and click **Try for free** (or **Start** if you already use it). Paste a news site, section page, feed or sitemap into **Website / section URLs** (`startUrls`) - or article links into `articleUrls`. Every other option is optional and has a safe default.
2. **Set the filters and limits** you need - each one is explained under "Features and how they work" below. Start small (for example 20 articles) to see the columns, then raise the limit.
3. **Press Start and watch the log.** The log shows every page read, the next page followed and why articles were skipped (date, keywords, too short). The last line of the log and the run's status message sum up every target: how many articles were saved and why each one stopped (limit reached, last page, filter, or a target that could not be read).
4. **Download the results** from the **Output** tab as JSON, CSV, Excel, XML or HTML, or read the dataset with the Apify API (examples below).
5. **Automate it:** create a schedule (hourly, daily, weekly) in Apify Console and connect an integration - Google Sheets, Zapier, Make, n8n, Slack, email or a webhook that fires when a run of News Article Scraper (any news site) finishes.

#### Features and how they work

Every input option of News Article Scraper (any news site) is explained below: what it does, how News Article Scraper (any news site) applies it, the allowed values and the default, an example, a tip and how it combines with the other options.

##### `startUrls` - Website / section URLs

**What it does:** The websites, sections, feeds or sitemaps to collect articles from.

**How it works:** News home pages, section, category or tag pages (e.g. https://news.mit.edu/topic/artificial-intelligence2), RSS / Atom feed URLs or sitemap URLs. Article links are found on each page and the page's own next-page link is followed until the limits below. An article URL put here is extracted as an article. News Article Scraper (any news site) finds the article links on each page and follows the site's own next-page links until your limits.

**Allowed values and default:** a list of links - `{"url": "..."}` objects in JSON, one link per line in the form, or an uploaded text file; default: empty (not used).

**Example:** `"startUrls": [{"url": "https://news.mit.edu/topic/artificial-intelligence2"}]`

**Tip:** Start from a section page (e.g. /technology) to stay on one topic.

**Combinations:** Use `maxArticlesPerStartUrl` per site and `maxArticlesPerCrawl` for the whole run.

##### `articleUrls` - Article URLs

**What it does:** Article URLs.

**How it works:** Direct article URLs, e.g. https://www.euronews.com/2026/10/09/graphene-opens-new-way-to-detect-brain-damage-after-stroke. Each is extracted as it is (no crawling). Minimum words and Must have date do not apply to them; date filters and keywords do. A `urls` list in API input is accepted too.

**Allowed values and default:** a list of links - `{"url": "..."}` objects in JSON, one link per line in the form, or an uploaded text file; default: empty (not used).

**Example:** `"articleUrls": ["..."]`

**Tip:** Copy values exactly as they appear on the site or in your browser address bar.

**Combinations:** Can be combined with the limits and filters; every value is handled the same way.

##### `sitemapUrls` - Sitemap URLs

**What it does:** Sitemap URLs.

**How it works:** Sitemaps (news sitemaps work best) whose article URLs are extracted, newest first, e.g. https://www.example.com/news-sitemap.xml. Sitemap indexes are followed; child sitemaps older than 'Articles from' are skipped.

**Allowed values and default:** a list of links - `{"url": "..."}` objects in JSON, one link per line in the form, or an uploaded text file; default: empty (not used).

**Example:** `"sitemapUrls": ["..."]`

**Tip:** Copy values exactly as they appear on the site or in your browser address bar.

**Combinations:** Can be combined with the limits and filters; every value is handled the same way.

##### `maxArticlesPerCrawl` - Max articles (total)

**What it does:** Max articles (total).

**How it works:** Most articles saved in this run, over all inputs. 0 = no limit. The main control over what a run costs.

**Allowed values and default:** a whole number from 0 to 1,000,000; default: `30`.

**Example:** `"maxArticlesPerCrawl": 30`

**Tip:** Start with a small value to check the output, then raise it.

**Combinations:** Works together with the other limits - whichever is reached first stops that part of the run.

##### `sortBy` - Sort articles

**What it does:** The order in which articles are saved.

**How it works:** With `site` (default) each article is saved the moment it is read - fastest, and the order follows the site. With `time` the rows wait until all inputs are read and are then saved newest first by `publishedDate`; the limits still count them, so the run stops at the same number of rows.

**Allowed values and default:** one of `site`, `time`; default: `"site"`.

**Example:** `"sortBy": "time"`

**Tip:** Use `time` when you feed the rows straight into a newsletter or report.

**Combinations:** Works with every input type and filter.

##### `maxArticlesPerStartUrl` - Max articles per start URL

**What it does:** Max articles per start URL.

**How it works:** Most articles per start URL / sitemap list, followed page by page through the site's own next-page links, feed pages or sitemap files. 0 = only the total limit applies.

**Allowed values and default:** a whole number from 0 to 1,000,000; default: `0`.

**Example:** `"maxArticlesPerStartUrl": 0`

**Tip:** Start with a small value to check the output, then raise it.

**Combinations:** Works together with the other limits - whichever is reached first stops that part of the run.

##### `maxPagesPerCrawl` - Max pages loaded (total)

**What it does:** Max pages loaded (total).

**How it works:** Most pages requested in the run: start pages, next pages, feeds, sitemaps and articles (also those that turn out not to be articles). 0 = no limit.

**Allowed values and default:** a whole number from 0 to 1,000,000; default: `0`.

**Example:** `"maxPagesPerCrawl": 0`

**Tip:** Start with a small value to check the output, then raise it.

**Combinations:** Works together with the other limits - whichever is reached first stops that part of the run.

##### `maxDepth` - Max crawl depth

**What it does:** Max crawl depth.

**How it works:** How many levels of non-article links (other sections, tags) to follow from each start URL. 0 = only the start page and its next pages. Pseudo-URLs and Link selector narrow what is followed.

**Allowed values and default:** a whole number from 0 to 20; default: `0`.

**Example:** `"maxDepth": 0`

**Tip:** Start with a small value to check the output, then raise it.

**Combinations:** Works together with the other limits - whichever is reached first stops that part of the run.

##### `dateFrom` - Articles from (date)

**What it does:** Articles from (date).

**How it works:** Only articles published on or after this date: YYYY-MM-DD (e.g. 2026-10-01) or relative, e.g. 3 days, 2 weeks, 1 month. Lists are read newest first, so paging stops once a page holds only older articles.

**Allowed values and default:** text; default: empty (not used).

**Example:** `"dateFrom": "..."`

**Tip:** Copy values exactly as they appear on the site or in your browser address bar.

**Combinations:** Can be combined with the limits and filters; every value is handled the same way.

##### `dateTo` - Articles to (date)

**What it does:** Articles to (date).

**How it works:** Only articles published on or before this date (the whole day counts): YYYY-MM-DD, e.g. 2026-10-08, or relative, e.g. 1 day.

**Allowed values and default:** text; default: empty (not used).

**Example:** `"dateTo": "..."`

**Tip:** Copy values exactly as they appear on the site or in your browser address bar.

**Combinations:** Can be combined with the limits and filters; every value is handled the same way.

##### `onlyArticlesForLastDays` - Only articles of the last X days

**What it does:** Only articles of the last X days.

**How it works:** Only articles published in the last X days before the run starts, e.g. 7. 0 = off. With 'Articles from' too, the later date wins.

**Allowed values and default:** a whole number from 0 to 36,500; default: `0`.

**Example:** `"onlyArticlesForLastDays": 0`

**Tip:** Start with a small value to check the output, then raise it.

**Combinations:** Works together with the other limits - whichever is reached first stops that part of the run.

##### `mustHaveDate` - Must have date

**What it does:** Must have date.

**How it works:** Skip discovered pages without a publication date (it also keeps section and profile pages out). Article URLs you list are always kept.

**Allowed values and default:** `true` or `false`; default: `true`.

**Example:** `"mustHaveDate": true`

**Tip:** Keep the default unless you need this behaviour; the default is the setting most users want.

**Combinations:** Can be combined with every other option of the input.

##### `minWords` - Minimum words

**What it does:** Minimum words.

**How it works:** Skip discovered pages whose main text has fewer words, e.g. 150. Article URLs you list are always kept.

**Allowed values and default:** a whole number from 0 to 100,000; default: `150`.

**Example:** `"minWords": 150`

**Tip:** Start with a small value to check the output, then raise it.

**Combinations:** Works together with the other limits - whichever is reached first stops that part of the run.

##### `keywords` - Keywords

**What it does:** Keywords.

**How it works:** Keep only articles whose title, description, text or tags contain at least one of these words or phrases (not case-sensitive), e.g. climate. Checked by the Actor after loading each article. Empty = all.

**Allowed values and default:** a list of text values (one per line in the form); default: empty (not used).

**Example:** `"keywords": ["..."]`

**Tip:** Copy values exactly as they appear on the site or in your browser address bar.

**Combinations:** Can be combined with the limits and filters; every value is handled the same way.

##### `onlyNewArticles` - Only new articles (per domain)

**What it does:** Only new articles (per domain).

**How it works:** Skip articles saved by earlier runs with this option on. Seen article URLs are kept per domain in your named key-value store 'news-article-scraper-seen' and checked before loading (no cost for skipped ones). Good for scheduled monitoring.

**Allowed values and default:** `true` or `false`; default: `false`.

**Example:** `"onlyNewArticles": false`

**Tip:** Keep the default unless you need this behaviour; the default is the setting most users want.

**Combinations:** Can be combined with every other option of the input.

##### `onlyInsideArticles` - Only articles on the same domain

**What it does:** Only articles on the same domain.

**How it works:** Only articles on the domain of the page that links to them (e.g. a link from bbc.com to bbc.co.uk is skipped). Feed items are always kept.

**Allowed values and default:** `true` or `false`; default: `true`.

**Example:** `"onlyInsideArticles": true`

**Tip:** Keep the default unless you need this behaviour; the default is the setting most users want.

**Combinations:** Can be combined with every other option of the input.

##### `onlySubdomainArticles` - Only articles under the start URL path

**What it does:** Only articles under the start URL path.

**How it works:** Only articles whose URL begins with the start URL, e.g. start https://www.example.com/tech keeps https://www.example.com/tech/... only.

**Allowed values and default:** `true` or `false`; default: `false`.

**Example:** `"onlySubdomainArticles": false`

**Tip:** Keep the default unless you need this behaviour; the default is the setting most users want.

**Combinations:** Can be combined with every other option of the input.

##### `crawlWholeSubdomain` - Crawl whole section

**What it does:** Crawl whole section.

**How it works:** Follow every non-article link that begins with the start URL (any depth, bounded by Max pages loaded), e.g. start https://www.example.com/tech crawls all of /tech.

**Allowed values and default:** `true` or `false`; default: `false`.

**Example:** `"crawlWholeSubdomain": false`

**Tip:** Keep the default unless you need this behaviour; the default is the setting most users want.

**Combinations:** Can be combined with every other option of the input.

##### `enqueueFromArticles` - Find articles inside articles

**What it does:** Find articles inside articles.

**How it works:** Also collect article links found on article pages (related stories). Normally only listing pages are mined for articles.

**Allowed values and default:** `true` or `false`; default: `false`.

**Example:** `"enqueueFromArticles": false`

**Tip:** Keep the default unless you need this behaviour; the default is the setting most users want.

**Combinations:** Can be combined with every other option of the input.

##### `scanFeeds` - Use the site's RSS / Atom feeds

**What it does:** Use the site's RSS / Atom feeds.

**How it works:** Also read the feeds a start page announces (<link rel=alternate>), with their next pages (Atom next links, WordPress ?paged=N). Feed URLs given as start URLs are always read.

**Allowed values and default:** `true` or `false`; default: `false`.

**Example:** `"scanFeeds": false`

**Tip:** Keep the default unless you need this behaviour; the default is the setting most users want.

**Combinations:** Can be combined with every other option of the input.

##### `scanSitemaps` - Use the site's sitemaps

**What it does:** Use the site's sitemaps.

**How it works:** Also read the sitemaps listed in each start site's robots.txt (news sitemaps first, newest first). Sites keep years of URLs there - combine with 'Articles from'.

**Allowed values and default:** `true` or `false`; default: `false`.

**Example:** `"scanSitemaps": false`

**Tip:** Keep the default unless you need this behaviour; the default is the setting most users want.

**Combinations:** Can be combined with every other option of the input.

##### `isUrlArticleDefinition` - Which links are articles

**What it does:** Which links are articles.

**How it works:** A link is opened as an article when ANY rule is true: minDashes = dashes in one path segment (0 = off), hasDate = a date in the path (/2026/10/09/), linkIncludes = text in the URL, hasNumericId = 6+ digit id in the path. Pages are then checked (article schema / og:type, words, date) before saving.

**Allowed values and default:** default: `{"minDashes": 4, "hasDate": true, "linkIncludes": ["article", "storyid", "?p=", "id=", "/fpss/track", ".html", "/content/"], "hasNumericId": true}`.

**Example:** `"isUrlArticleDefinition": {"minDashes": 4, "hasDate": true, "linkIncludes": ["article", "storyid", "?p=", "id=", "/fpss/track", ".html", "/content/"], "hasNumericId": true}`

**Tip:** Copy values exactly as they appear on the site or in your browser address bar.

**Combinations:** Can be combined with the limits and filters; every value is handled the same way.

##### `linkSelector` - Link selector

**What it does:** Link selector.

**How it works:** CSS selector of the links (or blocks holding links) to use on listing pages, e.g. main a or .article-list a. Empty = every link of the page.

**Allowed values and default:** text; default: empty (not used).

**Example:** `"linkSelector": "..."`

**Tip:** Copy values exactly as they appear on the site or in your browser address bar.

**Combinations:** Can be combined with the limits and filters; every value is handled the same way.

##### `pseudoUrls` - Pseudo-URLs (listing pages to follow)

**What it does:** Pseudo-URLs (listing pages to follow).

**How it works:** Extra listing pages (pagination, categories) to follow, as pseudo-URLs: \[regex] parts inside brackets, the rest literal, e.g. https://www.example.com/category/\[.+]. Used with Max crawl depth >= 1. Articles are still found by the article rules.

**Allowed values and default:** a list of text values (one per line in the form); default: empty (not used).

**Example:** `"pseudoUrls": ["..."]`

**Tip:** Copy values exactly as they appear on the site or in your browser address bar.

**Combinations:** Can be combined with the limits and filters; every value is handled the same way.

##### `outputFormat` - Article text format

**What it does:** Article text format.

**How it works:** text = plain text in 'content'; markdown = Markdown in 'markdown' (headings, lists, tables); both = both columns.

**Allowed values and default:** one of `both`, `text`, `markdown`; default: `"both"`.

**Example:** `"outputFormat": "both"`

**Tip:** Pick the value that matches what you need; the default fits most runs.

**Combinations:** Applies to every target of the run together with the filters.

##### `extractFullContent` - Extract full article text

**What it does:** Extract full article text.

**How it works:** Off = metadata only (title, author, date, tags, images ...). Feed and news-sitemap items are then saved from the feed / sitemap without loading the page (much faster).

**Allowed values and default:** `true` or `false`; default: `true`.

**Example:** `"extractFullContent": true`

**Tip:** Keep the default unless you need this behaviour; the default is the setting most users want.

**Combinations:** Can be combined with every other option of the input.

##### `includeImages` - Include images

**What it does:** Include images.

**How it works:** List the article's images (lead image plus images of the article body) in 'images'.

**Allowed values and default:** `true` or `false`; default: `true`.

**Example:** `"includeImages": true`

**Tip:** Keep the default unless you need this behaviour; the default is the setting most users want.

**Combinations:** Can be combined with every other option of the input.

##### `extractStructuredData` - Include structured data

**What it does:** Include structured data.

**How it works:** Add the article's schema.org JSON-LD object (NewsArticle, Article, BlogPosting ...) in 'structuredData' (without the article body).

**Allowed values and default:** `true` or `false`; default: `false`.

**Example:** `"extractStructuredData": false`

**Tip:** Keep the default unless you need this behaviour; the default is the setting most users want.

**Combinations:** Can be combined with every other option of the input.

##### `includeMetadata` - Include page metadata (copyright)

**What it does:** Include page metadata (copyright).

**How it works:** Reads the page's copyright notice (structured data, meta tags or the footer) into `copyright`.

**Allowed values and default:** `true` or `false`; default: `true`.

**Example:** `"includeMetadata": true`

**Tip:** Keep the default unless you need this behaviour; the default is the setting most users want.

**Combinations:** Can be combined with every other option of the input.

##### `saveHtml` - Save main-content HTML

**What it does:** Save main-content HTML.

**How it works:** Add the HTML of the article's main content in 'html'.

**Allowed values and default:** `true` or `false`; default: `false`.

**Example:** `"saveHtml": false`

**Tip:** Keep the default unless you need this behaviour; the default is the setting most users want.

**Combinations:** Can be combined with every other option of the input.

##### `saveHtmlAsLink` - Save full page HTML as a link

**What it does:** Save full page HTML as a link.

**How it works:** Store each article's full page HTML in the run's key-value store and add its link in 'htmlUrl' (keeps the dataset small).

**Allowed values and default:** `true` or `false`; default: `false`.

**Example:** `"saveHtmlAsLink": false`

**Tip:** Keep the default unless you need this behaviour; the default is the setting most users want.

**Combinations:** Can be combined with every other option of the input.

##### `respectRobotsTxt` - Respect robots.txt

**What it does:** Respect robots.txt.

**How it works:** Skip pages the site's robots.txt disallows for all crawlers (User-agent: \*). Its Crawl-delay is honoured (up to 10 s).

**Allowed values and default:** `true` or `false`; default: `true`.

**Example:** `"respectRobotsTxt": true`

**Tip:** Keep the default unless you need this behaviour; the default is the setting most users want.

**Combinations:** Can be combined with every other option of the input.

##### `maxConcurrency` - Max concurrency

**What it does:** Max concurrency.

**How it works:** Articles loaded at the same time. Each website still gets at most about one new request per second.

**Allowed values and default:** a whole number from 1 to 20; default: `3`.

**Example:** `"maxConcurrency": 3`

**Tip:** Start with a small value to check the output, then raise it.

**Combinations:** Works together with the other limits - whichever is reached first stops that part of the run.

##### `requestTimeout` - Request timeout (seconds)

**What it does:** Request timeout (seconds).

**How it works:** Timeout of each page request, e.g. 30. Raise it for slow sites.

**Allowed values and default:** a whole number from 5 to 180; default: `30`.

**Example:** `"requestTimeout": 30`

**Tip:** Start with a small value to check the output, then raise it.

**Combinations:** Works together with the other limits - whichever is reached first stops that part of the run.

##### `maxRetries` - Max retries per request

**What it does:** Max retries per request.

**How it works:** Retries after a network error, HTTP 429 or 5xx. A blocked page (anti-bot page) is retried once more on a new proxy session.

**Allowed values and default:** a whole number from 0 to 5; default: `2`.

**Example:** `"maxRetries": 2`

**Tip:** Start with a small value to check the output, then raise it.

**Combinations:** Works together with the other limits - whichever is reached first stops that part of the run.

##### `proxyConfiguration` - Proxy configuration

**What it does:** Proxy configuration.

**How it works:** Residential proxy is the default (news sites block datacenter IPs more often). Pick a country when a site serves another edition or blocks foreign visitors.

**Allowed values and default:** default: `{"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]}`.

**Example:** `"proxyConfiguration": {"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]}`

**Tip:** Copy values exactly as they appear on the site or in your browser address bar.

**Combinations:** Can be combined with the limits and filters; every value is handled the same way.

#### Ready-to-copy input examples for News Article Scraper (any news site)

**A news section** - The 30 newest articles of one section page.

```json
{
  "startUrls": [
    {
      "url": "https://news.mit.edu/topic/artificial-intelligence2"
    }
  ],
  "maxArticlesPerCrawl": 30
}
```

**Several feeds, newest first** - Articles of the last 3 days from two feeds, saved newest first.

```json
{
  "startUrls": [
    {
      "url": "https://www.nasa.gov/feed/"
    }
  ],
  "dateFrom": "3 days",
  "sortBy": "time",
  "maxArticlesPerCrawl": 50
}
```

**Keyword monitoring** - Only new articles mentioning a keyword on every scheduled run.

```json
{
  "startUrls": [
    {
      "url": "https://www.euronews.com/"
    }
  ],
  "keywords": [
    "climate"
  ],
  "onlyNewArticles": true,
  "scanSitemaps": true
}
```

**Article links** - Full text of specific articles.

```json
{
  "articleUrls": [
    "https://www.euronews.com/2026/10/09/graphene-opens-new-way-to-detect-brain-damage-after-stroke"
  ],
  "outputFormat": "markdown"
}
```

#### Output fields of News Article Scraper (any news site)

Every row of News Article Scraper (any news site) has the columns below. "Filled in test" is measured on our latest test run (24 rows). A value is empty (null) when the article does not publish it - News Article Scraper (any news site) never guesses or fills old values, so exports keep a stable shape from run to run. Several columns carry the same value under the name other tools use, so imports built for another tool keep working.

| Field | Type | Meaning | Example | Filled in test / when empty |
|---|---|---|---|---|
| `url` | URL | Article link. | `https://science.nasa.gov/image-article/apod-2...` | 24/24 |
| `loadedUrl` | URL | Final link after redirects. | `https://science.nasa.gov/image-article/apod-2...` | 24/24 |
| `canonicalLink` | URL | Canonical link of the article. | `https://science.nasa.gov/image-article/apod-2...` | 24/24 |
| `domain` | text | Domain of the article. | `science.nasa.gov` | 24/24 |
| `title` | text | Headline. | `APOD: 2026 November 21 – Voyager's Neptune - ...` | 24/24 |
| `description` | text | Summary / standfirst. | `Jim Glass, a researcher with the MIT-IBM Comp...` | 21/24 - empty when the article has no summary (3 of 24) |
| `author` | text | Main author. | `Jerry Bonnell` | 24/24 |
| `authors` | array | All authors. | `["Jerry Bonnell"]` | 24/24 |
| `publishedDate` | date (ISO) | Publication time (ISO 8601, UTC). | `2026-11-21T05:05:00Z` | 24/24 |
| `modifiedDate` | date (ISO) | Last update time. | `2026-11-21T17:48:51Z` | 12/24 - empty when the site gives no update time (12 of 24) |
| `publisher` | text | Publisher / site name. | `NASA` | 24/24 |
| `language` | text | Language code. | `en-US` | 24/24 |
| `category` | text | Section of the article. | `APOD` | 12/24 - empty when the site gives no section for the article (12 of 24 test rows - the feed site publishes none) |
| `tags` | array | Tags / topics. | `["neptune"]` | 24/24 |
| `keywords` | text | Keywords of the article. | `APOD` | 24/24 |
| `image` | URL | Lead image. | `https://assets.science.nasa.gov/content/dam/s...` | 24/24 |
| `images` | array | Images of the article. | `["https://assets.science.nasa.gov/content/dam...` | 24/24 |
| `videos` | array | Videos in the article. | - | 2/24 - empty when the article has no video (22 of 24) |
| `content` | text | Full text (plain). | `Explanation: Cruising through the outer solar...` | 24/24 |
| `markdown` | text | Full text as Markdown. | `**Explanation:** Cruising through the outer s...` | 24/24 |
| `html` | text | Main-content HTML (`saveHtml`). | - | 0/24 - empty when `saveHtml` is off (the default) |
| `htmlUrl` | text | Link to the stored page HTML (`saveHtmlAsLink`). | - | 0/24 - empty when `saveHtmlAsLink` is off (the default) |
| `wordCount` | number | Words in the text. | `186` | 24/24 |
| `charCount` | number | Characters in the text. | `1158` | 24/24 |
| `readingTimeMinutes` | number | Estimated reading time. | `1` | 24/24 |
| `tokenEstimate` | number | Estimated AI tokens of the text. | `290` | 24/24 |
| `paywallDetected` | boolean | True when the article is behind a paywall. | `false` | 24/24 |
| `links` | array | Links inside the article text. | `[{"text": "approach to Neptune", "href": "htt...` | 19/24 - empty when the article text has no links (5 of 24) |
| `structuredData` | text | schema.org object (`extractStructuredData`). | - | 0/24 - empty when `extractStructuredData` is off (the default) |
| `favicon` | URL | Site icon. | `https://science.nasa.gov/wp-content/plugins/n...` | 24/24 |
| `discoveryMethod` | text | How the article was found (listing, feed, sitemap, article link). | `rss` | 24/24 |
| `startUrl` | URL | Input that led to the article. | `https://www.nasa.gov/feed/` | 24/24 |
| `referrer` | URL | Page that linked to the article. | `https://www.nasa.gov/feed/` | 24/24 |
| `depth` | number | Crawl depth. | `1` | 24/24 |
| `scrapedAt` | date (ISO) | Time the row was saved. | `2026-11-21T20:22:00+00:00` | 24/24 |
| `text` | text | Same as `content`. | `Explanation: Cruising through the outer solar...` | 24/24 |
| `date` | date (ISO) | Same as `publishedDate`. | `2026-11-21T05:05:00Z` | 24/24 |
| `published_at` | date (ISO) | Same as `publishedDate`. | `2026-11-21T05:05:00Z` | 24/24 |
| `extractedAt` | date (ISO) | Same as `scrapedAt`. | `2026-11-21T20:22:00+00:00` | 24/24 |
| `imageUrl` | URL | Same as `image`. | `https://assets.science.nasa.gov/content/dam/s...` | 24/24 |
| `lang` | text | Same as `language`. | `en-US` | 24/24 |
| `loadedDomain` | text | Domain of the final link. | `science.nasa.gov` | 24/24 |
| `sourceDomain` | text | Same as `domain`. | `science.nasa.gov` | 24/24 |
| `source` | text | Publisher name (or domain). | `NASA` | 24/24 |
| `media_name` | text | Publisher name (or domain). | `NASA` | 24/24 |
| `sourceUrl` | URL | Input link of the row. | `https://www.nasa.gov/feed/` | 24/24 |
| `softTitle` | text | Headline without the site name suffix. | `APOD: 2026 November 21 - Voyager's Neptune` | 24/24 |
| `copyright` | text | Copyright notice of the page (`includeMetadata`). | `© NASA` | 24/24 |
| `sentiment` | text | positive, negative or neutral (English articles). | `positive` | 24/24 |
| `sentimentScore` | number | Sentiment score -1 to +1. | `0.8898` | 24/24 |
| `success` | boolean | `true` when the article was read. | `true` | 24/24 |
| `error` | text | Error text (empty on saved articles). | - | 0/24 - empty on every saved article - only failed rows would carry an error |

#### Which columns can be empty in the scraper

Measured on our latest test run (24 rows): these columns were empty on more than 10% of the rows. Each one was checked against what the site itself shows for those rows - News Article Scraper (any news site) leaves a column empty only when the site does not publish the value for that row (or when the option that fills it is off). Nothing is guessed.

| Column | Empty in test | Why (measured) |
|---|---|---|
| `description` | 3 of 24 | When the article has no summary (3 of 24) |
| `modifiedDate` | 12 of 24 | When the site gives no update time (12 of 24) |
| `category` | 12 of 24 | When the site gives no section for the article (12 of 24 test rows - the feed site publishes none) |
| `videos` | 22 of 24 | When the article has no video (22 of 24) |
| `html` | 24 of 24 | When `saveHtml` is off (the default) |
| `htmlUrl` | 24 of 24 | When `saveHtmlAsLink` is off (the default) |
| `links` | 5 of 24 | When the article text has no links (5 of 24) |
| `structuredData` | 24 of 24 | When `extractStructuredData` is off (the default) |
| `error` | 24 of 24 | On every saved article - only failed rows would carry an error |

#### Example row of the scraper

One real row from a test run of News Article Scraper (any news site) (long texts shortened):

```json
{
  "url": "https://science.nasa.gov/image-article/apod-2026-november-21-voyagers-neptune/",
  "loadedUrl": "https://science.nasa.gov/image-article/apod-2026-november-21-voyagers-neptune/",
  "canonicalLink": "https://science.nasa.gov/image-article/apod-2026-november-21-voyagers-neptune/",
  "domain": "science.nasa.gov",
  "title": "APOD: 2026 November 21 – Voyager's Neptune - NASA Science",
  "description": null,
  "author": "Jerry Bonnell",
  "authors": [
    "Jerry Bonnell"
  ],
  "publishedDate": "2026-11-21T05:05:00Z",
  "modifiedDate": "2026-11-21T17:48:51Z",
  "publisher": "NASA",
  "language": "en-US",
  "category": "APOD",
  "tags": [
    "neptune"
  ],
  "keywords": "APOD",
  "image": "https://assets.science.nasa.gov/content/dam/science/cds/apod/apod/2026/november/Neptune-South-Pole-Voyager-2_2327x1670.jpg/jcr:content/renditions/cq5dam.web....",
  "images": [
    "https://assets.science.nasa.gov/content/dam/science/cds/apod/apod/2026/november/Neptune-South-Pole-Voyager-2_2327x1670.jpg/jcr:content/renditions/cq5dam.web.1280.1280.jpeg",
    "https://assets.science.nasa.gov/dynamicimage/assets/science/cds/apod/apod/2026/november/Neptune-South-Pole-Voyager-2_2327x1670.jpg?w=2327&amp;h=1670&amp;fit=clip",
    "https://assets.science.nasa.gov/dynamicimage/assets/science/cds/apod/apod/2026/november/Neptune-South-Pole-Voyager-2_2327x1670.jpg?w=2048&h=1669&fit=clip"
  ],
  "videos": [],
  "content": "Explanation: Cruising through the outer solar system, the Voyager 2 spacecraft made its closest approach to Neptune on August 25, 1989, the only spacecraft t...",
  "markdown": "**Explanation:** Cruising through the outer solar system, the Voyager 2 spacecraft made its closest approach to Neptune on August 25, 1989, the only spacecra...",
  "html": null,
  "htmlUrl": null,
  "wordCount": 186,
  "charCount": 1158,
  "readingTimeMinutes": 1,
  "tokenEstimate": 290,
  "paywallDetected": false,
  "links": [
    {
      "text": "approach to Neptune",
      "href": "https://www.nasa.gov/history/30-years-ago-voyager-2-explores-neptune/"
    },
    {
      "text": "ice giant planet",
      "href": "https://en.wikipedia.org/wiki/Ice_giant"
    },
    {
      "text": "this inspired composited scene",
      "href": "https://www.rolfolsenastrophotography.com/Astrophotography/Solar-System/i-vjMHSxz"
    }
  ],
  "structuredData": null,
  "favicon": "https://science.nasa.gov/wp-content/plugins/nasa-hds-core-setup/assets/favicons/favicon-16x16.png",
  "discoveryMethod": "rss",
  "startUrl": "https://www.nasa.gov/feed/",
  "referrer": "https://www.nasa.gov/feed/",
  "depth": 1,
  "scrapedAt": "2026-11-21T20:22:00+00:00",
  "text": "Explanation: Cruising through the outer solar system, the Voyager 2 spacecraft made its closest approach to Neptune on August 25, 1989, the only spacecraft t...",
  "date": "2026-11-21T05:05:00Z",
  "published_at": "2026-11-21T05:05:00Z",
  "extractedAt": "2026-11-21T20:22:00+00:00",
  "imageUrl": "https://assets.science.nasa.gov/content/dam/science/cds/apod/apod/2026/november/Neptune-South-Pole-Voyager-2_2327x1670.jpg/jcr:content/renditions/cq5dam.web....",
  "lang": "en-US",
  "loadedDomain": "science.nasa.gov",
  "sourceDomain": "science.nasa.gov",
  "source": "NASA",
  "media_name": "NASA",
  "sourceUrl": "https://www.nasa.gov/feed/",
  "softTitle": "APOD: 2026 November 21 - Voyager's Neptune",
  "copyright": "© NASA",
  "sentiment": "positive",
  "sentimentScore": 0.8898,
  "success": true,
  "error": null
}
```

#### The scraper compared with the top 5 tools of its kind

We compared News Article Scraper (any news site) with the five most-used tools of its kind on the Apify Store and added every input option and output field they offer that can be collected without logging in. The table shows the main features.

| Feature | Offered by (of the top 5) | News Article Scraper (any news site) |
|---|---|---|
| Any news site, no setup | 5 of 5 | yes |
| Feeds and sitemaps | 3 of 5 | yes |
| Full text + Markdown | 4 of 5 | yes |
| Date / keyword filters | 4 of 5 | yes |
| Only new articles | 2 of 5 | yes |
| Sentiment | 1 of 5 | yes (offline, English) |
| Browser rendering / screenshots | 1 of 5 | no - articles are read without a browser (faster, cheaper) |
| Emotion labels (AI) | 1 of 5 | no - needs a third-party AI key |

#### Use cases for the scraper

- Media monitoring for brands, competitors and topics.
- Training and retrieval data for AI (clean text + Markdown).
- Daily news digests and newsletters.
- Research on coverage, sentiment and publication patterns.
- Archiving articles of a site.

#### Tips for the best results with the scraper

- Start from a section page to stay on topic.
- Use `dateFrom` with feeds and sitemaps - sites keep years of links there.
- Use `onlyNewArticles` on schedules.
- Raise `maxConcurrency` for many sites.

#### Limits of the scraper (measured)

- Measured on our 20-row test of 2026-11-22: 24 articles from a section page and a feed in 41 seconds (1.7 s per row) with sorting, copyright and sentiment.
- Sites that show articles only after JavaScript runs or behind an anti-bot check are skipped (logged, never bypassed).
- Sentiment is computed for English text only.

#### How much does the scraper cost?

News Article Scraper (any news site) uses pay-per-event pricing: you pay per result row that News Article Scraper (any news site) saves (event `result`), plus the Apify platform usage of the run. There is no monthly rental and no start fee from us. One result = one row of the dataset (one article).

| Apify plan | Price per 1,000 results | 1,000 articles | 10,000 articles |
|---|---|---|---|
| Free | $1.49 | $1.49 | $14.90 |
| Starter | $1.39 | $1.39 | $13.90 |
| Scale | $1.29 | $1.29 | $12.90 |
| Business | $1.19 | $1.19 | $11.90 |

**Worked example:** 1,000 articles on the Starter plan cost 1,000 x $1.39 / 1,000 = $1.39, plus a few cents of platform usage.

Platform usage measured on our test run: 24 rows used about $0.0012 of compute and proxy, so the result price is the main part of the cost.

**Free plan:** Apify free-plan users can run News Article Scraper (any news site) with up to 30 rows per run (30 x $1.49 / 1,000 = about $0.045), enough to check the data before a larger run. **Capping the cost:** set the "Max" limits in the input and, in the run options, a **maximum cost per run** - News Article Scraper (any news site) stops cleanly when the budget is reached and keeps every row it already saved.

#### Use the scraper with the API

Start News Article Scraper (any news site) from your own code with the same input as in the examples above. Replace `<YOUR_APIFY_TOKEN>` with the token from Apify Console > Settings > Integrations.

**Python** (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run_input = {
    "startUrls": [
        {
            "url": "https://news.mit.edu/topic/artificial-intelligence2"
        }
    ],
    "maxArticlesPerCrawl": 30
}
run = client.actor("neuro-scraper/news-article-scraper").call(run_input=run_input)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

**Node.js** (`npm install apify-client`):

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

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('neuro-scraper/news-article-scraper').call({"startUrls": [{"url": "https://news.mit.edu/topic/artificial-intelligence2"}], "maxArticlesPerCrawl": 30});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**HTTP** (one call that runs the Actor and returns the rows):

```bash
curl -X POST 'https://api.apify.com/v2/acts/neuro-scraper~news-article-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{"startUrls": [{"url": "https://news.mit.edu/topic/artificial-intelligence2"}], "maxArticlesPerCrawl": 30}'
```

News Article Scraper (any news site) also works with the Apify MCP server, so AI agents (Claude, ChatGPT, Cursor) can call it as a tool, and with every Apify integration: Google Sheets, Zapier, Make, n8n, Airbyte, Slack, email and webhooks.

#### Related Actors

Other scrapers from us that pair well with News Article Scraper (any news site):

| Actor | What it extracts |
|---|---|
| [Google News Scraper](https://apify.com/neuro-scraper/google-news-scraper) | news search results |
| [Weather Forecast Scraper](https://apify.com/neuro-scraper/weather-forecast-scraper) | weather data |

#### FAQ about the scraper

**Does News Article Scraper (any news site) need settings per website?**

No - News Article Scraper (any news site) recognises articles on any site by their structure; `isUrlArticleDefinition` and `linkSelector` help on unusual sites.

**Can News Article Scraper (any news site) get paywalled articles?**

Only what the site shows without login; `paywallDetected` marks paywalled articles.

**Do I need an account, cookies or an API key for News Article Scraper (any news site)?**

No. News Article Scraper (any news site) works without any login, cookies or API key of yours - you only need an Apify account to run it.

**Is it legal to use News Article Scraper (any news site)?**

News Article Scraper (any news site) collects only public data that anyone can see without logging in. You are responsible for how you use the results: respect the platform's terms, copyright and privacy laws such as GDPR and CCPA, and do not collect personal data without a legitimate reason. If in doubt, ask a lawyer.

**Can I get help or ask for a feature of News Article Scraper (any news site)?**

Yes - open an issue on the Issues tab of News Article Scraper (any news site). We read every issue and usually answer within a day.

### Why use the scraper

The News Article Scraper (any news site) is a News scraper and News data extractor for anyone who needs public News article data as clean data. The News Article Scraper (any news site) handles web scraping, proxy rotation and retries for you, so you get a ready dataset instead of raw pages. Use the News Article Scraper (any news site) for market research, competitor analysis, lead generation, analytics or monitoring, and export the results to JSON, CSV, Excel or Google Sheets.

- No login and no code: the News Article Scraper (any news site) runs on Apify with one click or one API call.
- Pay per result: the News Article Scraper (any news site) charges only for rows delivered - no monthly News API fee.
- Complete fields: the News Article Scraper (any news site) returns every public field, with a stable schema for automation.
- Integrations: connect the News Article Scraper (any news site) to Zapier, Make, n8n, Google Sheets, a webhook or your CRM.

### The scraper use cases

- Market research: the News Article Scraper (any news site) collects News article data at scale, so you can compare trends across weeks and niches.
- Competitor analysis: run the News Article Scraper (any news site) on a schedule and export the dataset to Google Sheets or Excel to watch what competitors publish.
- Lead generation and B2B prospecting: the News Article Scraper (any news site) gives a sales or agency team a clean list to load into a CRM.
- Content and social media monitoring: the News Article Scraper (any news site) keeps a fresh copy of News data through an Apify schedule and a webhook.
- Analytics and dashboards: send the News Article Scraper (any news site) output as JSON through the Apify API into Python, Node.js or a BI tool.
- Academic and data science projects: the News Article Scraper (any news site) returns a consistent schema, ready for pandas, R or a notebook.
- Price, product and brand tracking: the News Article Scraper (any news site) turns public News data into a dataset you can diff run by run.
- Automation workflows: connect the News Article Scraper (any news site) to Zapier, Make or n8n so every new row starts your next step.

### How to run it with the API, Python and Node.js

Start the News Article Scraper (any news site) from the Apify Console, or call it from code. The News Article Scraper (any news site) returns its dataset as JSON, CSV or Excel. With the Apify API you can run the News Article Scraper (any news site) from Python or Node.js, wait for it to finish and read the rows, which makes the News Article Scraper (any news site) easy to plug into an automation, a data pipeline or a scheduled export.

1. Open the News Article Scraper (any news site) on Apify and fill in the input (or send the same input as JSON to the API).
2. Start the News Article Scraper (any news site). Follow the run log while the News Article Scraper (any news site) collects public News data.
3. Download the dataset as CSV, JSON, Excel or XLSX, or let a webhook send it on.
4. Schedule the News Article Scraper (any news site) to keep your News data fresh for monitoring and analytics.

### Tips for better results

- Start small: run the News Article Scraper (any news site) with a low maximum first, check the fields, then scale up the same input.
- Split big jobs: several smaller News Article Scraper (any news site) runs (by keyword, URL list or date) finish faster and are easier to resume.
- Keep a history: name a dataset or use a schedule so each News Article Scraper (any news site) run adds to your News data over time.
- Filter early: use the input filters of the News Article Scraper (any news site) so you only pay for the News article data you really need.
- Automate the hand-off: a webhook or the Zapier and Make integrations can move every News Article Scraper (any news site) result straight to Google Sheets, a CRM or a database.
- Watch the run log: the News Article Scraper (any news site) writes what it is doing and why an item was skipped, so a surprising result is easy to explain.

### The scraper FAQ

### Get started

Open the News Article Scraper (any news site), paste your input and press Start. In a few minutes the News Article Scraper (any news site) hands you clean News data as JSON, CSV or Excel, ready for analytics, monitoring, research or your CRM. Questions or a missing field? Write to us from the News Article Scraper (any news site) page on Apify - we answer fast and add features users ask for.

### More scrapers from Neuro Scraper

| Actor | What it extracts |
|---|---|
| ⭐ **[Facebook Reels Scraper](https://apify.com/neuro-scraper/facebook-reels-scraper)** | Facebook Reels with exact views, plays, every reaction type, comments and shares |
| [Snapchat Profile Scraper](https://apify.com/neuro-scraper/snapchat-profile-scraper) | Snapchat profile data with all public fields, exported to JSON, CSV or Excel |
| [Amazon Scraper](https://apify.com/neuro-scraper/amazon-keyword-scraper) | Amazon data with all public fields, exported to JSON, CSV or Excel |
| [Instagram Reels Scraper](https://apify.com/neuro-scraper/instagram-reels-scraper) | Instagram reels with all public fields, exported to JSON, CSV or Excel |
| [Facebook Video Details Scraper](https://apify.com/neuro-scraper/facebook-video-details-scraper) | Facebook video details with all public fields, exported to JSON, CSV or Excel |
| [Facebook Reels Scraper Advanced](https://apify.com/neuro-scraper/facebook-reels-scraper-advanced) | Facebook reels  advanced data with all public fields, exported to JSON, CSV or Excel |
| [Facebook Reels Downloader](https://apify.com/neuro-scraper/facebook-reels-downloader) | Facebook reels with all public fields, exported to JSON, CSV or Excel |
| [Instagram Search Scraper](https://apify.com/neuro-scraper/instagram-video-scraper-advanced) | Instagram search data with all public fields, exported to JSON, CSV or Excel |
| [TikTok Video Details Scraper](https://apify.com/neuro-scraper/tiktok-video-details-scraper) | TikTok video details with all public fields, exported to JSON, CSV or Excel |
| [Instagram Hashtag Scraper](https://apify.com/neuro-scraper/instagram-reeel-scraper) | Instagram hashtag data with all public fields, exported to JSON, CSV or Excel |
| [TikTok Profile Scraper](https://apify.com/neuro-scraper/tiktok-profile-scraper) | TikTok profile data with all public fields, exported to JSON, CSV or Excel |
| [Amazon Best Sellers Scraper](https://apify.com/neuro-scraper/amazon-per-result-scraper) | Amazon best sellers with all public fields, exported to JSON, CSV or Excel |
| [Facebook Photos Scraper](https://apify.com/neuro-scraper/facebook-photo-posts-scraper) | Facebook photos with all public fields, exported to JSON, CSV or Excel |

# Actor input Schema

## `startUrls` (type: `array`):

News home pages, section, category or tag pages (e.g. https://news.mit.edu/topic/artificial-intelligence2), RSS / Atom feed URLs or sitemap URLs. Article links are found on each page and the page's own next-page link is followed until the limits below. An article URL put here is extracted as an article.

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

Direct article URLs, e.g. https://www.euronews.com/2026/10/09/graphene-opens-new-way-to-detect-brain-damage-after-stroke. Each is extracted as it is (no crawling). Minimum words and Must have date do not apply to them; date filters and keywords do. A `urls` list in API input is accepted too.

## `sitemapUrls` (type: `array`):

Sitemaps (news sitemaps work best) whose article URLs are extracted, newest first, e.g. https://www.example.com/news-sitemap.xml. Sitemap indexes are followed; child sitemaps older than 'Articles from' are skipped.

## `maxArticlesPerCrawl` (type: `integer`):

Most articles saved in this run, over all inputs. 0 = no limit. The main control over what a run costs.

## `sortBy` (type: `string`):

site = rows are saved as soon as each article is read, in the order the site lists them; time = rows are kept until the run ends and then saved newest first by publication date.

## `maxArticlesPerStartUrl` (type: `integer`):

Most articles per start URL / sitemap list, followed page by page through the site's own next-page links, feed pages or sitemap files. 0 = only the total limit applies.

## `maxPagesPerCrawl` (type: `integer`):

Most pages requested in the run: start pages, next pages, feeds, sitemaps and articles (also those that turn out not to be articles). 0 = no limit.

## `maxDepth` (type: `integer`):

How many levels of non-article links (other sections, tags) to follow from each start URL. 0 = only the start page and its next pages. Pseudo-URLs and Link selector narrow what is followed.

## `dateFrom` (type: `string`):

Only articles published on or after this date: YYYY-MM-DD (e.g. 2026-10-01) or relative, e.g. 3 days, 2 weeks, 1 month. Lists are read newest first, so paging stops once a page holds only older articles.

## `dateTo` (type: `string`):

Only articles published on or before this date (the whole day counts): YYYY-MM-DD, e.g. 2026-10-08, or relative, e.g. 1 day.

## `onlyArticlesForLastDays` (type: `integer`):

Only articles published in the last X days before the run starts, e.g. 7. 0 = off. With 'Articles from' too, the later date wins.

## `mustHaveDate` (type: `boolean`):

Skip discovered pages without a publication date (it also keeps section and profile pages out). Article URLs you list are always kept.

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

Skip discovered pages whose main text has fewer words, e.g. 150. Article URLs you list are always kept.

## `keywords` (type: `array`):

Keep only articles whose title, description, text or tags contain at least one of these words or phrases (not case-sensitive), e.g. climate. Checked by the Actor after loading each article. Empty = all.

## `onlyNewArticles` (type: `boolean`):

Skip articles saved by earlier runs with this option on. Seen article URLs are kept per domain in your named key-value store 'news-article-scraper-seen' and checked before loading (no cost for skipped ones). Good for scheduled monitoring.

## `onlyInsideArticles` (type: `boolean`):

Only articles on the domain of the page that links to them (e.g. a link from bbc.com to bbc.co.uk is skipped). Feed items are always kept.

## `onlySubdomainArticles` (type: `boolean`):

Only articles whose URL begins with the start URL, e.g. start https://www.example.com/tech keeps https://www.example.com/tech/... only.

## `crawlWholeSubdomain` (type: `boolean`):

Follow every non-article link that begins with the start URL (any depth, bounded by Max pages loaded), e.g. start https://www.example.com/tech crawls all of /tech.

## `enqueueFromArticles` (type: `boolean`):

Also collect article links found on article pages (related stories). Normally only listing pages are mined for articles.

## `scanFeeds` (type: `boolean`):

Also read the feeds a start page announces (<link rel=alternate>), with their next pages (Atom next links, WordPress ?paged=N). Feed URLs given as start URLs are always read.

## `scanSitemaps` (type: `boolean`):

Also read the sitemaps listed in each start site's robots.txt (news sitemaps first, newest first). Sites keep years of URLs there - combine with 'Articles from'.

## `isUrlArticleDefinition` (type: `object`):

A link is opened as an article when ANY rule is true: minDashes = dashes in one path segment (0 = off), hasDate = a date in the path (/2026/10/09/), linkIncludes = text in the URL, hasNumericId = 6+ digit id in the path. Pages are then checked (article schema / og:type, words, date) before saving.

## `linkSelector` (type: `string`):

CSS selector of the links (or blocks holding links) to use on listing pages, e.g. main a or .article-list a. Empty = every link of the page.

## `pseudoUrls` (type: `array`):

Extra listing pages (pagination, categories) to follow, as pseudo-URLs: \[regex] parts inside brackets, the rest literal, e.g. https://www.example.com/category/\[.+]. Used with Max crawl depth >= 1. Articles are still found by the article rules.

## `outputFormat` (type: `string`):

text = plain text in 'content'; markdown = Markdown in 'markdown' (headings, lists, tables); both = both columns.

## `extractFullContent` (type: `boolean`):

Off = metadata only (title, author, date, tags, images ...). Feed and news-sitemap items are then saved from the feed / sitemap without loading the page (much faster).

## `includeImages` (type: `boolean`):

List the article's images (lead image plus images of the article body) in 'images'.

## `extractStructuredData` (type: `boolean`):

Add the article's schema.org JSON-LD object (NewsArticle, Article, BlogPosting ...) in 'structuredData' (without the article body).

## `includeMetadata` (type: `boolean`):

Reads the page's copyright notice (structured data, meta tags or the footer) into `copyright`.

## `saveHtml` (type: `boolean`):

Add the HTML of the article's main content in 'html'.

## `saveHtmlAsLink` (type: `boolean`):

Store each article's full page HTML in the run's key-value store and add its link in 'htmlUrl' (keeps the dataset small).

## `respectRobotsTxt` (type: `boolean`):

Skip pages the site's robots.txt disallows for all crawlers (User-agent: \*). Its Crawl-delay is honoured (up to 10 s).

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

Articles loaded at the same time. Each website still gets at most about one new request per second.

## `requestTimeout` (type: `integer`):

Timeout of each page request, e.g. 30. Raise it for slow sites.

## `maxRetries` (type: `integer`):

Retries after a network error, HTTP 429 or 5xx. A blocked page (anti-bot page) is retried once more on a new proxy session.

## `proxyConfiguration` (type: `object`):

Residential proxy is the default (news sites block datacenter IPs more often). Pick a country when a site serves another edition or blocks foreign visitors.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://news.mit.edu/topic/artificial-intelligence2"
    }
  ],
  "articleUrls": [],
  "sitemapUrls": [],
  "maxArticlesPerCrawl": 30,
  "sortBy": "site",
  "maxArticlesPerStartUrl": 0,
  "maxPagesPerCrawl": 0,
  "maxDepth": 0,
  "dateFrom": "",
  "dateTo": "",
  "onlyArticlesForLastDays": 0,
  "mustHaveDate": true,
  "minWords": 150,
  "keywords": [],
  "onlyNewArticles": false,
  "onlyInsideArticles": true,
  "onlySubdomainArticles": false,
  "crawlWholeSubdomain": false,
  "enqueueFromArticles": false,
  "scanFeeds": false,
  "scanSitemaps": false,
  "isUrlArticleDefinition": {
    "minDashes": 4,
    "hasDate": true,
    "linkIncludes": [
      "article",
      "storyid",
      "?p=",
      "id=",
      "/fpss/track",
      ".html",
      "/content/"
    ],
    "hasNumericId": true
  },
  "linkSelector": "",
  "pseudoUrls": [],
  "outputFormat": "both",
  "extractFullContent": true,
  "includeImages": true,
  "extractStructuredData": false,
  "includeMetadata": true,
  "saveHtml": false,
  "saveHtmlAsLink": false,
  "respectRobotsTxt": true,
  "maxConcurrency": 3,
  "requestTimeout": 30,
  "maxRetries": 2,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {
    "startUrls": [
        {
            "url": "https://news.mit.edu/topic/artificial-intelligence2"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("neuro-scraper/news-article-scraper").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 = {
    "startUrls": [{ "url": "https://news.mit.edu/topic/artificial-intelligence2" }],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("neuro-scraper/news-article-scraper").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 '{
  "startUrls": [
    {
      "url": "https://news.mit.edu/topic/artificial-intelligence2"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call neuro-scraper/news-article-scraper --silent --output-dataset

```

## MCP server setup

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

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/bspgu1nZyzKcgic67/builds/kUlceerFtpaks1HGR/openapi.json
