# TradingView Screener Scraper (`neuro-scraper/tradingview-screener-scraper`) Actor

TradingView Screener Scraper SD - TradingView Screener Scraper is a market data tool that extracts stock, crypto, forex and ETF screener rows from TradingView with the columns and filters you choose: price, change, volume, market cap, P/E, sector, ratings, RSI and 3,000+ more fields.

- **URL**: https://apify.com/neuro-scraper/tradingview-screener-scraper.md
- **Developed by:** [Neuro Scraper](https://apify.com/neuro-scraper) (community)
- **Categories:** Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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

### TradingView Screener Scraper — stocks, crypto, forex with any column

The TradingView Screener Scraper runs TradingView's own screener for any market (US stocks, India, UK, crypto, forex, futures, bonds ...) with the columns and filters you choose, and returns every matching row: price, change, volume, market cap, P/E, sector, analyst rating, RSI, moving averages and 3,000+ other fields. No login.

#### Input

| Field | Meaning |
|---|---|
| `markets` | `america`, `india`, `uk`, `germany`, `crypto`, `forex`, `coin`, `futures`, `bond`, `cfd` ... (checked on every run) |
| `columns` | TradingView column names (`close`, `market_cap_basic`, `RSI|60`, `Recommend.All` ...); empty = a set picked from the market's own column list |
| `filters` | AND list, e.g. `[{"left":"market_cap_basic","operation":"greater","right":1000000000}]` |
| `filter2` | Optional OR tree (TradingView's own format) |
| `symbols` | Exact symbols, e.g. `NASDAQ:AAPL` |
| `sortBy`, `sortOrder` | Sort column (default market cap or volume), `desc` / `asc` |
| `maxItems` | Rows per market (default 100) |

#### Output

One row per symbol: `market`, `symbol` (EXCHANGE:TICKER), `ticker`, then one key per chosen column with TradingView's own name (`close`, `market_cap_basic`, `RSI|60` ...), `update_mode` (real-time or delayed) and `scrapedAt`.

#### Measured (2026-10-03, local, see TEST_REPORT.md)

- US stocks over 1 billion market cap: 100 rows in 3-4 s (5,331 match).
- 1,200 US rows in 9 s (3 requests of up to 500 rows). Crypto + forex: 60 rows in 7 s.

#### Limits

- Guests get NASDAQ/NYSE/NSE data 15 minutes delayed (`update_mode: delayed_streaming_900`); crypto and forex are real time.
- An unknown column name comes back empty (TradingView gives no error); the log warns about names missing from the market's list.

#### Example

```json
{"markets": ["america"], "columns": ["name", "close", "change", "volume", "RSI", "sector"], "filters": [{"left": "RSI", "operation": "less", "right": 30}], "sortBy": "volume", "maxItems": 200}
```

# Actor input Schema

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

TradingView screener markets: a country for stocks (america, india, uk, germany, japan, brazil, ...) or an asset class (crypto, coin, forex, futures, bond, cfd). Each market is checked against TradingView first.

## `columns` (type: `array`):

TradingView column names, e.g. name, description, close, change, volume, market_cap_basic, price_earnings_ttm, sector, industry, Recommend.All, RSI, RSI|60 (timeframe in minutes after |), EMA20|15, Perf.W. Empty = a sensible set picked from the market's own column list. update_mode (real-time or delayed) is always added when the market has it.

## `filters` (type: `array`):

AND list of TradingView filters: \[{"left":"market_cap_basic","operation":"greater","right":1000000000}]. Operations measured working: greater, less, equal, nempty, in_range (right = \[a,b]), match (text). Empty = no filter.

## `filter2` (type: `object`):

Optional TradingView 'filter2' operator tree for OR logic, e.g. {"operator":"or","operands":\[{"expression":{"left":"sector","operation":"equal","right":"Finance"}},{"expression":{"left":"sector","operation":"equal","right":"Utilities"}}]}.

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

Only these symbols, in EXCHANGE:TICKER form, e.g. NASDAQ:AAPL, NYSE:IBM, BINANCE:BTCUSDT.

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

Column to sort by, e.g. volume, change, market_cap_basic. Empty = market cap (or volume where there is no market cap).

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

desc = largest first.

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

Maximum rows per market. TradingView returns up to 500 rows per request here; the whole screen (e.g. 13,497 US listings) is reachable.

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

TradingView's scanner answered without a proxy in our tests; residential proxy is the default.

## Actor input object example

```json
{
  "markets": [
    "america"
  ],
  "columns": [
    "name",
    "description",
    "close",
    "change",
    "volume",
    "market_cap_basic",
    "price_earnings_ttm",
    "sector",
    "exchange"
  ],
  "filters": [
    {
      "left": "market_cap_basic",
      "operation": "greater",
      "right": 1000000000
    }
  ],
  "sortOrder": "desc",
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {
    "markets": [
        "america"
    ],
    "columns": [
        "name",
        "description",
        "close",
        "change",
        "volume",
        "market_cap_basic",
        "price_earnings_ttm",
        "sector",
        "exchange"
    ],
    "filters": [
        {
            "left": "market_cap_basic",
            "operation": "greater",
            "right": 1000000000
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("neuro-scraper/tradingview-screener-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 = {
    "markets": ["america"],
    "columns": [
        "name",
        "description",
        "close",
        "change",
        "volume",
        "market_cap_basic",
        "price_earnings_ttm",
        "sector",
        "exchange",
    ],
    "filters": [{
            "left": "market_cap_basic",
            "operation": "greater",
            "right": 1000000000,
        }],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("neuro-scraper/tradingview-screener-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 '{
  "markets": [
    "america"
  ],
  "columns": [
    "name",
    "description",
    "close",
    "change",
    "volume",
    "market_cap_basic",
    "price_earnings_ttm",
    "sector",
    "exchange"
  ],
  "filters": [
    {
      "left": "market_cap_basic",
      "operation": "greater",
      "right": 1000000000
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call neuro-scraper/tradingview-screener-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,neuro-scraper/tradingview-screener-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/x2cuc8mNgq8SSIJ9k/builds/zCkOY81BQhDxVef3x/openapi.json
