# Marketwatch Rss Scraper (`b2b_lead_generation/marketwatch-rss-scraper`) Actor

Collect MarketWatch financial news, headlines, and summaries from public RSS feeds. Filter by keywords or age, and export clean datasets into JSON, CSV, or Excel for research and market monitoring.

- **URL**: https://apify.com/b2b_lead_generation/marketwatch-rss-scraper.md
- **Developed by:** [B2B Lead Generation](https://apify.com/b2b_lead_generation) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 results

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

## MarketWatch RSS Scraper

![MarketWatch RSS Scraper cover](https://images.bigibyte.com/cdn-cgi/image/width=1260,height=540,fit=cover,format=webp/apify-actors-covers/marketwatch-rss-scraper-cover.png)

Collect MarketWatch news headlines from publicly accessible feeds. Choose a feed mode, set a result limit, and optionally filter articles by keyword or publication age. Get structured records containing headlines, summaries, links, publication dates, authors, and available media URLs. Export results in JSON, CSV, Excel, and other supported dataset formats.

### What It Does

This actor collects news items from MarketWatch RSS feeds and saves each item as a separate dataset record. Results include available article details and media information.

Duplicate items are removed using their GUID, with the article link used as a fallback. Use `maxItems` to control the number of returned records.

### Modes

- **Main Feed (`feed`)**: Collects items from the main MarketWatch news feed.
- **Section Feed**: Collects items from the MarketWatch realtime headlines feed using the same record format.
- **Custom Feeds**: Supply your own RSS feed URLs through `feedUrls`.

Feeds provide the latest available items. Schedule recurring runs to build a historical dataset over time.

### Input Example

```json
{
  "mode": "feed",
  "feedUrls": [],
  "keywords": [],
  "maxItems": 50,
  "requestDelayMs": 500,
  "userAgent": "ActorResearch/1.0",
  "timeoutSecs": 300,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

### Input Parameters

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `feed` | Select the main or section feed. |
| `feedUrls` | array | Mode default | RSS feed URLs to collect from. |
| `keywords` | array | `[]` | Keep items matching any supplied keyword. |
| `sinceHours` | integer | Not specified | Exclude items older than the specified number of hours. |
| `maxItems` | integer | `100` | Maximum number of successful records to return. |
| `userAgent` | string | `ActorResearch/1.0` | Request User-Agent value. |
| `requestDelayMs` | integer | `500` | Delay between requests in milliseconds. |
| `timeoutSecs` | integer | `300` | Overall run timeout in seconds. |
| `requestTimeoutSecs` | integer | `30` | Individual request timeout in seconds. |
| `proxyConfiguration` | object | Off | Configure proxy usage for requests. |

### Output Example

```json
{
  "guid": "WP-MKTW-0005279604",
  "itemTitle": "'I have no children': My aunt gave me $50,000 for a down payment. Now she wants me to leave my home to her two children.",
  "summaryText": "The house cost $385,000. With my savings, her $50,000 and a small mortgage, I was able to close.",
  "itemLink": "https://www.marketwatch.com/story/i-have-no-children-my-aunt-gave-me-50-000-for-a-down-payment-she-wants-me-to-leave-my-home-to-her-two-children-24fad94c?mod=mw_rss_topstories",
  "pubDate": "Sun, 11 Oct 2026 20:15:00 GMT",
  "creator": "Quentin Fottrell",
  "content": "https://images.mktw.net/im-91758975",
  "scraped_at": "2026-10-26T00:00:00+00:00"
}
```

### Output Fields

| Field | Description |
|---|---|
| `guid` | Feed item's unique identifier. |
| `itemTitle` | Article headline. |
| `summaryText` | Available article summary. |
| `itemLink` | Article URL. |
| `pubDate` | Publication date and time. |
| `creator` | Article author when available. |
| `source_url` | Feed source URL. |
| `scraped_at` | Date and time the record was collected. |

### Use Cases

- **Market News Monitoring:** Collect MarketWatch headlines for market research and reporting.
- **Headline Tracking:** Follow realtime headlines and monitor developing topics.
- **Keyword Research:** Find articles mentioning selected companies, tickers, or financial themes.
- **Research and Analysis:** Export structured news records for spreadsheet analysis.
- **News Alerts:** Schedule recurring runs and identify newly published items for notification workflows.

### Frequently Asked Questions

**Who can use this actor?**

It is useful for analysts, researchers, marketers, and developers who need structured MarketWatch news data.

**What information does it collect?**

Records can include headlines, summaries, article links, publication dates, authors, and media content URLs when available.

**Can I filter articles by keyword?**

Yes. Use `keywords` to keep feed items matching any of your selected terms.

**Can I collect articles from custom feeds?**

Yes. Provide RSS feed URLs through `feedUrls`.

**Can I collect news regularly?**

Yes. Configure an Apify schedule to run the actor periodically. Each run collects the latest available feed items, allowing you to build a dataset over time.

**Which export formats are supported?**

You can export the resulting dataset as JSON, CSV, Excel, and other supported Apify dataset formats.

### Trademark Notice

MarketWatch and Dow Jones are trademarks of their respective owners. They are mentioned only to identify the source of the collected information. This actor is an independent tool and is not affiliated with or endorsed by either company.

### Is Web Scraping Legal?

This actor collects publicly accessible MarketWatch news feed data without bypassing login screens, paywalls, or technical security measures. How collected information can be used depends on applicable laws and the source website's policies.

- **Personal Data:** Article records may include author names or other identifying information. Handle personal data responsibly and consider applicable privacy laws, including GDPR and CCPA.
- **Copyright and Licensing:** Headlines, summaries, images, and other published content may be protected by copyright. Avoid unauthorized reproduction or redistribution, and follow applicable licensing and attribution requirements.
- **Platform Terms and Rate Limits:** Respect MarketWatch and Dow Jones policies, applicable terms, and request limits. Keep collection activity reasonable.
- **Disclaimer:** This information is general guidance, not legal advice. Consult a qualified professional if you need advice about your intended use.

For more information, read [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/).

# Actor input Schema

## `mode` (type: `string`):

What to collect. Main feed is top stories; section feed is realtime headlines.

## `feedUrls` (type: `array`):

RSS URLs to read. Leave empty to use the default URL for the selected mode.

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

Keep only items whose title or summary contains any of these keywords (case-insensitive).

## `sinceHours` (type: `integer`):

Drop items older than N hours. Leave empty to keep all items from the feed.

## `maxItems` (type: `integer`):

Stop after this many successful rows. Hard max is 1000.

## `userAgent` (type: `string`):

User-Agent header sent with each request.

## `requestDelayMs` (type: `integer`):

Milliseconds to wait between requests.

## `timeoutSecs` (type: `integer`):

Overall run budget in seconds.

## `requestTimeoutSecs` (type: `integer`):

Per-request timeout in seconds.

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

Optional proxy. Leave off unless you need it.

## Actor input object example

```json
{
  "mode": "feed",
  "feedUrls": [
    ""
  ],
  "keywords": [
    "Tesla"
  ],
  "maxItems": 100,
  "userAgent": "ActorResearch/1.0",
  "requestDelayMs": 500,
  "timeoutSecs": 300,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Dataset rows in the overview table.

## `dataset` (type: `string`):

Full dataset for this run.

## `items` (type: `string`):

Dataset items as JSON.

# 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 = {
    "feedUrls": [
        ""
    ],
    "keywords": [
        "Tesla"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("b2b_lead_generation/marketwatch-rss-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 = {
    "feedUrls": [""],
    "keywords": ["Tesla"],
}

# Run the Actor and wait for it to finish
run = client.actor("b2b_lead_generation/marketwatch-rss-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 '{
  "feedUrls": [
    ""
  ],
  "keywords": [
    "Tesla"
  ]
}' |
apify call b2b_lead_generation/marketwatch-rss-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,b2b_lead_generation/marketwatch-rss-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/UFyBPc6iFfLBAs8zd/builds/a3TQmERdP4h0TWRZ9/openapi.json
