# Advanced Finviz Scraper (`saswave/advanced-finviz-scraper`) Actor

finviz.com website scraper. Collect data from public listed companies.
Extract data at scale for easier analysis and insider trade / news monitoring. For new feature, contact us or create an issue

- **URL**: https://apify.com/saswave/advanced-finviz-scraper.md
- **Developed by:** [SASWAVE](https://apify.com/saswave) (community)
- **Categories:** News, Social media, SEO tools
- **Stats:** 16 total users, 0 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

$12.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/actors/running/actors-in-store.md#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

### Finviz Scraper – Stock Market Data, Insider Trading & News Extractor

Extract structured financial data from Finviz.com at scale.

This actor allows you to scrape:

Stock screener results

Insider trading activity

Real-time financial news

Company metrics

Perfect for traders, analysts, finance teams, and data engineers who want automated stock intelligence.

### 📊 Stock Screener Extraction

Scrape any Finviz screener URL and get structured data including:

Company name

Ticker

Sector & industry

Country

Market capitalization

P/E ratio

Price

Volume

Percentage change

Rank number

Custom filter fields (depending on your screener query)

Ideal for:

Portfolio building

Market scanning

Quant research

Opportunity detection

### 🧠 Insider Trading Data

Track insider activity for public companies:

Insider name

Role & relationship to company

Transaction type (Buy/Sell)

Transaction date

Share price

Total transaction value

SEC Form 4 URL

Direct link to Finviz insider page

Useful for:

Smart money tracking

Risk assessment

Strategy validation

### 📰 News Scraping

Harvest real-time financial news including:

Headline

Source URL

Publication time

Related tickers

Great for:

Event-driven strategies

Alerts & automation

News sentiment analysis

### Ouput example

News

```json
{
  "title": "U.S., China Agree to Large Tariff Cuts; Global Markets Rally",
  "url": "https://www.wsj.com/livecoverage/stock-market-today-tariffs-trade-war-05-12-2025",
  "time": "05:39AM",
  "tickers": []
}
```

Insiders Trading

```json
{
  "ticker_link": "https://finviz.comquote.ashx/?t=JOBY&b=2",
  "ticker": "JOBY",
  "owner_link": "https://finviz.cominsidertrading.ashx/?oc=1877717&tc=7&b=2",
  "owner": "Papadopoulos Didier",
  "relationship": "President of Aircraft OEM",
  "date": "May 08 '25",
  "transaction": "Sale",
  "cost": "7.00",
  "value_($)": "20,293",
  "sec_form_4_link": "http://www.sec.gov/Archives/edgar/data/1819848/000181984825000340/xslF345X05/wk-form4_1746841106.xml",
  "sec_form_4": "May 09 09:38 PM"
}
```

Screener (overview, data will change depending on the category selected from your url search)

```json
{
  "ticker": "A",
  "ticker_link": "https://finviz.com/quote.ashx?t=A&ty=c&p=d&b=1",
  "data": {
    "company": "Agilent Technologies Inc",
    "sector": "Healthcare",
    "industry": "Diagnostics & Research",
    "country": "USA",
    "market_cap": "30.49B",
    "p/e": "24.57",
    "price": "106.93",
    "change": "-1.63%",
    "volume": "1,369,536",
    "no.": "1"
  }
}
```

### 🧠 Use cases

This scraper is ideal for:

📈 Trading strategies

🧮 Quantitative analysis

🔁 Portfolio monitoring

🕵 Insider risk detection

📰 Financial alerts

🤖 Automation pipelines

📊 Market research

🏦 Investment intelligence

### ⚡ Performance

Typical throughput:

Thousands of records per run

Optimized for pagination & filtering

Handles large screener queries efficiently

### 🛟 SUPPORT

Share your runs with the developer team and create issues on error to help us improve actor quality.

You might discover edge case we didn't test yet

We stay available anytime

# Actor input Schema

## `feature` (type: `string`):

Select your feature with provided input

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

The best option is usually Automatic proxy. But you can also use your own proxies or no proxy

## `news_category` (type: `string`):

Select your category to extract news from

## `insiders_category` (type: `string`):

Select your category to extract insider trade from

## `screener_url` (type: `string`):

Search url to extract listings data from

## `max_page` (type: `integer`):

Maximum depth to stop at (0 = no limit)

## Actor input object example

```json
{
  "feature": "news",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": []
  },
  "news_category": "market",
  "insiders_category": "latest",
  "screener_url": "https://finviz.com/screener.ashx",
  "max_page": 1
}
```

# Actor output Schema

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

No description

# 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 = {
    "feature": "news",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": []
    },
    "news_category": "market",
    "insiders_category": "latest",
    "screener_url": "https://finviz.com/screener.ashx",
    "max_page": 1
};

// Run the Actor and wait for it to finish
const run = await client.actor("saswave/advanced-finviz-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 = {
    "feature": "news",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": [],
    },
    "news_category": "market",
    "insiders_category": "latest",
    "screener_url": "https://finviz.com/screener.ashx",
    "max_page": 1,
}

# Run the Actor and wait for it to finish
run = client.actor("saswave/advanced-finviz-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 '{
  "feature": "news",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": []
  },
  "news_category": "market",
  "insiders_category": "latest",
  "screener_url": "https://finviz.com/screener.ashx",
  "max_page": 1
}' |
apify call saswave/advanced-finviz-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,saswave/advanced-finviz-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/3cf6vcVbd5azGRZX0/builds/qlbKH844G7GwJhzhO/openapi.json
