# TradingView Scraper - Screener, Quotes, Technicals & Ideas (`scrapesage/tradingview-scraper`) Actor

Scrape TradingView: multi-market screener (stocks/crypto/forex/futures, 60+ countries) with fundamentals & technical ratings, full symbol quotes, multi-timeframe Buy/Sell technical analysis, trader ideas (sentiment), news & symbol search. Monitor new ideas, matches & price/rating changes.

- **URL**: https://apify.com/scrapesage/tradingview-scraper.md
- **Developed by:** [Scrape Sage](https://apify.com/scrapesage) (community)
- **Categories:** News, Automation, Developer tools
- **Stats:** 2 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 screener rows

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## TradingView Scraper — Screener, Quotes, Technicals, Trader Ideas & News

Pull **everything TradingView shows** from one actor: a **multi-market screener** (stocks, crypto, forex, futures across 60+ countries), **full symbol quotes**, **multi-timeframe technical analysis** (the Buy/Sell gauge), **trader ideas** (community sentiment & long/short calls), **news headlines**, and **symbol search** — as clean JSON.

No login, no API key, no browser. Fast HTTP extraction straight from TradingView's own scanner, symbol, ideas and news endpoints.

### Why this TradingView scraper?

Every other TradingView actor does **one** thing — *only* the screener, *or* *only* ideas. This actor is the **all-in-one**: screener + quotes + technicals + ideas + news + search, plus a **monitor mode** none of them have, at a fraction of their price.

| Capability | Typical TradingView scrapers | This actor |
|---|---|---|
| Multi-market screener (stocks/crypto/forex/futures, 60+ countries) | partial | ✅ |
| Full fundamentals (P/E, EPS growth, margins, ROE, debt, FCF) | ❌ | ✅ 90+ fields |
| Technical rating + every indicator (RSI, MACD, ADX, MAs, Bollinger…) | partial | ✅ |
| **Multi-timeframe** Buy/Sell gauge (1m → 1M) | ❌ | ✅ |
| Trader **ideas** with full text, direction, author & reputation | separate actor | ✅ |
| **Chart snapshot image** per idea | ❌ | ✅ |
| News headlines (+ full article text) | ❌ | ✅ |
| Symbol search / discovery | ❌ | ✅ |
| **Monitor mode** — only new ideas / matches / price-rating changes | ❌ | ✅ |
| Start fee | often $0.005–$0.09 | ✅ **none** |
| Price per row | up to **$0.05** | from **$0.001** |

### Use cases

- **Quant & algo research** — pull a filtered universe with technicals and fundamentals every morning to feed a strategy or backtest.
- **Stock / crypto screening dashboards** — power your own screener UI with TradingView's exact ratings and indicators across any market.
- **Sentiment & social-trading analysis** — track community **ideas** (long vs short, likes, views, top authors) as a contrarian or momentum signal.
- **Price & signal alerting** — combine **monitor mode** with [Schedules](https://docs.apify.com/platform/schedules) to get only *new* ideas on your watchlist, *new* screener matches, or symbols whose technical rating just flipped.
- **Market news pipelines** — stream per-symbol headlines (with full article text) into an LLM for summaries or event detection.
- **Watchlist enrichment** — resolve tickers with symbol search, then pull quotes + technicals for each.

### How to use

1. [Sign up for Apify](https://console.apify.com/sign-up) — the free plan is enough to try this actor.
2. Open the **TradingView Scraper**, pick a **mode**, set your market / symbols / filters, and click **Start**.
3. Watch results stream into the dataset table.
4. **Export** as JSON, CSV, Excel, XML, or RSS — or pull results programmatically via the [Apify API](https://docs.apify.com/api/v2).

### Input

```json
{
    "mode": "screener",
    "market": "america",
    "signal": "topGainers",
    "minMarketCap": 1000000000,
    "sectors": ["Technology Services", "Electronic Technology"],
    "maxResults": 100
}
```

```json
{
    "mode": "ideas",
    "symbols": ["NASDAQ:NVDA", "BINANCE:BTCUSDT"],
    "ideaDirection": "long",
    "maxIdeasPerSource": 25
}
```

- **mode** — `screener`, `quotes`, `technicals`, `ideas`, `news`, or `search`.
- **market** *(screener)* — `america`, `crypto`, `forex`, `cfd`, `futures`, `bond`, or a country code (`uk`, `germany`, `india`, `japan`, `canada`, `brazil`, `australia`, …).
- **signal** *(screener)* — ready-made screens: Top Gainers/Losers, Most Active, Most Volatile, Unusual Volume, Overbought, Oversold, Strong Buy/Sell.
- **minMarketCap / maxMarketCap / minPrice / maxPrice / minVolume / sectors** — quick filters. **filtersRaw** — power-user TradingView filters (`{"left":"RSI","operation":"eless","right":40}`).
- **sortBy / sortOrder** — sort the screen by any field (`change`, `Value.Traded`, `Perf.YTD`, `Recommend.All`…).
- **symbols** *(quotes / technicals / ideas / news)* — `EXCHANGE:SYMBOL` (`NASDAQ:AAPL`, `FX:EURUSD`) or a bare ticker (auto-resolved).
- **intervals** *(technicals)* — timeframes for the gauge: `1m,5m,15m,30m,1h,2h,4h,1D,1W,1M`.
- **ideasFeed / ideaDirection / maxIdeasPerSource** *(ideas)* — feed/category, long/short filter, cap per source.
- **newsCategory / includeStoryContent** *(news)* — market category and full article text.
- **searchQueries** *(search)* — company names, tickers or keywords.
- **startUrls** — paste any TradingView symbol / ideas / news URL; each is auto-routed.
- **monitorMode / monitorStoreName** — output only records not seen on previous runs.

### Output

**Screener / Quotes** (`recordType: "screenerRow"` / `"quote"`):

```json
{
    "recordType": "screenerRow",
    "ticker": "NVDA",
    "name": "NVIDIA Corporation",
    "fullSymbol": "NASDAQ:NVDA",
    "exchange": "NASDAQ",
    "sector": "Electronic Technology",
    "industry": "Semiconductors",
    "country": "United States",
    "price": 204.65,
    "changePercent": -1.33,
    "volume": 128363118,
    "marketCap": 4952530087443,
    "peRatio": 31.34,
    "epsDilutedTtm": 6.53,
    "dividendYieldPercent": 0.019,
    "grossMarginPercent": 69.85,
    "returnOnEquityPercent": 105.1,
    "perfYtdPercent": 7.8,
    "perf1MonthPercent": -4.1,
    "high52Week": 212.19,
    "low52Week": 86.62,
    "technicalRating": -0.2,
    "technicalRatingLabel": "Sell",
    "movingAveragesRatingLabel": "Sell",
    "oscillatorsRatingLabel": "Neutral",
    "rsi14": 45.33,
    "macd": -1.30,
    "sma50": 208.73,
    "sma200": 189.70,
    "earningsReleaseNextDate": "2026-08-26T12:00:00.000Z",
    "logoUrl": "https://s3-symbol-logo.tradingview.com/nvidia.svg",
    "url": "https://www.tradingview.com/symbols/NASDAQ-NVDA/",
    "scrapedAt": "2026-06-17T12:00:00.000Z"
}
```

**Technical analysis** (`recordType: "technicalAnalysis"`):

```json
{
    "recordType": "technicalAnalysis",
    "fullSymbol": "NASDAQ:NVDA",
    "price": 204.65,
    "timeframes": [
        { "interval": "1h", "summary": { "rating": -0.42, "label": "Sell" }, "movingAverages": { "label": "Strong Sell" }, "oscillators": { "label": "Neutral" }, "indicators": { "RSI": 38.4, "macd": -1.1 } },
        { "interval": "1D", "summary": { "label": "Sell" }, "movingAverages": { "label": "Sell" }, "oscillators": { "label": "Neutral" } },
        { "interval": "1W", "summary": { "label": "Buy" }, "movingAverages": { "label": "Strong Buy" }, "oscillators": { "label": "Neutral" } }
    ]
}
```

**Trader idea** (`recordType: "idea"`):

```json
{
    "recordType": "idea",
    "ideaId": 22182126,
    "title": "NVDA | Buy the Dip — Loading for the Liquidity Above",
    "description": "On the Daily, NVDA remains in a clear uptrend and is currently in a pullback…",
    "url": "https://www.tradingview.com/chart/NVDA/LntfmXkZ-NVDA-Buy-the-Dip/",
    "direction": "neutral",
    "timeframe": "1D",
    "likes": 75,
    "comments": 9,
    "views": 12840,
    "publishedAt": "2026-06-13T17:37:14+00:00",
    "chartImageUrl": "https://s3.tradingview.com/l/LntfmXkZ_big.png",
    "symbol": "NASDAQ:NVDA",
    "author": "BigBeluga",
    "authorIsPro": true,
    "authorBadges": ["Ultimate"],
    "authorUrl": "https://www.tradingview.com/u/BigBeluga/"
}
```

**News** (`recordType: "newsItem"`) and **search** (`recordType: "searchResult"`) records are also returned with full fields.

### Automate & schedule

Run this actor on autopilot and pull results into your own stack:

- **[Apify API](https://docs.apify.com/api/v2)** — start runs, fetch datasets, and manage schedules over REST.
- **[apify-client for JavaScript](https://docs.apify.com/api/client/js/)** and **[apify-client for Python](https://docs.apify.com/api/client/python/)** — official SDKs.
- **[Schedules](https://docs.apify.com/platform/schedules)** — run it every minute/hour/day to monitor new ideas, fresh screener matches or rating changes.
- **[Webhooks](https://docs.apify.com/platform/integrations/webhooks)** — trigger downstream actions (alert, trade signal, dashboard refresh) the moment a run finishes.

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'MY_APIFY_TOKEN' });

const run = await client.actor('scrapesage/tradingview-scraper').call({
    mode: 'screener',
    market: 'crypto',
    signal: 'topGainers',
    maxResults: 50,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(`Got ${items.length} rows`);
```

### Integrate with any app

Connect the dataset to 5,000+ apps — no code required:

- **[Make](https://docs.apify.com/platform/integrations/make)** — multi-step automation scenarios.
- **[Zapier](https://docs.apify.com/platform/integrations/zapier)** — push new ideas or screener hits into Sheets, Notion or your CRM.
- **[Slack](https://docs.apify.com/platform/integrations/slack)** — get notified when a monitored watchlist finds new ideas.
- **[Google Drive / Sheets](https://docs.apify.com/platform/integrations/drive)** — auto-export every run to a spreadsheet.
- **[Airbyte](https://docs.apify.com/platform/integrations/airbyte)** — pipe results into your data warehouse.
- **[GitHub](https://docs.apify.com/platform/integrations/github)** — trigger runs from commits or releases.

### Use with AI assistants (MCP)

The output is clean, LLM-ready JSON. Call this actor from Claude, ChatGPT, or any agent framework through the **[Apify MCP server](https://docs.apify.com/platform/integrations/mcp)** — ask your assistant to "screen US large-cap tech with a Strong Buy rating and summarize the latest NVDA ideas" and let it run this scraper.

### Agent-ready: autonomous payments (x402 & Skyfire)

This actor is **agent-ready** — AI agents can discover it, run it, and **pay for it autonomously**, with no Apify account and no human in the loop. It uses [pay-per-event](https://docs.apify.com/platform/actors/publishing/monetize/pay-per-event) pricing and [limited permissions](https://docs.apify.com/platform/actors/development/permissions), so it qualifies for Apify's agentic-payment standards:

- **[x402](https://docs.apify.com/platform/integrations/x402)** — an open, HTTP-native payment protocol. Agents pay per run in USDC on the Base network directly through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp) — no account, no API key.
- **[Skyfire](https://docs.apify.com/platform/integrations/skyfire)** — agent-to-service payments for fully autonomous AI-agent workflows.

Building an AI agent, MCP tool, or autonomous data pipeline? This scraper is ready to plug in and pay as it goes.

### More scrapers from scrapesage

Build a complete **markets & trading data stack**:

- **[Finviz Scraper](https://apify.com/scrapesage/finviz-scraper)** — US stock screener, fundamentals, insider trading & analyst ratings.
- **[Yahoo Finance Scraper](https://apify.com/scrapesage/yahoo-finance-scraper)** — quotes, financial statements, analyst targets & historical prices.
- **[CoinGecko Crypto Scraper](https://apify.com/scrapesage/coingecko-crypto-scraper)** — crypto market data, exchanges, NFTs & project intel.
- **[DEX Token Scraper](https://apify.com/scrapesage/dex-token-scraper)** — on-chain DEX pools, prices, liquidity & new launches.
- **[DeFiLlama Scraper](https://apify.com/scrapesage/defillama-scraper)** — protocol TVL, yields, fees & stablecoins.
- **[Crypto Wallet Scraper](https://apify.com/scrapesage/crypto-wallet-scraper)** — wallet balances, tokens, NFTs & transactions.
- **[Prediction Markets Scraper](https://apify.com/scrapesage/prediction-markets-scraper)** — Polymarket & Kalshi odds and probabilities.
- **[SEC EDGAR Scraper](https://apify.com/scrapesage/sec-edgar-scraper)** — filings, financials & insider forms.

### Tips

- **Deep screens**: results are paged in 200s; raise `maxResults` (or set 0) to pull a whole market. Narrow with `minMarketCap`, `sectors` or `filtersRaw` to focus.
- **Any asset class**: for crypto/forex use `EXCHANGE:SYMBOL` like `BINANCE:BTCUSDT` or `FX:EURUSD` in quotes/technicals; the screener's `market` switches the whole universe.
- **Recurring monitoring**: turn on `monitorMode` and create a [Schedule](https://docs.apify.com/platform/schedules) — you'll only get records that are new since the last run.
- **Cost control**: news ($0.002) and search ($0.001) are the cheapest events; screener rows are $0.004 — far below the $0.02–$0.05 other TradingView actors charge.

### FAQ

**Do I need a TradingView account or API key?** No. This actor reads TradingView's own public scanner, symbol, ideas and news endpoints — no login, key or browser.

**Which markets are supported?** Asset classes `america`, `crypto`, `forex`, `cfd`, `futures`, `bond`, plus 50+ country stock markets. Quotes & technicals work for any symbol in `EXCHANGE:SYMBOL` form.

**What's the difference between `technicalRating` and the `technicals` mode?** Every screener row and quote already carries the daily technical rating. The `technicals` mode adds the **multi-timeframe** gauge — the same Strong Buy…Strong Sell summary for 1m, 5m, 1h, 4h, 1D, 1W, 1M, etc.

**How do trader ideas help?** Ideas are community analyses with a clear long/short/neutral bias, engagement metrics and author reputation — useful as a sentiment signal and for tracking influential traders.

**Can I export to Google Sheets, CSV, or Excel?** Yes — one click in the dataset view, or automatically on every run via the [Google Drive integration](https://docs.apify.com/platform/integrations/drive).

**Is scraping TradingView legal?** This actor collects publicly available data only. You are responsible for using the data in compliance with applicable laws and TradingView's terms. This actor is not affiliated with or endorsed by TradingView.

**A field is null — why?** Some fields don't apply to every asset (e.g. crypto has no P/E, forex has no market cap). Fields are `null` only when the data doesn't exist for that symbol.

### Need help?

Open an issue on the actor's **Issues** tab, or visit the [Apify help center](https://help.apify.com/). Feature requests are welcome — this actor is actively maintained.

# Actor input Schema

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

<b>Screener</b> = scan a whole market (stocks/crypto/forex/futures across 60+ countries) with filters & technical ratings. <b>Quotes</b> = full snapshot for specific symbols (price + fundamentals + technicals). <b>Technicals</b> = multi-timeframe Buy/Sell gauge per symbol. <b>Ideas</b> = trader ideas (sentiment, long/short calls). <b>News</b> = symbol/market news headlines. <b>Symbol search</b> = discover tickers.

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

Which market to scan in <b>Screener</b> mode. Asset classes: <code>america</code>, <code>crypto</code>, <code>forex</code>, <code>cfd</code>, <code>futures</code>, <code>bond</code>. Country stock markets: <code>uk</code>, <code>germany</code>, <code>india</code>, <code>japan</code>, <code>canada</code>, <code>brazil</code>, <code>australia</code>, and 50+ more.

## `signal` (type: `string`):

Ready-made screens traders watch. Sets a sensible sort & filter automatically. Leave as None to use your own filters/sort.

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

TradingView field id to sort the screener by, e.g. <code>market\_cap\_basic</code>, <code>change</code>, <code>volume</code>, <code>Value.Traded</code>, <code>Perf.YTD</code>, <code>Recommend.All</code>, <code>RSI</code>. Leave blank for a sensible default (market cap).

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

Sort direction for the screener.

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

Only include symbols with at least this market capitalization (e.g. 1000000000 = $1B).

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

Only include symbols with at most this market capitalization.

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

Only include symbols trading at or above this price.

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

Only include symbols trading at or below this price.

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

Only include symbols with at least this current-day volume.

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

Restrict the screen to these sectors, e.g. <code>Technology Services</code>, <code>Electronic Technology</code>, <code>Finance</code>, <code>Health Technology</code>, <code>Energy Minerals</code>, <code>Retail Trade</code>.

## `filtersRaw` (type: `array`):

Power-user filters in TradingView's native format, merged with the simple filters above. Each item is an object like <code>{"left":"RSI","operation":"eless","right":40}</code> or <code>{"left":"sector","operation":"in\_range","right":\["Finance"]}</code>.

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

Symbols for <b>Quotes</b>, <b>Technicals</b>, <b>Ideas</b> and <b>News</b> modes. Use <code>EXCHANGE:SYMBOL</code> (e.g. <code>NASDAQ:AAPL</code>, <code>BINANCE:BTCUSDT</code>, <code>FX:EURUSD</code>) or a bare ticker (<code>AAPL</code>) which is auto-resolved to its primary exchange.

## `intervals` (type: `array`):

Timeframes for the multi-timeframe Buy/Sell gauge in <b>Technicals</b> mode.

## `ideasFeed` (type: `string`):

For <b>Ideas</b> mode, scrape a feed instead of (or in addition to) per-symbol ideas. Use <code>all</code> for the global feed, or a category like <code>stocks</code>, <code>crypto</code>, <code>forex</code>, <code>bitcoin</code>, <code>futures</code>. Leave blank to use the Symbols list.

## `ideaDirection` (type: `string`):

Only keep ideas with this trade bias.

## `maxIdeasPerSource` (type: `integer`):

Maximum ideas to collect per symbol or feed (paginated ~10–24 per page).

## `newsCategory` (type: `string`):

For <b>News</b> mode without symbols, the market news category, e.g. <code>stock</code>, <code>crypto</code>, <code>forex</code>, <code>economy</code>, <code>index</code>. Leave blank for the general feed.

## `includeStoryContent` (type: `boolean`):

Fetch the full article body for each news headline (one extra request per item — slower).

## `searchQueries` (type: `array`):

Text queries for <b>Symbol search</b> mode (company name, ticker or keyword), e.g. <code>apple</code>, <code>BTC</code>, <code>S\&P 500</code>.

## `startUrls` (type: `array`):

Paste TradingView URLs — symbol pages (<code>/symbols/NASDAQ-AAPL/</code>), ideas pages (<code>/symbols/NASDAQ-NVDA/ideas/</code> or <code>/ideas/crypto/</code>), news (<code>/symbols/NASDAQ-AAPL/news/</code>) or technicals. Each is auto-routed to the right scraper.

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

Maximum number of records to return for this run (0 = no limit). For the screener, results are fetched in pages of 200.

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

Remember records seen on previous runs (in a named key-value store) and output only NEW ones — perfect for alerting on new trader ideas, fresh screener matches, price/rating changes or new headlines. Combine with Apify <a href='https://docs.apify.com/platform/schedules'>Schedules</a> to poll automatically.

## `monitorStoreName` (type: `string`):

Name of the key-value store that holds the 'seen' fingerprints for monitor mode. Use different names to track different watchlists/screens independently.

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

TradingView's data endpoints work on Apify's datacenter proxy. Datacenter is recommended (fast & cheap).

## Actor input object example

```json
{
  "mode": "screener",
  "market": "america",
  "signal": "",
  "sortOrder": "desc",
  "symbols": [
    "NASDAQ:AAPL",
    "NASDAQ:NVDA"
  ],
  "intervals": [
    "15m",
    "1h",
    "4h",
    "1D",
    "1W"
  ],
  "ideaDirection": "",
  "maxIdeasPerSource": 25,
  "includeStoryContent": false,
  "maxResults": 100,
  "monitorMode": false,
  "monitorStoreName": "tradingview-monitor",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

All scraped TradingView records as JSON items in the default dataset.

# 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",
    "symbols": [
        "NASDAQ:AAPL",
        "NASDAQ:NVDA"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapesage/tradingview-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 = {
    "market": "america",
    "symbols": [
        "NASDAQ:AAPL",
        "NASDAQ:NVDA",
    ],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapesage/tradingview-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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",
  "symbols": [
    "NASDAQ:AAPL",
    "NASDAQ:NVDA"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call scrapesage/tradingview-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapesage/tradingview-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/akhkUoyehHZVT015b/builds/qoc2ZJ4loy27nZM2x/openapi.json
