# TradingView Stock, Crypto & Forex Screener (`wyle/tradingview-screener-scraper`) Actor

Extract real-time stocks, cryptocurrencies, and forex pairs from TradingView Scanner without login. Collect prices, daily change, volume, market cap, RSI, EMA50, EMA200, P/E ratio, sector, and Buy/Sell technical signals. Export CSV, Excel, JSON, or API.

- **URL**: https://apify.com/wyle/tradingview-screener-scraper.md
- **Developed by:** [Willy Lengkong](https://apify.com/wyle) (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.70 / 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

## TradingView Stock, Crypto & Forex Screener

Collect real-time stock, cryptocurrency, and forex screener data from **TradingView** — without a browser or TradingView account. Extract last prices, daily percentage changes, trading volume, market capitalization, P/E ratios, dividend yields, RSI (14), EMA50, EMA200, sector breakdowns, and Buy/Sell technical signals to **CSV, Excel, JSON, or API**.

***

### Ways to Use

| Mode | Input Field | What You Get |
| :--- | :--- | :--- |
| **Top Market Movers** | `market` + `sortBy` | Top US, Crypto, Forex, or international equities ranked by volume, market cap, % change, or technical score |
| **Ticker / Keyword Screener** | `tickerFilter` | Isolate specific symbols or company names (e.g., `["NVDA", "AAPL", "BTC"]`) |
| **Global Market Coverage** | `market` | Scan `america`, `crypto`, `forex`, `india`, `indonesia`, `uk`, `germany`, `japan`, `canada`, `australia`, `hongkong`, or `singapore` |

***

### Key Features

- **Technical Rating & Signal Classification:** Returns raw `recommendAll` numeric oscillator/MA score plus human-readable `signal` (`Strong Buy`, `Buy`, `Neutral`, `Sell`, `Strong Sell`).
- **Indicators Included:** `rsi`, `ema50`, `ema200`, `peRatio`, `dividendYield`, `volume`, `marketCap`, and `changePercent`.
- **Zero Null Output:** Consistent typed defaults (`""`, `0.0`) ready for Excel, quant models, dashboards, or AI pipelines.

***

### Proxy & Run Tips

- **No Proxy Needed:** Runs fast directly against the public TradingView Scanner endpoint with `useApifyProxy: false`.

***

### Use Cases

- **Quant & Algorithmic Watchlists:** Pull daily top-volume or oversold (`RSI`) equities and crypto pairs into Python or n8n pipelines.
- **Global Equity Screening:** Monitor regional exchanges across US, UK, EU, India, Indonesia, Japan, Singapore, Australia, and Canada.
- **Market Dashboards & Alerts:** Feed normalized prices and `signal` ratings into Telegram bots, Slack alerts, or Google Sheets.

***

### Input Parameters

| Field | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `market` | `string` | `"america"` | Market scanner (`america`, `crypto`, `forex`, `india`, `indonesia`, `uk`, `germany`, `japan`, `canada`, `australia`, `hongkong`, `singapore`). |
| `sortBy` | `string` | `"volume"` | Sort column (`volume`, `market_cap_basic`, `change`, `close`, `Recommend.All`, `RSI`). |
| `sortOrder` | `string` | `"desc"` | Sort direction (`desc` or `asc`). |
| `tickerFilter` | `array` | `[]` | Optional ticker symbols or description keywords to filter. |
| `maxItems` | `integer` | `50` | Maximum assets to return (`1`–`2000`). |
| `proxyConfiguration` | `object` | `{"useApifyProxy": false}` | Optional Apify Proxy configuration. |

***

### Sample Output

```json
{
  "symbol": "OTC:RDAR",
  "ticker": "RDAR",
  "description": "Telvantis, Inc.",
  "exchange": "OTC",
  "market": "america",
  "type": "stock",
  "sector": "Technology Services",
  "currency": "USD",
  "close": 0.0002,
  "changePercent": 0.0,
  "volume": 1660870220.0,
  "marketCap": 1599252.0,
  "peRatio": 0.0,
  "dividendYield": 0.0,
  "rsi": 51.053783,
  "ema50": 0.000193,
  "ema200": 0.000258,
  "recommendAll": 0.224242,
  "signal": "Buy",
  "url": "https://www.tradingview.com/symbols/OTC-RDAR/",
  "pageNumber": 1
}
```

# Actor input Schema

## `market` (type: `string`):

Select the asset class or regional stock market to scan.

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

Rank returned tickers by market cap, volume, daily change, or technical score.

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

Descending (highest first) or Ascending (lowest first).

## `tickerFilter` (type: `array`):

Optional list of ticker symbols or description keywords (e.g. \['NVDA', 'AAPL', 'BTC']). Leave empty for top market movers.

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

Maximum number of screened assets to extract (1 to 2000).

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

Optional Apify Proxy settings. Direct requests work cleanly without a proxy.

## Actor input object example

```json
{
  "market": "america",
  "sortBy": "volume",
  "sortOrder": "desc",
  "tickerFilter": [],
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": 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 = {
    "tickerFilter": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("wyle/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 = { "tickerFilter": [] }

# Run the Actor and wait for it to finish
run = client.actor("wyle/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 '{
  "tickerFilter": []
}' |
apify call wyle/tradingview-screener-scraper --silent --output-dataset

```

## MCP server setup

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