# TradingView Screener API: Stocks, Crypto & Forex Signals (`topaz_anemone/tradingview-screener-mcp`) Actor

Screen stocks, crypto, or forex across global markets using real-time technical indicators (RSI, MACD, SMA, ADX, Strong Buy rating) and fundamentals.

- **URL**: https://apify.com/topaz_anemone/tradingview-screener-mcp.md
- **Developed by:** [dannis chros](https://apify.com/topaz_anemone) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.99 / 1,000 screened symbol records

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/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 API: Stocks, Crypto & Forex Signals

Run TradingView-style screens from code, schedules and AI agents: **15 ready-made strategies** (top gainers,
unusual volume, oversold RSI, new 52-week highs, uptrends, MACD turns, earnings this week, premarket movers, high
dividend, ...) across **US and 15 global stock markets, crypto and forex**, on **any timeframe from 1 minute to 1 month**.

**$4.99 per 1,000 symbols** · public TradingView scanner · no browser, no login · typically 1-2 s · 256 MB · limited permissions

### Why this screener

- **Intraday-ready**: RSI, MACD, SMA/EMA, ADX, ATR, rating and change % on 1m, 5m, 15m, 1h, 4h, 1D, 1W or 1M.
- **More than prices**: market cap (in the correct local currency), P/E, dividend yield, next earnings date, beta, 52-week high/low and distance, volatility, gap and premarket change, multi-horizon performance.
- **LLM-friendly `trendSignals`**: e.g. `["above_sma200", "macd_above_signal", "near_52w_high"]`, so an agent can reason without recomputing indicators.
- **Bare tickers work**: `["AAPL", "NVDA", "BRK.B"]` or exchange-qualified `["NASDAQ:AAPL", "BINANCE:BTCUSDT"]`.

| | Typical TradingView scrapers on Apify Store | **This Actor** |
|---|---|---|
| Price per 1,000 symbols | up to $50 | **$4.99** |
| Intraday timeframes | rarely | **1m to 1M** |
| Ready-made strategy presets | few | **15** |
| Correct currency for non-US market caps | often mislabeled as USD | **yes** |

### Quick start

```json
{ "market": "america", "preset": "unusual_volume", "maxResults": 25 }
```

```json
{ "market": "crypto", "preset": "oversold_rsi", "timeframe": "1h", "maxResults": 20 }
```

```json
{ "market": "america", "symbols": ["AAPL", "NVDA", "MSFT"] }
```

### Output example (real data)

```json
{
  "symbol": "NASDAQ:NVDA",
  "ticker": "NVDA",
  "name": "NVIDIA Corporation",
  "exchange": "NASDAQ",
  "market": "america",
  "timeframe": "1D",
  "currency": "USD",
  "close": 150.28,
  "changePct": -0.14,
  "changeAbs": -0.21,
  "volume": 86970104.0,
  "relativeVolume10d": 0.211,
  "avgVolume10d": 385189060.3,
  "marketCap": 3621748132200.26,
  "marketCapUsd": 3621748132200.26,
  "peRatioTtm": 16.15,
  "dividendYieldPct": null,
  "nextEarningsDate": "2027-02-24",
  "beta1y": 2.062,
  "rsi14": 38.04,
  "macd": -15.7514,
  "macdSignal": -16.1644,
  "sma20": 166.601,
  "sma50": 200.8376,
  "sma200": 202.493,
  "ema20": 166.1512,
  "adx14": 46.67,
  "atr14": 12.2345,
  "volatilityDayPct": 2.461,
  "high52w": 243.37,
  "low52w": 124.5,
  "distanceFrom52wHighPct": -38.25,
  "gapPct": -2.106,
  "premarketChangePct": -2.12,
  "recommendScore": -0.3758,
  "technicalRating": "SELL",
  "perfWeekPct": -10.03,
  "perfMonthPct": -28.08,
  "perf3MonthPct": -30.67,
  "perf6MonthPct": -32.22,
  "perfYtdPct": -20.84,
  "perfYearPct": -16.05,
  "sector": "Electronic Technology",
  "industry": "Semiconductors",
  "chartUrl": "https://www.tradingview.com/symbols/NASDAQ-NVDA/",
  "trendSignals": [
    "below_sma200",
    "sma50_below_sma200",
    "macd_above_signal"
  ]
}
```

### Presets

| Preset | Logic |
|---|---|
| `top_gainers` / `top_losers` | Biggest % move on the selected timeframe (liquid symbols only) |
| `unusual_volume` | Relative volume above 2x the 10-day average |
| `oversold_rsi` / `overbought_rsi` | RSI(14) below 30 / above 70 |
| `new_52w_high` / `new_52w_low` | Today's high (low) touched the 52-week high (low) |
| `golden_cross_trend` | SMA50 above SMA200 and price above SMA50 |
| `macd_bullish` | MACD above its signal line while still below zero (early turn) |
| `strong_buy_momentum` | TradingView technical rating of Strong Buy |
| `value_large_cap` | Market cap above about $10B and P/E between 0 and 20 |
| `high_dividend` | Dividend yield above 4% and market cap above about $2B |
| `earnings_this_week` | Next earnings release within 7 days |
| `premarket_gainers` | Largest premarket change (US) |
| `custom` | Only your own filters |

### Use cases

- **Daily watchlists and alerts** in Slack, Telegram, Discord or email (see the n8n template).
- **Crypto momentum bots** that screen every hour on the 1h timeframe.
- **Agentic trading research**: "Which large caps made a new 52-week high today and still have RSI under 70?"
- **Dashboards** in Google Sheets, Notion or Airtable.

### Use it from AI agents (MCP)

This Actor runs with **limited permissions**, so it is available to AI agents through the hosted Apify MCP server
and can even be paid for by agents over x402. Add it as a dedicated tool named `topaz_anemone--tradingview-screener-mcp`:

**Claude Desktop / Cursor / Windsurf / VS Code** (`mcp.json` or the app's MCP settings; sign in with OAuth on first use):

```json
{
  "mcpServers": {
    "tradingview-screener-mcp": {
      "url": "https://mcp.apify.com?tools=topaz_anemone/tradingview-screener-mcp"
    }
  }
}
```

**Claude Code**:

```bash
claude mcp add --transport http tradingview-screener-mcp "https://mcp.apify.com?tools=topaz_anemone/tradingview-screener-mcp"
```

Prefer an API token over OAuth? Add the header `"Authorization": "Bearer <APIFY_TOKEN>"`.
Then just ask your agent, for example: *"Which US stocks made a new 52-week high today, and which of them also have unusual volume?"*

### Use it from n8n, Make, Zapier, Python or cURL

**n8n**: import the ready-made workflow from [`n8n-templates/`](https://github.com/dannischros-star/apify-mcp-actors/tree/main/n8n-templates) (schedule, run, de-duplicate,
notify), or call the endpoint below with an *HTTP Request* node using a *Header Auth* credential
(`Authorization: Bearer <APIFY_TOKEN>`).

**cURL** (runs the Actor and returns the dataset items in one call):

```bash
curl -X POST "https://api.apify.com/v2/acts/topaz_anemone~tradingview-screener-mcp/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
  -d '{"market": "america", "preset": "new_52w_high", "maxResults": 20}'
```

**Python** (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("topaz_anemone/tradingview-screener-mcp").call(run_input={
        "market": "america",
        "preset": "new_52w_high",
        "maxResults": 20
    })
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

Every run also writes a `SUMMARY` record to the default key-value store with per-source statistics and timings.

### Pricing

**$0.00499 per returned symbol** (event `screened-symbol`). A daily 25-symbol screen costs about $3.75 per month; an
hourly 10-symbol crypto screen about $36 per month.

### FAQ

**Is this real-time?** Values come from TradingView's public scanner, the same data source as the screener on tradingview.com, which is real-time for some markets and delayed for others according to TradingView's exchange data policies.

**Why is `marketCapUsd` empty for Japanese or European stocks?** Market caps are reported in the market's own currency (see `currency`); `marketCapUsd` is filled only when that currency is USD, so values are never mislabeled. Use `minMarketCapUsd` with an approximate USD amount, the Actor converts it per market.

**Can I screen several markets at once?** Run one market per call; schedules or n8n can loop over markets.

**Is this financial advice?** No. It is a data tool. Do your own research.

### Changelog

**1.1 (2026-11-30)**

- Timeframes from 1 minute to 1 month for every technical column, filter and sort.
- 7 new presets: new 52-week high/low, uptrend, MACD turn, high dividend, earnings this week, premarket gainers.
- Correct local-currency market caps, bare-ticker lookups, 16 markets, `trendSignals`, 52-week distance, earnings date, ATR, volatility and more.

### Support and feedback

Found a bug or need a field? Open an issue on the **Issues** tab of this Actor; fixes usually ship within days.
Source code and n8n templates: [github.com/dannischros-star/apify-mcp-actors](https://github.com/dannischros-star/apify-mcp-actors).

# Actor input Schema

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

Universe to screen. Market caps are reported in each market's own currency (see the 'currency' field).

## `preset` (type: `string`):

Built-in screen (can be combined with the filters below). Liquidity guards keep penny stocks and dead pairs out of every preset except 'Custom'.

## `timeframe` (type: `string`):

Chart timeframe used for RSI, MACD, moving averages, ADX, ATR, rating and change %. Use 1h or 4h for intraday crypto and momentum alerts.

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

Look up specific symbols instead of running a screen, e.g. \['AAPL', 'NVDA', 'BRK.B'] or exchange-qualified \['NASDAQ:AAPL', 'BINANCE:BTCUSDT']. Overrides the preset when filled.

## `maxResults` (type: `integer`):

Maximum number of symbols returned (and charged), 1-500.

## `exchange` (type: `string`):

Optional exchange filter, e.g. 'NASDAQ', 'NYSE', 'BINANCE', 'COINBASE'.

## `sector` (type: `string`):

Optional TradingView sector, e.g. 'Electronic Technology', 'Technology Services', 'Finance', 'Health Technology'.

## `minMarketCapUsd` (type: `number`):

Minimum market capitalization in US dollars (converted with an approximate FX rate for non-US markets), e.g. 1000000000 for $1B+.

## `minVolume` (type: `number`):

Minimum traded volume (shares or units). Overrides the default liquidity guard.

## `minPrice` (type: `number`):

Minimum last price in the market's currency.

## `maxPrice` (type: `number`):

Maximum last price in the market's currency.

## `minRsi` (type: `number`):

Minimum 14-period RSI on the selected timeframe (0-100).

## `maxRsi` (type: `number`):

Maximum 14-period RSI on the selected timeframe (0-100).

## `maxPeRatio` (type: `number`):

Maximum trailing price/earnings ratio (stocks only).

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

Override the preset's ordering. Technical fields follow the selected timeframe.

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

'desc' for highest first, 'asc' for lowest first.

## Actor input object example

```json
{
  "market": "america",
  "preset": "top_gainers",
  "timeframe": "1D",
  "symbols": [],
  "maxResults": 15,
  "sortOrder": "desc"
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

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

No description

## `summary` (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 = {
    "market": "america",
    "preset": "top_gainers",
    "maxResults": 15
};

// Run the Actor and wait for it to finish
const run = await client.actor("topaz_anemone/tradingview-screener-mcp").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 = {
    "market": "america",
    "preset": "top_gainers",
    "maxResults": 15,
}

# Run the Actor and wait for it to finish
run = client.actor("topaz_anemone/tradingview-screener-mcp").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 '{
  "market": "america",
  "preset": "top_gainers",
  "maxResults": 15
}' |
apify call topaz_anemone/tradingview-screener-mcp --silent --output-dataset

```

## MCP server setup

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

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/cqaQ3vGhgZGk7B04N/builds/HjA2B3yHcFLzbuqaU/openapi.json
