# Finviz Scraper - $0.80 / 1000 Screener Rows (`scrapeunblocker/finviz-scraper`) Actor

Finviz as JSON: any stock or ETF screener with paging, all columns as numbers, or a ticker's full snapshot table with analyst ratings and news headlines. $0.80 per 1000 screener rows, $2 per 1000 stock snapshots.

- **URL**: https://apify.com/scrapeunblocker/finviz-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 $0.80 / 1,000 screener rows

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

## Finviz Scraper

Scrape **Finviz** as clean JSON: run **any stock or ETF screener** with paging and get every column as a number, or get a ticker's **full snapshot table** with analyst ratings and news headlines. No API key or login needed.

### Features

- **Stock screener** - paste any Finviz screener link or query string. Overview, valuation, ownership, performance, financial and technical views, with paging across all result pages.
- **Ticker snapshot** - the snapshot table as named numbers (P/E, EPS, market cap, beta, RSI, short float, target price, performance and more), plus sector, industry, country, exchange, company description.
- **Analyst ratings** - firm, action, rating and price target changes.
- **News headlines** - title, source, link and publication time.
- **Numbers as numbers** - `5083.36B` becomes `5083360000000`, percentages are whole percents in fields ending in `Percent`.

### Use cases

- **Stock screening at scale** - export screens to your own database on a schedule.
- **Fundamental research** - compare valuation and financial ratios across a sector.
- **News and sentiment** - collect headlines per ticker.
- **Trading signals** - pull top gainers, unusual volume and other signal screens.

### Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `mode` | string | `screener` | `screener` (one result per row) or `quote` (one result per ticker). |
| `screens` | array | `v=111&f=cap_large` | Finviz screener links or query strings. `v` picks the columns: 111 overview, 121 valuation, 131 ownership, 141 performance, 161 financial, 171 technical. |
| `maxPages` | integer | `1` | Pages per screen, 20 rows each. |
| `tickers` | array | AAPL, MSFT, NVDA | Snapshot: US-listed tickers. |
| `proxyCountry` | string | - | Optional two-letter country code the requests are sent from. |

### Output

A screener row:

```json
{
  "mode": "screener",
  "screen": "v=111&f=cap_large",
  "page": 1,
  "ticker": "AAPL",
  "company": "Apple Inc",
  "sector": "Technology",
  "industry": "Consumer Electronics",
  "country": "USA",
  "marketCap": 5080886740683,
  "peRatio": 38.9582,
  "price": 349.63,
  "changePercent": 2.1205,
  "volume": 13102060,
  "url": "https://finviz.com/quote.ashx?t=AAPL"
}
```

A ticker snapshot has `symbol`, `company`, `website`, `sector`, `industry`, `country`, `exchange`, `quoteTime`, `description`, `analystRatings`, `news` and the snapshot's fields next to them (`price`, `marketCap`, `peRatio`, `eps`, `rsi`, `targetPrice` and many more).

### Pricing

Pay per result: **$0.80 per 1000 screener rows** and **$2 per 1000 ticker snapshots**. An unknown ticker or a screen that matches nothing is listed in the `ERRORS` record of the key-value store and is not charged. A result that repeats is stored and charged once.

# Actor input Schema

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

Stock screener: the rows of any Finviz screen. Ticker snapshot: the full snapshot table of a ticker as named numbers, with analyst ratings and news headlines.

## `screens` (type: `array`):

Finviz screener links or their query strings, such as v=111\&f=cap_large,sec_technology\&o=-marketcap or https://finviz.com/screener.ashx?v=171\&s=ta_topgainers. The v value picks the columns: 111 overview, 121 valuation, 131 ownership, 141 performance, 161 financial, 171 technical.

## `maxPages` (type: `integer`):

How many pages to take from each screen. A page holds 20 rows.

## `tickers` (type: `array`):

US-listed tickers such as AAPL or BRK-B.

## `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
{
  "mode": "screener",
  "screens": [
    "v=111&f=cap_large"
  ],
  "maxPages": 1,
  "tickers": [
    "AAPL",
    "MSFT",
    "NVDA"
  ]
}
```

# 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 = {
    "screens": [
        "v=111&f=cap_large"
    ],
    "maxPages": 1,
    "tickers": [
        "AAPL",
        "MSFT",
        "NVDA"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapeunblocker/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 = {
    "screens": ["v=111&f=cap_large"],
    "maxPages": 1,
    "tickers": [
        "AAPL",
        "MSFT",
        "NVDA",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("scrapeunblocker/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 '{
  "screens": [
    "v=111&f=cap_large"
  ],
  "maxPages": 1,
  "tickers": [
    "AAPL",
    "MSFT",
    "NVDA"
  ]
}' |
apify call scrapeunblocker/finviz-scraper --silent --output-dataset

```

## MCP server setup

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