# TradingView Stock Screener & Market Scanner (`datamole/tradingview-stock-screener`) Actor

Screen stocks with TradingView data across 68 markets using ready screens like oversold RSI, golden cross, unusual volume and 52 week highs. Each stock has price, market cap, P/E, RSI, MACD, analyst consensus, price target upside and next earnings date, with daily alerts.

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

## Pricing

from $15.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

![DataMole](https://raw.githubusercontent.com/YoiderD/datamole-assets/main/banner.png)

## 📈 TradingView Stock Screener & Market Scanner

> **Screen stocks with TradingView data in 68 markets, from all 503 S\&P 500 members to the IBEX 35, with 19 ready-made screens like oversold RSI, golden cross, unusual volume or 52-week highs.** Every stock comes with 90+ fields: price, market cap in dollars, P/E, RSI, MACD, moving averages, analyst consensus, upside to the price target and the next earnings date.

> 🕒 **Last updated:** 2026-11-06 · **93 fields** per stock · up to 10,000 stocks per market and screen · **68 stock markets** and 17 indexes

**TradingView Stock Screener** runs TradingView's stock scanner for you and returns a clean table you can sort, filter or feed into a spreadsheet, a bot or an AI agent. Pick a market, an index or your own watchlist, add one or more classic screens and filters, and get the stocks that match right now. It also computes what the scanner does not show: upside to the analyst price target, distance from the 52-week high, trend, golden and death crosses, and market cap in dollars so you can compare Tokyo with New York. Turn on **monitor mode** to get only the stocks that just entered your screen.

| 🎯 Who uses it | 💡 What for |
|---|---|
| Swing and day traders, long-term investors, newsletter writers, quant and fintech developers, AI agent builders | Daily stock ideas, watchlist alerts, earnings calendars, dividend and value screens, market breadth and research datasets |

### 📋 What it does

- 🧭 **19 ready-made screens:** top gainers and losers, most traded, unusual volume, gap up and gap down, 52-week highs and lows, oversold and overbought RSI, golden cross, death cross, MACD bullish cross, strong uptrend, technical Strong Buy, analyst Strong Buy, high dividend, low P/E with growing EPS and earnings in the next 7 days. Combine several: each stock says which ones it matched (`matchedScreens`).
- 🌍 **68 stock markets and 17 indexes:** United States, Europe, Asia, Latin America, the Middle East and Africa. Indexes include the S\&P 500, Nasdaq 100, Dow Jones, Russell 2000, FTSE 100, DAX 40, CAC 40, IBEX 35, Nikkei 225, Hang Seng, Nifty 50, Ibovespa and more.
- 📝 **Your own watchlist:** `AAPL`, `NASDAQ:NVDA`, `BME:SAN`, `LSE:BP.` or `TSE:7203`. Screens and filters still apply, so you can ask "which of my stocks are oversold today". Results keep your order.
- 🎚️ **Real filters:** asset type (stocks, ETFs, ADRs, preferred), US exchange, sector, market cap, price, change today, volume, average volume, relative volume, RSI, P/E, dividend yield, analyst consensus, technical rating, above the 200-day average and earnings within N days.
- 🧮 **Computed signals:** `upsideToTargetPercent`, `fromHigh52WeekPercent`, `priceVsSma200Percent`, `trend` (uptrend, downtrend or sideways), `goldenCrossToday`, `deathCrossToday`, `rsiZone`, `macdTrend`, `daysToEarnings` and `marketCapCategory` (Mega to Nano).
- 💱 **Market cap in dollars** (`marketCapUsd`) for every market, with that day's exchange rate, so results from several markets sort correctly.
- 🧾 **Fundamentals and analysts:** revenue, net income, free cash flow, margins, ROE, debt to equity, EPS growth, P/B, P/S, enterprise value, employees and float, plus the analyst count per rating and the average, high and low price targets.
- 👀 **Monitor mode:** schedule a screen daily and get only the stocks that entered it since the last run, like "S\&P 500 stocks that just turned oversold" or "new 52-week highs".

> ℹ️ **Free Apify plan:** runs return a preview of up to 10 stocks. Any paid Apify plan unlocks all results.

### ⚙️ Input

| Field | What it does |
|---|---|
| `screens` | One or more ready-made screens. Empty = your filters only. |
| `markets` | Stock markets to scan (68 available). United States by default. |
| `index` | Screen only the members of an index. Replaces `markets`. |
| `symbols` | Your watchlist, like `AAPL` or `EXCHANGE:TICKER`. |
| `maxItems` | Maximum stocks to return. |
| `sortBy` | Market cap, change %, dollar volume, volume, relative volume, RSI, P/E, dividend yield, performance or next earnings date. |
| `assetTypes` | Common stocks (default), ETFs, depositary receipts (ADRs), preferred stocks. |
| `exchanges` | US only: NASDAQ, NYSE, NYSE American and Cboe by default, OTC optional. |
| `sectors` | TradingView sectors, like Technology Services or Finance. |
| `minMarketCap` / `maxMarketCap`, `minPrice` / `maxPrice` | Size and price, in each company's own currency. |
| `minChangePercent` / `maxChangePercent`, `minVolume`, `minAvgVolume`, `minRelativeVolume` | Today's move and liquidity. |
| `minRsi` / `maxRsi`, `minPe` / `maxPe`, `minDividendYield` | Momentum, valuation and income. |
| `analystRating`, `technicalRating`, `aboveSma200`, `earningsWithinDays` | Consensus, technical rating, long-term trend and upcoming earnings. |
| `monitorMode` / `monitorName` | Return only the stocks that entered the screen since the last run. |

**Example: S\&P 500 stocks that are oversold, with a Buy consensus or better**

```json
{
    "index": "sp500",
    "screens": ["oversold-rsi"],
    "analystRating": "buy"
}
```

**Example: daily alert of US stocks over $2 billion with a golden cross or unusual volume**

```json
{
    "markets": ["america"],
    "screens": ["golden-cross", "unusual-volume"],
    "minMarketCap": 2000000000,
    "monitorMode": true
}
```

**Example: European dividend stocks over 1 billion, rated Buy by analysts**

```json
{
    "markets": ["spain", "germany", "france", "italy", "uk"],
    "screens": ["high-dividend"],
    "analystRating": "buy",
    "minMarketCap": 1000000000,
    "maxItems": 50
}
```

**Example: your watchlist across markets**

```json
{
    "symbols": ["NVDA", "AAPL", "BME:ITX", "LSE:SHEL", "TSE:7203", "NSE:RELIANCE"]
}
```

### 📊 Output

Real record from a cloud run (watchlist, list of indexes cut):

```json
{
    "imageUrl": "https://s3-symbol-logo.tradingview.com/nvidia.svg",
    "symbol": "NASDAQ:NVDA",
    "ticker": "NVDA",
    "name": "NVIDIA Corporation",
    "exchange": "NASDAQ",
    "market": "United States",
    "country": "United States",
    "assetType": "Common stock",
    "sector": "Electronic Technology",
    "industry": "Semiconductors",
    "currency": "USD",
    "price": 188.06,
    "changePercent": 3.56,
    "change": 6.46,
    "gapPercent": 5.23,
    "premarketChangePercent": 5.28,
    "postmarketChangePercent": null,
    "volume": 132809888,
    "avgVolume10d": 131380019,
    "relativeVolume": 1.05,
    "dollarVolume": 24976227537,
    "marketCap": 4532246110579,
    "marketCapCurrency": "USD",
    "marketCapUsd": 4532246110579,
    "marketCapCategory": "Mega",
    "peRatio": 23.77,
    "eps": 7.9106,
    "epsGrowthPercent": 66.7,
    "dividendYieldPercent": 0.26,
    "priceToBook": 19.83,
    "priceToSales": 16.2,
    "beta": 1.72,
    "high52Week": 243.37,
    "low52Week": 164.27,
    "fromHigh52WeekPercent": -22.73,
    "fromLow52WeekPercent": 14.48,
    "perfWeekPercent": -9.99,
    "perf1MonthPercent": -20.88,
    "perf3MonthsPercent": -15.11,
    "perf6MonthsPercent": -11.72,
    "perfYtdPercent": -0.94,
    "perf1YearPercent": -4.26,
    "perf5YearsPercent": 522.98,
    "rsi14": 32.14,
    "rsiZone": "neutral",
    "macd": -8.1242,
    "macdSignal": -5.0181,
    "macdTrend": "bearish",
    "sma20": 211.618,
    "sma50": 219.8416,
    "sma200": 204.6797,
    "ema20": 208.9122,
    "priceVsSma50Percent": -14.46,
    "priceVsSma200Percent": -8.12,
    "trend": "sideways",
    "goldenCrossToday": false,
    "deathCrossToday": false,
    "atr": 7.7688,
    "volatilityDayPercent": 7.18,
    "technicalRating": "Sell",
    "technicalScore": -0.4,
    "movingAveragesRating": "Strong Sell",
    "oscillatorsRating": "Neutral",
    "analystRating": "Strong Buy",
    "analystScore": 1.12,
    "analystBuy": 62,
    "analystOutperform": 7,
    "analystHold": 3,
    "analystUnderperform": 0,
    "analystSell": 1,
    "analystCount": 73,
    "priceTarget": 332.7276,
    "priceTargetHigh": 710.29,
    "priceTargetLow": 180,
    "priceTargetCurrency": "USD",
    "upsideToTargetPercent": 76.93,
    "nextEarningsDate": "2026-11-17T21:00:00.000Z",
    "daysToEarnings": 12,
    "lastEarningsDate": "2026-08-26T20:20:00.000Z",
    "revenueTtm": 302969000000,
    "netIncomeTtm": 192879000000,
    "freeCashFlowTtm": 127006000000,
    "grossMarginPercent": 74.67,
    "netMarginPercent": 63.66,
    "roePercent": 117.21,
    "debtToEquity": 0.17,
    "enterpriseValue": 4471737110579,
    "employees": 42000,
    "floatShares": 23188513900,
    "indexes": ["S&P 500", "NASDAQ 100", "Dow Jones Industrial Average", "NASDAQ Composite", "…"],
    "matchedScreens": [],
    "url": "https://www.tradingview.com/symbols/NASDAQ-NVDA/",
    "screenedAt": "2026-11-06T20:23:54.814Z"
}
```

Outside the US, prices and fundamentals stay in the local currency and `marketCapUsd` converts the size. From the same run: Inditex (`BME:ITX`) at 59.04 EUR, market cap 183.8 billion EUR (`marketCapUsd` 204.7 billion), price target 60.95 EUR, upside 3.24%.

Fields that can be empty:

- Fundamentals, analyst fields and earnings dates for ETFs and for companies that analysts do not cover.
- `premarketChangePercent` and `postmarketChangePercent` outside those sessions, and in markets without extended hours.
- `upsideToTargetPercent` when there is no price target.
- In monitor mode each row also has `isNewInScreen` and `firstSeenAt`.

London prices are in pence (`GBX`), as TradingView quotes them. The upside is computed in pounds, the same unit as the target.

### ✨ Why this one

- ✅ **Screens that answer real questions,** not just a raw market dump: 19 classic setups, combinable, with the match recorded on each stock.
- ✅ **Every index member,** second share classes included (BRK.B, GOOG, FOXA), and ADRs like TSM.
- ✅ **Comparable across markets:** market cap in dollars and correct sorting when you mix New York, London and Tokyo.
- ✅ **Signals computed for you:** upside to target, trend, crosses, distance from highs, days to earnings.
- ✅ **Alerts built in:** monitor mode returns only what changed.

### 🚀 How to use

1. Create a free Apify account.
2. Open the Actor, pick a market, an index or a watchlist, and the screens you want.
3. Click **Start**.
4. Download the results or connect them to Google Sheets, Make, Zapier, n8n or the API. For daily alerts, turn on **monitor mode** and schedule the run.

### 💼 Use cases

- **Swing traders:** oversold or unusual-volume stocks every morning, filtered by size and liquidity.
- **Long-term investors:** high-dividend or low P/E screens with analyst consensus and upside to target.
- **Earnings traders:** every company reporting this week, sorted by date, with consensus and targets.
- **Newsletter and content creators:** daily top gainers, losers and 52-week highs for a market or an index.
- **Developers and AI agents:** a structured stock table to feed models, bots and dashboards.

### ❓ FAQ

**Where does the data come from?** From TradingView's public stock scanner, the same one behind its screener page. No TradingView account or API key is needed.

**How fresh is it?** It is the scanner's data at the moment of the run. TradingView delays some exchanges' quotes by 15 minutes or more for users without a market data subscription, so treat prices as close to real time, not tick data.

**What does "golden cross today" mean?** The 50-day simple moving average crossed above the 200-day one in the latest session. The screen returns only stocks where it happened today; `goldenCrossToday` marks it on every row.

**How is the analyst consensus scored?** `analystScore` goes from 1 (everyone says buy) to 3 (everyone says sell), and `analystRating` is TradingView's own label for it: Strong Buy, Buy, Hold, Sell or Strong Sell.

**Why are market caps in different currencies?** Each company reports in its own currency, so `marketCap` is in `marketCapCurrency`. `marketCapUsd` converts it with that day's exchange rate, and the market cap filters use the company's own currency.

**How does monitor mode work?** The first run remembers every stock in your screen. The next runs with the same settings return only the stocks that entered it since the previous run. A stock that leaves and comes back counts as new again. Use `monitorName` to keep the memory if you change the limit or the order.

**Can I get crypto or forex?** Not in this version: it covers stocks, ETFs, ADRs and preferred shares.

### 🔌 Integrations

Works with the Apify API, schedules, webhooks, Google Sheets, Make, Zapier, n8n, Slack and any tool that reads JSON.

### 🕳️ More from DataMole

| Actor | What it does |
|---|---|
| [Startup Funding Rounds (SEC Form D Tracker)](https://apify.com/datamole/startup-funding-rounds) | US companies that just raised money, straight from SEC filings |
| [Company Enrichment](https://apify.com/datamole/company-enrichment) | Company profile from a domain: contacts, socials and tech |
| [Google News Scraper](https://apify.com/datamole/google-news-scraper) | News by keyword or topic in 50+ country editions |

**Need a field, filter or market we don't cover yet?** Open an issue on this Actor. We read everything.

### ⚖️ Disclaimer

This Actor collects publicly available market data from TradingView's stock scanner. It is not affiliated with or endorsed by TradingView. Data is for information only and is not investment advice. Use it responsibly and in line with applicable laws and the source's terms.

# Actor input Schema

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

Pick one or more classic screens. Each one adds its own conditions on top of your filters, and every stock shows which screens it matched in matchedScreens. Leave empty to screen with your filters only.

## `markets` (type: `array`):

Stock markets to scan. United States by default. Ignored when you pick an index or a watchlist.

## `index` (type: `string`):

Screen only the members of an index, like the S\&P 500 or the IBEX 35. Replaces the markets above.

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

Your own tickers, like AAPL, MSFT or NASDAQ:NVDA. Use EXCHANGE:TICKER for stocks outside the chosen markets (BME:SAN, LSE:BP., TSE:7203). Screens and filters still apply, so you can ask "which of my stocks are oversold today".

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

Maximum number of stocks to return. Up to 10,000 per market and screen.

## `sortBy` (type: `string`):

Order of the results. By default, the order of the only screen you picked (for example biggest gainers first), or market cap.

## `assetTypes` (type: `array`):

Common stocks by default. Add ETFs, ADRs and other depositary receipts, or preferred shares.

## `exchanges` (type: `array`):

For the United States market only. NASDAQ, NYSE, NYSE American and Cboe by default; add OTC to include over-the-counter stocks. Not used with an index or a watchlist.

## `sectors` (type: `array`):

Keep only these sectors (TradingView sector names).

## `minMarketCap` (type: `integer`):

In the company's own currency: USD for US stocks, EUR for Spain, GBP for the UK, JPY for Japan. 2000000000 = 2 billion.

## `maxMarketCap` (type: `integer`):

In the company's own currency.

## `minPrice` (type: `string`):

Last price, in the quote currency. Decimals allowed, like 0.5 or 12.75.

## `maxPrice` (type: `string`):

Last price, in the quote currency.

## `minChangePercent` (type: `string`):

For example 5 for stocks up 5% or more today, or -100 to leave it open.

## `maxChangePercent` (type: `string`):

For example -5 for stocks down 5% or more today.

## `minVolume` (type: `integer`):

Shares traded today.

## `minAvgVolume` (type: `integer`):

Average shares traded per day over the last 10 days. Useful to skip illiquid stocks.

## `minRelativeVolume` (type: `string`):

Today's volume against the 10-day average. 2 = twice the usual volume.

## `minRsi` (type: `integer`):

Relative Strength Index, from 0 to 100.

## `maxRsi` (type: `integer`):

Relative Strength Index, from 0 to 100. Under 30 is usually read as oversold.

## `minPe` (type: `string`):

Price to earnings, trailing twelve months. Use 0.01 to drop loss-making companies.

## `maxPe` (type: `string`):

Price to earnings, trailing twelve months.

## `minDividendYield` (type: `string`):

Current dividend yield in percent, like 3.5.

## `analystRating` (type: `string`):

Keep stocks whose Wall Street analyst consensus is at least this good.

## `technicalRating` (type: `string`):

TradingView's technical rating, built from moving averages and oscillators.

## `aboveSma200` (type: `boolean`):

Keep only stocks trading above their 200-day simple moving average (long-term uptrend).

## `earningsWithinDays` (type: `integer`):

Keep only companies with their next earnings report in the next N days.

## `monitorMode` (type: `boolean`):

Return only the stocks that entered the screen since the last run with the same settings. Schedule it daily to get alerts like "new stocks at a 52-week high" or "S\&P 500 stocks that just turned oversold".

## `monitorName` (type: `string`):

Optional. Name this monitor to keep its memory even if you later change the limit or the order.

## Actor input object example

```json
{
  "screens": [
    "oversold-rsi"
  ],
  "markets": [
    "america"
  ],
  "maxItems": 50,
  "aboveSma200": false,
  "monitorMode": false
}
```

# 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 = {
    "screens": [
        "oversold-rsi"
    ],
    "markets": [
        "america"
    ],
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("datamole/tradingview-stock-screener").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": ["oversold-rsi"],
    "markets": ["america"],
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("datamole/tradingview-stock-screener").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": [
    "oversold-rsi"
  ],
  "markets": [
    "america"
  ],
  "maxItems": 50
}' |
apify call datamole/tradingview-stock-screener --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datamole/tradingview-stock-screener"
        }
    }
}
```

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/9Z5TIXhLs1LjEq14W/builds/6kuOj6riUE7wN8Qwu/openapi.json
