# Finviz Stock Screener, Fundamentals & Quote Ratios Scraper (`apex-b2b-data/finviz-stock-screener-insider-intel`) Actor

Scrape Finviz stock screener results and full 70+ fundamental & technical quote ratios (P/E, Forward P/E, PEG, ROE, Short Float, RSI, Target Price, Analyst Recom) with quant scoring.

- **URL**: https://apify.com/apex-b2b-data/finviz-stock-screener-insider-intel.md
- **Developed by:** [George Barnes](https://apify.com/apex-b2b-data) (community)
- **Categories:** Business, Automation, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.05 / 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

## Finviz Stock Screener, Fundamentals & Quote Ratios Scraper

Extract live **Finviz Stock Screener** rankings and full **70+ fundamental & technical quote ratios** (`P/E`, `Forward P/E`, `PEG`, `P/S`, `P/B`, `ROE`, `ROA`, `Profit Margin`, `Debt/Eq`, `Short Float`, `RSI (14)`, `Beta`, `Analyst Recom`, `Target Price`, and implied `Upside %`) in seconds—with deterministic `0–100` quant scoring and zero proxy overhead.

### Key Features

- **Custom Finviz Screener Filters (`f=...`) & Sorting (`o=...`):** Supports any Finviz screener filter string (`idx_sp500`, `cap_largeover,fa_pe_u20`, `ta_rsi_os30`, `sh_short_o20`) with automatic multi-page pagination.
- **Direct Ticker Lookup Mode (`mode="tickers"`):** Pass any list of stock symbols (`["NVDA", "MSFT", "AAPL", "PLTR"]`) for instant 70+ metric fundamental & technical enrichment.
- **Target Price Upside & Quant Signal Scoring:** Calculates analyst target price upside percentage and assigns `STRONG_SIGNAL` / `MODERATE_SIGNAL` / `NEUTRAL` tiers.
- **Transparent Pay-Per-Event Pricing (`$1.50 / 1,000` stocks):** Runs in `< 512 MB` RAM with strict `ACTOR_MAX_TOTAL_CHARGE_USD` budget protection.

### AI Agent & MCP Server Integration (Claude, Cursor, n8n)

Use directly in Claude Desktop, Cursor, or custom AI agents via Apify's MCP Server:

```text
https://mcp.apify.com/?tools=apex-b2b-data/finviz-stock-screener-insider-intel
```

### Example Input

```json
{
  "mode": "screener",
  "filters": "idx_sp500",
  "sortOrder": "-marketcap",
  "enrichQuoteSnapshot": true,
  "maxItems": 20
}
```

# Actor input Schema

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

Choose 'screener' to query Finviz Stock Screener filters/rankings, or 'tickers' to fetch full 70+ fundamental & technical ratios for specific stock symbols.

## `filters` (type: `string`):

Comma-separated Finviz filter codes (e.g. 'idx_sp500', 'cap_largeover,fa_pe_u25', 'ta_rsi_os30'). Leave as 'idx_sp500' for S\&P 500.

## `sortOrder` (type: `string`):

Finviz sort parameter such as '-marketcap', '-volume', '-change', 'pe', or 'ticker'.

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

List of stock symbols (e.g. \['NVDA', 'MSFT', 'AAPL', 'AMZN', 'GOOGL']) for deep quote snapshot extraction.

## `enrichQuoteSnapshot` (type: `boolean`):

Fetch each ticker's Finviz quote page to add Forward P/E, PEG, ROE, Short Float, RSI(14), Target Price, and Upside %.

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

Maximum number of enriched stock records to return.

## Actor input object example

```json
{
  "mode": "screener",
  "filters": "idx_sp500",
  "sortOrder": "-marketcap",
  "tickers": [
    "NVDA",
    "MSFT",
    "AAPL"
  ],
  "enrichQuoteSnapshot": true,
  "maxItems": 5
}
```

# Actor output Schema

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

Structured JSON records produced by Finviz Stock Screener, Fundamentals & Quote Ratios Scraper.

# 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 = {
    "mode": "screener",
    "filters": "idx_sp500",
    "sortOrder": "-marketcap",
    "tickers": [
        "NVDA",
        "MSFT",
        "AAPL"
    ],
    "enrichQuoteSnapshot": true,
    "maxItems": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("apex-b2b-data/finviz-stock-screener-insider-intel").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 = {
    "mode": "screener",
    "filters": "idx_sp500",
    "sortOrder": "-marketcap",
    "tickers": [
        "NVDA",
        "MSFT",
        "AAPL",
    ],
    "enrichQuoteSnapshot": True,
    "maxItems": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("apex-b2b-data/finviz-stock-screener-insider-intel").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 '{
  "mode": "screener",
  "filters": "idx_sp500",
  "sortOrder": "-marketcap",
  "tickers": [
    "NVDA",
    "MSFT",
    "AAPL"
  ],
  "enrichQuoteSnapshot": true,
  "maxItems": 5
}' |
apify call apex-b2b-data/finviz-stock-screener-insider-intel --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,apex-b2b-data/finviz-stock-screener-insider-intel"
        }
    }
}
```

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/facjBco8PjrkKdxzz/builds/nl4X9gLGmP06aIsqj/openapi.json
