# Stock Market Movers Scraper Pro (`xtech/market-movers-scraper-pro`) Actor

Scrape real-time market movers (top gainers and losers) for major stock indices including Dow Jones, NASDAQ 100, S\&P 500, FTSE 100, ESTOXX, and DAX. Get comprehensive stock data with prices, changes, and performance metrics.

- **URL**: https://apify.com/xtech/market-movers-scraper-pro.md
- **Developed by:** [Xtech](https://apify.com/xtech) (community)
- **Categories:** Developer tools, Automation, News
- **Stats:** 4 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$25.00/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#rental-actors

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## 📊 Market Movers Scraper PRO

Scrape real-time market movers (top gainers and losers) for major stock indices including Dow Jones, NASDAQ 100, S\&P 500, FTSE 100, ESTOXX, and DAX. Get comprehensive stock data with prices, changes, and performance metrics.

### 📥 Input Parameters

| Parameter     | Type   | Required | Description                                                     |
| ------------- | ------ | -------- | --------------------------------------------------------------- |
| `marketIndex` | String | ✅       | Select the market index to scrape (Dow Jones, NASDAQ 100, etc.) |

#### Example Input

```json
{
    "marketIndex": "dow_jones"
}
```

### 📤 Output Data

Each scraped index produces comprehensive market mover data:

#### Market Movers Result

```json
{
    "index": "Dow Jones",
    "topGainers": [
        {
            "name": "Amazon",
            "symbol": "AMZN",
            "currentPrice": 231.47,
            "previousClose": 228.15,
            "dailyLow": 230.32,
            "dailyHigh": 232.14,
            "priceChange": 3.32,
            "percentageChange": 1.46,
            "tradeTime": "10:03 AM09/15/2025",
            "threeMonthChange": 17.13,
            "threeMonthPercentage": 8.03,
            "sixMonthChange": 33.74,
            "sixMonthPercentage": 17.16,
            "oneYearChange": 45.81,
            "oneYearPercentage": 24.83
        }
    ],
    "topLosers": [
        {
            "name": "Some Stock",
            "symbol": "STOCK",
            "currentPrice": 150.25,
            "previousClose": 155.8,
            "dailyLow": 148.5,
            "dailyHigh": 156.2,
            "priceChange": -5.55,
            "percentageChange": -3.56,
            "tradeTime": "10:03 AM09/15/2025",
            "threeMonthChange": -12.45,
            "threeMonthPercentage": -7.65,
            "sixMonthChange": -8.32,
            "sixMonthPercentage": -5.24,
            "oneYearChange": 15.67,
            "oneYearPercentage": 11.62
        }
    ],
    "scrapedAt": "2025-09-15T14:30:00.000Z"
}
```

### 🤖 Getting Started

#### 1. Select Market Index

Choose from the available market indices in the dropdown:

- **Dow Jones** - US industrial stocks
- **NASDAQ 100** - Technology-heavy US stocks
- **S\&P 500** - Broad US market representation
- **FTSE 100** - UK stock market
- **ESTOXX** - European stock market
- **DAX** - German stock market

#### 2. Run the Scraper

1. Select your desired market index from the dropdown
2. Click "Run" to start scraping
3. Monitor progress in real-time
4. View results in the dataset

#### 3. View Results

Access your scraped data through:

- **Dataset**: Complete market mover data
- **Overview**: Summary of scraped indices
- **Gainers**: Detailed view of top performers
- **Losers**: Detailed view of underperformers

### 📊 Key Features

- ✅ **Multiple Indices**: Support for major global stock indices
- ✅ **Real-time Data**: Current prices and trade information
- ✅ **Comprehensive Metrics**: Price changes, percentages, and ranges
- ✅ **Historical Performance**: 3-month, 6-month, and 1-year data
- ✅ **Stock Symbols**: Automatic symbol extraction
- ✅ **Structured Output**: Clean, organized data format
- ✅ **Fast Performance**: Efficient scraping without browser overhead
- ✅ **Reliable Operation**: Robust error handling and validation

### 🔧 Data Fields Explained

#### Stock Data Fields

| Field                  | Type   | Description                               |
| ---------------------- | ------ | ----------------------------------------- |
| `name`                 | String | Company/stock name                        |
| `symbol`               | String | Stock ticker symbol (e.g., AAPL, GOOGL)   |
| `currentPrice`         | Number | Current trading price                     |
| `previousClose`        | Number | Previous day's closing price              |
| `dailyLow`             | Number | Lowest price during trading day           |
| `dailyHigh`            | Number | Highest price during trading day          |
| `priceChange`          | Number | Absolute price change from previous close |
| `percentageChange`     | Number | Percentage change from previous close     |
| `tradeTime`            | String | Last trade timestamp                      |
| `threeMonthChange`     | Number | 3-month absolute price change             |
| `threeMonthPercentage` | Number | 3-month percentage change                 |
| `sixMonthChange`       | Number | 6-month absolute price change             |
| `sixMonthPercentage`   | Number | 6-month percentage change                 |
| `oneYearChange`        | Number | 1-year absolute price change              |
| `oneYearPercentage`    | Number | 1-year percentage change                  |

### 📊 Dataset Views

#### Overview

- Summary table showing scraped indices and stock counts

#### Gainers Table

- Detailed view of top performing stocks
- Sortable by percentage change, price change, or symbol

#### Losers Table

- Detailed view of underperforming stocks
- Sortable by percentage change, price change, or symbol

### 🚨 Important Notes

- **Data Freshness**: Stock data is scraped in real-time but may have slight delays
- **Market Hours**: Results may vary during market open/close hours
- **Data Accuracy**: Information is provided as-is from market sources
- **Usage Limits**: Respect rate limits and usage guidelines

### 📞 Support

For issues with:

- **Data Quality**: Check if markets are currently open
- **Missing Data**: Some indices may have limited stock information
- **Actor Issues**: Review the console logs for detailed error messages

***

**Built with ❤️ by XTech**

# Actor input Schema

## `marketIndex` (type: `string`):

Select the stock market index you want to scrape market movers data for.

## Actor input object example

```json
{
  "marketIndex": "dow_jones"
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("xtech/market-movers-scraper-pro").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("xtech/market-movers-scraper-pro").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call xtech/market-movers-scraper-pro --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=xtech/market-movers-scraper-pro",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/y1MUhNVJrdLkKPn1Y/builds/EIy4haMMEITXxUG1F/openapi.json
