# MarketWatch Scraper - $3 / 1000 Stocks (`scrapeunblocker/marketwatch-scraper`) Actor

MarketWatch stock data as JSON: price, change, key data, performance, analyst consensus and price targets, EPS estimates, rating changes, competitors and news headlines, for US and international listings. $3 per 1000 stocks.

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

## Pricing

from $3.00 / 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.

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 Scraper

Scrape **MarketWatch** stock pages as clean JSON: price, key data, performance, analyst consensus and price targets, EPS estimates, competitors and news headlines, for US and international listings.

### Features

- **Quote** - price, change, previous close, market state and quote time.
- **Key data** - open, day and 52-week ranges, market cap, shares, beta, P/E, EPS, dividend, short interest.
- **Analyst estimates** - consensus, price targets, yearly and quarterly EPS estimates, rating history and recent rating changes.
- **Performance** - from 5 days to 1 year.
- **Competitors and headlines** - peers with market cap, and recent news with sources and links.

### Use cases

- **Stock research** - collect estimates and key data for a watchlist.
- **News monitoring** - follow the headlines attached to each ticker.
- **Dashboards** - feed quotes and analyst data to your own tools on a schedule.

### Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `symbols` | array | AAPL, MSFT, BP:uk | Tickers. Outside the US add MarketWatch's country code after a colon, such as `BP:uk`, `SAP:xe`, `7203:jp`. |
| `proxyCountry` | string | - | Optional two-letter country code the requests are sent from. |

### Output

```json
{
  "symbol": "AAPL",
  "name": "Apple Inc.",
  "exchange": "U.S.: Nasdaq",
  "price": 348.97,
  "change": 6.6,
  "changePercent": 1.93,
  "previousClose": 342.37,
  "marketState": "open",
  "quoteTime": "2026-11-09T09:55:00-05:00",
  "keyData": {"marketCap": 4980000000000, "peRatio": 39.02, "eps": 8.97, "week52High": 355.38},
  "performance": {"5d": 3.15, "ytd": 28.36},
  "analyst": {"consensus": "Overweight", "ratingsCount": 48, "targetPrice": {"high": 405, "average": 339.72}},
  "competitors": [{"name": "Microsoft Corp.", "symbol": "MSFT", "marketCap": 3940000000000}],
  "headlines": [{"title": "...", "source": "Benzinga.com", "publishedAt": "2026-11-09T14:33:45Z", "url": "https://..."}]
}
```

### Pricing

**$3 per 1000 stocks.** A symbol that fails is not charged: those are listed in the run's `ERRORS` record. Repeated inputs are charged once.

### Notes

- Figures are in the listing's own units, and some non-US listings mix them: a London price is in pence and its market cap in pounds.
- Price targets, EPS estimates and rating history come with US listings. Other listings carry the consensus and number of ratings.
- `unavailable` lists any section that could not be read on that run.
- The data is for information only and is not investment advice.

# Actor input Schema

## `symbols` (type: `array`):

Tickers. For a listing outside the US add MarketWatch's country code after a colon: BP:uk (London), SAP:xe (Xetra), 7203:jp (Tokyo).

## `proxyCountry` (type: `string`):

Optional two-letter country code the requests are sent from, such as US or DE. Leave empty to let the scraper choose.

## Actor input object example

```json
{
  "symbols": [
    "AAPL",
    "MSFT",
    "BP:uk"
  ]
}
```

# Actor output Schema

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

Collected results

# 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 = {
    "symbols": [
        "AAPL",
        "MSFT",
        "BP:uk"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapeunblocker/marketwatch-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 = { "symbols": [
        "AAPL",
        "MSFT",
        "BP:uk",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("scrapeunblocker/marketwatch-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 '{
  "symbols": [
    "AAPL",
    "MSFT",
    "BP:uk"
  ]
}' |
apify call scrapeunblocker/marketwatch-scraper --silent --output-dataset

```

## MCP server setup

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