# TradingView Scraper: Screener, Quotes, Technicals & Financials (`memo23/tradingview-scraper`) Actor

Scrape TradingView: screen stocks in 71 countries, crypto, forex and futures by any filter; symbol profiles with valuation, dividends, earnings and analyst targets; live quotes; technicals; financial statements; price history; earnings, IPO and economic calendars; news and ideas.

- **URL**: https://apify.com/memo23/tradingview-scraper.md
- **Developed by:** [Muhamed Didovic](https://apify.com/memo23) (community)
- **Categories:** Developer tools, News
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

## TradingView Scraper: Screener, Quotes, Technicals & Financials

**TradingView market data as clean rows: screens, profiles, quotes, technicals, statements, candles, calendars, news and ideas.** Screen stocks in 71 countries, crypto, forex, futures and bond yields with TradingView's own filters, or hand over a list of symbols and get full company profiles, live quotes, buy/sell gauges on any timeframe, up to 20 years of financial statements and OHLCV candles. Calendars, headlines with full text, trading ideas, a coin ranking and an ETF list come from the same actor.

### Why Use This Scraper?

- **Eleven kinds of data, one actor.** Pick a mode per run instead of stitching three tools together.
- **Every screener filter.** Sector, industry, exchange, index membership, market cap, price, change, volume, relative volume, P/E, dividend yield, RSI, analyst consensus and technical signal, plus any of about 3,800 TradingView fields as raw conditions such as `close > SMA200`.
- **Deep screens.** Up to 10,000 rows per screen, with TradingView's market-movers lists (gainers, losers, unusual volume, 52-week highs, pre-market movers and more) built in.
- **Full symbol profiles.** Company description, CEO, employees, ISIN and FIGI, valuation ratios, margins, dividends, the next earnings date with estimates, analyst price targets and buy/hold/sell counts, performance from one week to all time, and peers.
- **Technicals on 10 timeframes.** The summary, moving-average and oscillator gauges with every indicator value and monthly pivot points, from 1 minute to 1 month.
- **Statements with history.** Income statement, balance sheet, cash flow and ratios, 20 fiscal years or 32 quarters.
- **Pay for what you switch on.** Technicals, statements and full article or idea text are charged only when you turn them on, and only for rows that received them.

### Overview

Built for traders and quant hobbyists who feed screens into their own models, analysts who track a watchlist's fundamentals, fintech and content teams who need earnings and economic calendars, and researchers following market sentiment through news and trading ideas.

You choose what to collect with `mode`, fill in that mode's section, and get one row per screener result, symbol, quote, timeframe, candle, calendar entry, headline, idea, coin or ETF. Every row carries `recordType` so mixed exports stay readable. The dataset exports as JSON, CSV, Excel or through the API, and a `RUN_SUMMARY` record lists what each input delivered or why it returned nothing.

### Supported Inputs

| Mode | What you give | What you get |
|---|---|---|
| `screener` | A market (`america`, `uk`, `india` … or `crypto`, `forex`, `futures`, `bonds`) and filters | One row per matching instrument, in your sort order |
| `symbols` | Symbols such as `NASDAQ:AAPL`, `AAPL`, `BINANCE:BTCUSDT` or `https://www.tradingview.com/symbols/NYSE-JPM/` | One full profile per symbol, optionally with technicals and statements |
| `quotes` | Up to thousands of symbols in any mix of markets | One live quote row per symbol |
| `technicals` | Symbols and timeframes | One technical-analysis row per symbol and timeframe |
| `history` | Symbols, a timeframe and a candle count | One row per OHLCV candle, newest first |
| `search` | A ticker, name, ISIN or CUSIP | Matching instruments across every exchange |
| `calendar` | Earnings, dividends, IPOs or economic events, with dates | One row per release, payout, listing or event |
| `news` | Symbols, or a market feed with country and providers | Headlines, optionally with full text |
| `ideas` | Symbols, an author, a search or a topic feed | Trading ideas, optionally with full text |
| `crypto` | Sort and filters | The coin ranking with supply and 24 h data |
| `etfs` | A country market and filters | ETFs with AUM, flows, expense ratio, returns, dividend yield, holdings count and the index tracked |

Symbols may be written as `EXCHANGE:TICKER`, a bare ticker (the primary listing is used), or any tradingview.com symbol link, including chart links with `?symbol=`. Not supported: private watchlists, alerts, Pine Script source behind a paywall, or anything that needs a TradingView login.

### Use Cases

| Who | What they do with it |
|---|---|
| Traders | Daily screens for gainers, unusual volume or RSI extremes, exported to a spreadsheet or bot |
| Quant hobbyists | OHLCV candles and indicator values for backtests on stocks, crypto and forex |
| Equity analysts | Watchlist profiles with valuation, analyst targets and 20 years of statements |
| Fintech and media | Earnings, dividend, IPO and economic calendars for apps and newsletters |
| Researchers | News flow and trading ideas around a symbol to study sentiment |
| Fund and ETF watchers | ETF lists by issuer, flows and expense ratio |

### How It Works

![How TradingView Scraper works](https://raw.githubusercontent.com/muhamed-didovic/muhamed-didovic.github.io/main/assets/how-it-works-tradingview.png)

1. **Pick a mode** and fill in that section of the input.
2. **The actor reads TradingView's market data** for your filters or symbols, page after page up to your row limit.
3. **Add-ons are attached** when you switch them on: technicals per timeframe, financial statements, full article or idea text.
4. **Rows are saved as they arrive,** each with its `recordType`, the input it came from and the time it was collected.
5. **Export** the dataset as JSON, CSV or Excel, read it through the API, or schedule the run.

### Input Configuration

Only the section that matches `mode` is used; the rest is ignored.

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `"screener"` | Pick one kind of data per run. The sections below are grouped by this choice; fields of other sections are ignored. |
| `symbols` | array | none | EXCHANGE:TICKER (NASDAQ:AAPL, BINANCE:BTCUSDT, FX:EURUSD, CME_MINI:ES1!), a bare ticker (AAPL, primary listing first) or a tradingview.com/symbols/... link. For news and ideas, leave empty to read a whole feed instead. |
| `maxResults` | integer | `100` | Cap for list outputs: screener, search, calendars, coins, ETFs, and news or ideas per symbol (news stops at 200 per feed). |
| `market` | string | `"america"` | Country listings for stocks (also used by ETFs and the earnings, dividend and IPO calendars), or an asset class for the screener. |
| `screenPreset` | string | none | One of TradingView's market-movers lists; your filters below still apply. On the crypto markets they start at $10M market cap (and, for pairs, $100k traded a day) unless you set `marketCapFrom`. `top_market_cap`, `gainers`, `losers`, `most_active`, `most_volatile`, `unusual_volume`, `overbought`, `oversold`, `strong_buy`, `strong_sell`, `large_cap`, `small_cap`, `penny_stocks`, `high_dividend`, `high_beta`, `52_week_high`, `52_week_low`, `all_time_high`, `highest_revenue`, `highest_net_income`, `largest_employers`, `premarket_gainers`, `premarket_losers`, `premarket_most_active`, `afterhours_gainers`, `afterhours_losers`, `afterhours_most_active`. |
| `sectors` | array | none | As TradingView names them: Finance, Electronic Technology, Technology Services, Health Technology ... |
| `industries` | array | none | E.g. Semiconductors, Regional Banks, Biotechnology. |
| `exchanges` | array | none | Exchange codes: NASDAQ, NYSE, AMEX, OTC, LSE, XETR, NSE, BIST ... |
| `companyCountries` | array | none | Where the company is based (Canada, Israel, China ...), not where it is listed. |
| `indexMembers` | string | none | SPX (S\&P 500), NDX (Nasdaq 100), DJI (Dow Jones), or any index symbol such as NSE:NIFTY or BIST:XU100. |
| `nameContains` | string | none | Text match on ticker or company / fund name (screener and ETFs). |
| `marketCapFrom` | number | none | In the listing currency; on the crypto markets in USD. For ETFs: minimum assets under management. For coins and calendars: minimum market cap. Ready-made screens on the crypto markets start at $10M when this is empty (pairs also need $100k traded a day); `0` removes both limits. |
| `marketCapTo` | number | none | Market cap to. |
| `priceFrom` | number | none | Price from. |
| `priceTo` | number | none | Price to. |
| `changePercentFrom` | number | none | Also filters coins (24 h change). |
| `changePercentTo` | number | none | Daily change % to. |
| `volumeFrom` | number | none | Today's volume; for coins the 24 h volume in USD. |
| `relativeVolumeFrom` | number | none | Today's volume against the 10-day average, e.g. 2 = twice the usual. |
| `peFrom` | number | none | Trailing twelve months. |
| `peTo` | number | none | P/E to. |
| `dividendYieldFrom` | number | none | Dividend yield % from. |
| `rsiFrom` | number | none | Daily RSI. |
| `rsiTo` | number | none | RSI(14) to. |
| `analystConsensus` | array | none | Keep stocks with these analyst ratings. |
| `technicalSignal` | array | none | TradingView's daily buy/sell gauge. |
| `rawConditions` | array | none | Any TradingView screener field as "field operator value": "close > SMA200", "EMA20 crosses_above EMA50", "sector in Finance|Utilities", "market_cap_basic between 1e9|1e10". Unknown fields are refused with a message. |
| `columnGroups` | array | none | Extra column groups on each screener row; overview when empty. |
| `extraFields` | array | none | Any other screener field ids to add as columns, e.g. EMA50, Perf.3M, earnings_release_next_date. |
| `orderBy` | string | none | A screener field id, e.g. market_cap_basic, change, volume, RSI. Default: market cap, or the ready-made screen's own order. |
| `orderDirection` | string | none | For the screener sort field. |
| `includeNonStocks` | boolean | `false` | Country markets list common stocks only unless this is on. |
| `addTechnicals` | boolean | `false` | Symbol profiles: add the buy/sell gauges, oscillators, moving averages and pivots for each timeframe below (charged per timeframe). |
| `timeframes` | array | `["1d"]` | For technical analysis (profiles and the technicals mode). Default 1 day. |
| `addFinancials` | boolean | `false` | Symbol profiles: add the income statement, balance sheet, cash flow and ratios (up to 20 years or 32 quarters). |
| `fiscalPeriod` | string | `"annual"` | For financial statements. |
| `candleTimeframe` | string | `"1d"` | For price history. |
| `candlesPerSymbol` | integer | `300` | Most recent candles for each symbol, 10 to 5,000. For just the latest price of many symbols, use `quotes` mode. |
| `searchText` | string | none | Ticker, company or instrument name, ISIN or CUSIP. |
| `instrumentType` | string | none | Only this kind of instrument. |
| `listingExchange` | string | none | Exchange code, e.g. NASDAQ, NYSE, NSE, BINANCE. |
| `listingCountry` | string | none | ISO code of the listing, e.g. US, DE, IN. |
| `calendarKind` | string | `"earnings"` | Earnings, dividends and IPOs use the Market above. |
| `dateFrom` | string | none | YYYY-MM-DD. Default: today (IPOs: 30 days ago). |
| `dateTo` | string | none | YYYY-MM-DD. Default: a week later (IPOs: 30 days ahead). Earnings and dividends up to 92 days, economic events up to 31. |
| `reportedOnly` | boolean | `false` | Earnings: releases already out, with actual EPS and revenue and the surprise. Off: upcoming releases with estimates. |
| `byPaymentDate` | boolean | `false` | Dividends: the dates apply to the payment date instead of the ex-dividend date. |
| `economyCountries` | array | none | ISO codes: US, EU, GB, DE, JP, CN ... Default US and EU. |
| `minImportance` | string | none | Economic events of at least this importance. |
| `newsFeeds` | array | none | Used when no symbols are given. |
| `newsCountry` | string | none | One ISO code the news is about (US, DE, TR ...), when no symbols are given. |
| `newsSources` | array | none | Provider ids, e.g. reuters, dow-jones, benzinga, tradingview, market-watch, zacks, cointelegraph. |
| `newsLanguage` | string | `"en"` | Language of the feed. |
| `withArticleText` | boolean | `false` | Each headline gets its full text, description, images and tags (charged per article). Paywalled providers give a preview only. |
| `ideasTopic` | string | none | Used when no symbols, author or search are given: stocks, crypto, forex, futures, indices, bonds, economy, editors-picks, education, trend-analysis ... Default editors-picks. |
| `ideasQuery` | string | none | Text search over ideas. |
| `ideasAuthor` | string | none | Username or profile link: the ideas one member published. |
| `ideasOrder` | string | `"recent"` | Order of the ideas. |
| `withIdeaText` | boolean | `false` | Each idea gets its complete text, views, tags, updates and first comments (charged per idea). |
| `coinOrder` | string | `"rank"` | Order of the coins ranking. Market cap, volume and change filters above apply. |
| `coinCategories` | array | none | E.g. defi, layer-1, meme, stablecoins. |
| `etfOrder` | string | `"aum"` | Order of the ETF list. |
| `etfIssuers` | array | none | Issuer brands, e.g. iShares, Vanguard, SPDR. |
| `etfAssetClasses` | array | none | Equity, Fixed income, Commodities, Currency ... |
| `maxExpenseRatio` | number | none | ETFs with an expense ratio at most this. |

#### Large-cap S\&P 500 stocks under 20x earnings, cheapest first

```json
{
  "mode": "screener",
  "market": "america",
  "indexMembers": "SPX",
  "peTo": 20,
  "marketCapFrom": 10000000000,
  "columnGroups": ["valuation", "dividends"],
  "orderBy": "price_earnings_ttm",
  "orderDirection": "asc",
  "maxResults": 500
}
```

#### Today's top US gainers worth at least $1 billion

```json
{
  "mode": "screener",
  "market": "america",
  "screenPreset": "gainers",
  "marketCapFrom": 1000000000,
  "columnGroups": ["overview", "performance"],
  "maxResults": 50
}
```

Swap `gainers` for `losers`, `most_active`, `unusual_volume`, `premarket_gainers` or any other list in the table above; the same works for `uk`, `india`, `germany` and the other country markets.

For crypto movers use `"market": "coin"`, one row per coin. Ready-made screens on `coin` and `crypto` leave out coins under $10M market cap, and on `crypto` also pairs averaging under $100k traded a day, unless you set `marketCapFrom` (`0` for no limit). The lists then show traded coins rather than tokens that moved millions of percent on a few dollars.

#### A watchlist with daily and weekly technicals and quarterly statements

```json
{
  "mode": "symbols",
  "symbols": ["NASDAQ:AAPL", "NASDAQ:MSFT", "NYSE:JPM"],
  "addTechnicals": true,
  "timeframes": ["1d", "1w"],
  "addFinancials": true,
  "fiscalPeriod": "quarterly"
}
```

#### Two years of daily candles for Bitcoin and the S\&P 500 ETF

```json
{
  "mode": "history",
  "symbols": ["BINANCE:BTCUSDT", "AMEX:SPY"],
  "candleTimeframe": "1d",
  "candlesPerSymbol": 730
}
```

#### Next week's US earnings with estimates

```json
{
  "mode": "calendar",
  "calendarKind": "earnings",
  "market": "america",
  "marketCapFrom": 2000000000,
  "maxResults": 300
}
```

### Output Overview

Each row starts with `recordType`: `screener`, `symbol`, `quote`, `technicals`, `candle`, `search`, `earnings`, `dividends`, `ipo`, `economic`, `news`, `idea`, `coin` or `etf`. List rows also carry `position` (their place in TradingView's order) and `query` (the input they answer), and every row has `scrapedAt`.

Screener, quote, coin and ETF rows are flat: symbol, name, price, change, volume, market cap, sector and the columns you asked for. Symbol profiles are grouped into `profile`, `price`, `valuation`, `dividends`, `earnings`, `analysts`, `performance` and `ranges`, with `technicalAnalysis` (keyed by timeframe) and `financials` when those add-ons are on. Prices carry `dataMode` and `delayMinutes`, so you can tell real-time quotes from delayed ones.

### Output Samples

Screener row (`market: america`, `screenPreset: gainers`, `columnGroups: ["overview","performance"]`), shortened:

```json
{
  "recordType": "screener",
  "symbol": "OTC:QKIE",
  "ticker": "QKIE",
  "exchange": "OTC",
  "name": "QKI Emulsion Inc.",
  "link": "https://www.tradingview.com/symbols/OTC-QKIE/",
  "type": "stock",
  "currency": "USD",
  "price": 1.94,
  "changePercent": 29.33,
  "volume": 6900,
  "relativeVolume10d": 4.83,
  "marketCap": 1016293612,
  "sector": "Consumer Services",
  "industry": "Movies/Entertainment",
  "analystRating": "no_rating",
  "technicalRatingLabel": "neutral",
  "performanceYtd": 102.08,
  "performance1y": 61.67,
  "high52Week": 3.1,
  "low52Week": 0.2264,
  "delayMinutes": 15,
  "position": 1,
  "query": "screener america / gainers",
  "scrapedAt": "2026-11-22T21:36:56.979Z"
}
```

Symbol profile (`symbols: ["AAPL"]`), shortened; the full row also holds `performance`, `ranges`, `peers`, `dailySummary` and the add-ons:

```json
{
  "recordType": "symbol",
  "symbol": "NASDAQ:AAPL",
  "name": "Apple Inc.",
  "type": "stock",
  "currency": "USD",
  "profile": {
    "ceo": "John Ternus",
    "website": "http://www.apple.com",
    "headquarters": "Cupertino",
    "founded": "1976",
    "employees": 167000,
    "sector": "Electronic Technology",
    "industry": "Telecommunications Equipment",
    "isin": "US0378331005",
    "figi": "BBG000B9XRY4"
  },
  "price": { "last": 342.56, "changePercent": -1.9, "volume": 80568107, "postmarket": { "price": 344.87 } },
  "marketCap": 4978144107334,
  "valuation": { "peRatioTtm": 38.17, "psRatio": 10.67, "evToEbitdaTtm": 29.2, "netMarginTtm": 27.6 },
  "dividends": { "yieldPercent": 0.31, "recent": { "exDate": "2026-11-12", "paymentDate": "2026-11-16", "amount": 0.27 } },
  "earnings": { "nextReleaseDate": "2027-02-04", "epsEstimateNextQuarter": 2.9, "epsSurprisePercent": 5.56 },
  "analysts": {
    "rating": "Buy",
    "priceTarget": { "average": 348.52, "median": 360, "high": 425, "low": 250 },
    "recommendations": { "strongBuy": 21, "buy": 8, "hold": 15, "sell": 2, "strongSell": 4 }
  },
  "technicalAnalysis": {
    "1d": { "summary": { "label": "sell" }, "oscillatorValues": { "rsi": 46.45, "macd": 2.67 }, "movingAverageValues": { "sma200": 303.24 } }
  },
  "financials": { "period": "quarterly", "statements": { "income": { "revenue": { "latest": 114477000000, "ttm": 478834000000 } } } }
}
```

Candle (`mode: history`, `candleTimeframe: 1d`):

```json
{
  "recordType": "candle",
  "symbol": "NASDAQ:AAPL",
  "timeframe": "1d",
  "time": "2026-11-20T14:30:00Z",
  "open": 352.865,
  "high": 354.34,
  "low": 340.56,
  "close": 342.56,
  "volume": 80692545,
  "currency": "USD",
  "timezone": "America/New_York"
}
```

Earnings calendar entry (`calendarKind: earnings`), shortened:

```json
{
  "recordType": "earnings",
  "symbol": "NYSE:DELL",
  "name": "Dell Technologies Inc.",
  "marketCap": 176768656278,
  "sector": "Electronic Technology",
  "reported": { "date": "2026-09-01", "epsActual": 7.04, "epsEstimate": 4.91, "epsSurprisePercent": 43.34, "revenueActual": 46971000000 },
  "upcoming": { "date": "2026-11-24", "epsEstimate": 6.62, "revenueEstimate": 49324366988 }
}
```

### Key Output Fields

| Group | Fields |
|---|---|
| Identity | `symbol`, `ticker`, `exchange`, `name`, `type`, `typespecs`, `currency`, `country`, `logo`, `link` |
| Price | `price` (or `price.last` on profiles), `change`, `changePercent`, `open`, `high`, `low`, `volume`, `relativeVolume10d`, pre- and post-market prices, `dataMode`, `delayMinutes` |
| Fundamentals | `marketCap`, `valuation.*` (P/E, P/S, P/B, EV/EBITDA, margins, ROE), `dividends.*`, `earnings.*`, `profile.*` (CEO, employees, ISIN, CUSIP, FIGI) |
| Analysts | `analysts.rating`, `analysts.priceTarget.*`, `analysts.recommendations.*`, `analystRating` on screener rows |
| Technicals | `technicalRating`, `technicalRatingLabel`, and on technicals rows `summary`, `movingAverages`, `oscillators`, `oscillatorValues`, `movingAverageValues`, `pivotsMonthly`, `bollingerBands`, `atr`, `vwap` |
| Statements | `financials.periods`, `financials.statements.income`, `.balance`, `.cashflow`, `.ratios`, each line with `history`, `latest`, `ttm` |
| Candles | `timeframe`, `time`, `timestamp`, `open`, `high`, `low`, `close`, `volume` |
| Calendars | `reported.*` and `upcoming.*` (earnings), `upcoming.exDate` / `paymentDate` / `amount` (dividends), `ipoDate`, `offerPrice`, `dealAmount` (IPOs), `actual`, `forecast`, `previous`, `importance` (economic) |
| News and ideas | `title`, `link`, `published`, `provider`, `relatedSymbols`, `text` (full text add-on), `direction`, `likes`, `comments`, `author` |
| Run context | `recordType`, `position`, `query`, `scrapedAt` |

### FAQ

**Are the prices real-time?**
Each row says so: `dataMode` and `delayMinutes` are TradingView's own labels. Crypto and forex are usually streaming; many stock exchanges are delayed by 10-20 minutes for visitors without a data subscription.

**What symbol format should I use?**
`EXCHANGE:TICKER` is exact (`NASDAQ:AAPL`, `LSE:VOD`, `BINANCE:BTCUSDT`, `FX:EURUSD`, `CME_MINI:ES1!`). A bare ticker picks the primary listing. Links from tradingview.com work as they are.

**How many rows can a screen return?**
Up to 10,000 per run. The run summary shows TradingView's total, so you know when a screen is larger than your limit.

**Which fields can I filter on?**
The input covers the common filters. For anything else, use Advanced conditions with TradingView's field ids, for example `EMA20 crosses_above EMA50` or `sector in Finance|Utilities`. An unknown field ends the run with a message naming it, and nothing is charged.

**Why does a symbol return nothing?**
It is delisted, misspelled, or listed under another exchange code. Search mode with the company name or ISIN shows the exact symbol.

**Does news include the article text?**
With Add full article text on, yes, for providers TradingView shows in full. Paywalled providers come with a preview only, and the row says `isPaywalled`.

**Is there a free allowance?**
Free Apify plans get up to 20 rows from the first symbol or list per run. Any paid Apify plan removes that limit.

**What does the actor not collect?**
Anything behind a TradingView login: private watchlists, alerts, portfolios, invite-only scripts and paid data feeds.

### Support

Found a bug or missing a field? Open an issue on the actor's [Issues tab](https://apify.com/memo23/tradingview-scraper/issues) with your run link and input.

### Additional Services

Need a scheduled screen delivered to a spreadsheet, a custom set of columns, or a dataset joined with another source? Ask on the Issues tab; tailored work is available.

### Explore More Scrapers

- [**Yahoo Finance Scraper**](https://apify.com/memo23/yahoo-finance-scraper): quotes, price history, financial statements, analyst ratings, options chains with implied volatility, news and earnings call transcripts.
- [**US Congress Financial Disclosures & Stock Trades Scraper**](https://apify.com/memo23/congress-financial-disclosures-scraper): trades filed by members of Congress.
- [**Adobe Stock Scraper**](https://apify.com/memo23/adobe-stock-scraper): stock images, vectors and videos with metadata.

Full list at [apify.com/memo23](https://apify.com/memo23).

### 🤖 For AI Agents & LLM Apps

Compact reference for agents calling this actor through the [Apify MCP server](https://mcp.apify.com) or the Apify API (actor: `memo23/tradingview-scraper`).

**Purpose:** TradingView market data: screener over 71 stock markets plus crypto, forex, futures and bonds; symbol profiles; quotes; technicals; financial statements; OHLCV candles; symbol search; earnings, dividend, IPO and economic calendars; news; trading ideas; coin ranking; ETFs.

**Minimal inputs:**

```json
{ "mode": "screener", "market": "america", "screenPreset": "gainers", "maxResults": 50 }
```

```json
{ "mode": "quotes", "symbols": ["NASDAQ:AAPL", "BINANCE:BTCUSDT"] }
```

**Output:** one row per result with `recordType`; flat rows (screener, quote, coin, ETF) carry symbol, name, price, changePercent, volume, marketCap, sector, link; `symbol` rows add profile, valuation, dividends, earnings, analysts, performance, ranges, and optional technicalAnalysis / financials; `candle` rows carry time, open, high, low, close, volume.

**Behaviors an agent should know:**

- One `mode` per run; fields of other modes are ignored.
- `maxResults` bounds every list (default 100, up to 10,000); `candlesPerSymbol` bounds history (10 to 5,000).
- Unknown symbols are listed in the `RUN_SUMMARY` record and are not charged.
- Billing: $0.005 per run start, `result` $0.001 per list row, `symbol-profile` $0.004, `technical-analysis` $0.002 per symbol and timeframe, `financial-statements` $0.002, `full-text` $0.002 per article or idea, `price-bar` $0.0001 per candle.

### ⚠️ Disclaimer

This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by TradingView, Inc. TradingView is a trademark of its owner, and all other trademarks mentioned are the property of their respective owners.

It returns publicly available market information that TradingView shows to visitors without an account. It does not access accounts, private watchlists or content behind a login. The data is for information only and is not investment advice. Users are responsible for making sure their use complies with TradingView's terms, the terms of the underlying data providers, applicable law such as GDPR and CCPA, and their own contractual obligations.

### SEO Keywords

tradingview scraper, tradingview api, tradingview screener, tradingview stock screener, tradingview data export, stock screener api, crypto screener, forex screener, stock market data scraper, technical analysis api, rsi screener, stock fundamentals api, financial statements scraper, ohlcv data, historical stock prices, earnings calendar api, dividend calendar, ipo calendar, economic calendar api, stock news scraper, trading ideas scraper, etf screener, analyst price targets, market movers, top gainers today, top losers today, most active stocks, unusual volume stocks, premarket movers, after hours movers, 52 week high stocks, penny stock screener

# Actor input Schema

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

Pick one kind of data per run. The sections below are grouped by this choice; fields of other sections are ignored.

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

EXCHANGE:TICKER (NASDAQ:AAPL, BINANCE:BTCUSDT, FX:EURUSD, CME_MINI:ES1!), a bare ticker (AAPL, primary listing first) or a tradingview.com/symbols/... link. For news and ideas, leave empty to read a whole feed instead.

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

Cap for list outputs: screener, search, calendars, coins, ETFs, and news or ideas per symbol (news stops at 200 per feed).

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

Country listings for stocks (also used by ETFs and the earnings, dividend and IPO calendars), or an asset class for the screener.

## `screenPreset` (type: `string`):

One of TradingView's market-movers lists; your filters below still apply. On the crypto markets these lists leave out coins under $10M market cap, and pairs trading under $100k a day, unless you set Market cap from.

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

As TradingView names them: Finance, Electronic Technology, Technology Services, Health Technology ...

## `industries` (type: `array`):

E.g. Semiconductors, Regional Banks, Biotechnology.

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

Exchange codes: NASDAQ, NYSE, AMEX, OTC, LSE, XETR, NSE, BIST ...

## `companyCountries` (type: `array`):

Where the company is based (Canada, Israel, China ...), not where it is listed.

## `indexMembers` (type: `string`):

SPX (S\&P 500), NDX (Nasdaq 100), DJI (Dow Jones), or any index symbol such as NSE:NIFTY or BIST:XU100.

## `nameContains` (type: `string`):

Text match on ticker or company / fund name (screener and ETFs).

## `marketCapFrom` (type: `number`):

In the listing currency; on the crypto markets in USD. For ETFs: minimum assets under management. For coins and calendars: minimum market cap. Ready-made screens on the crypto markets start at $10M when this is empty (pairs also need $100k traded a day); 0 removes both limits.

## `marketCapTo` (type: `number`):

Market cap to; on the crypto markets in USD.

## `priceFrom` (type: `number`):

Price from.

## `priceTo` (type: `number`):

Price to.

## `changePercentFrom` (type: `number`):

Also filters coins (24 h change).

## `changePercentTo` (type: `number`):

Daily change % to.

## `volumeFrom` (type: `number`):

Today's volume; for coins the 24 h volume in USD.

## `relativeVolumeFrom` (type: `number`):

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

## `peFrom` (type: `number`):

Trailing twelve months.

## `peTo` (type: `number`):

P/E to.

## `dividendYieldFrom` (type: `number`):

Dividend yield % from.

## `rsiFrom` (type: `number`):

Daily RSI.

## `rsiTo` (type: `number`):

RSI(14) to.

## `analystConsensus` (type: `array`):

Keep stocks with these analyst ratings.

## `technicalSignal` (type: `array`):

TradingView's daily buy/sell gauge.

## `rawConditions` (type: `array`):

Any TradingView screener field as "field operator value": "close > SMA200", "EMA20 crosses_above EMA50", "sector in Finance|Utilities", "market_cap_basic between 1e9|1e10". Unknown fields are refused with a message.

## `columnGroups` (type: `array`):

Extra column groups on each screener row; overview when empty.

## `extraFields` (type: `array`):

Any other screener field ids to add as columns, e.g. EMA50, Perf.3M, earnings_release_next_date.

## `orderBy` (type: `string`):

A screener field id, e.g. market_cap_basic, change, volume, RSI. Default: market cap, or the ready-made screen's own order.

## `orderDirection` (type: `string`):

For the screener sort field.

## `includeNonStocks` (type: `boolean`):

Country markets list common stocks only unless this is on.

## `addTechnicals` (type: `boolean`):

Symbol profiles: add the buy/sell gauges, oscillators, moving averages and pivots for each timeframe below (charged per timeframe).

## `timeframes` (type: `array`):

For technical analysis (profiles and the technicals mode). Default 1 day.

## `addFinancials` (type: `boolean`):

Symbol profiles: add the income statement, balance sheet, cash flow and ratios (up to 20 years or 32 quarters).

## `fiscalPeriod` (type: `string`):

For financial statements.

## `candleTimeframe` (type: `string`):

For price history.

## `candlesPerSymbol` (type: `integer`):

Most recent candles for each symbol, 10 to 5,000. For just the latest price of many symbols, use quotes mode.

## `searchText` (type: `string`):

Ticker, company or instrument name, ISIN or CUSIP.

## `instrumentType` (type: `string`):

Only this kind of instrument.

## `listingExchange` (type: `string`):

Exchange code, e.g. NASDAQ, NYSE, NSE, BINANCE.

## `listingCountry` (type: `string`):

ISO code of the listing, e.g. US, DE, IN.

## `calendarKind` (type: `string`):

Earnings, dividends and IPOs use the Market above.

## `dateFrom` (type: `string`):

YYYY-MM-DD. Default: today (IPOs: 30 days ago).

## `dateTo` (type: `string`):

YYYY-MM-DD. Default: a week later (IPOs: 30 days ahead). Earnings and dividends up to 92 days, economic events up to 31.

## `reportedOnly` (type: `boolean`):

Earnings: releases already out, with actual EPS and revenue and the surprise. Off: upcoming releases with estimates.

## `byPaymentDate` (type: `boolean`):

Dividends: the dates apply to the payment date instead of the ex-dividend date.

## `economyCountries` (type: `array`):

ISO codes: US, EU, GB, DE, JP, CN ... Default US and EU.

## `minImportance` (type: `string`):

Economic events of at least this importance.

## `newsFeeds` (type: `array`):

Used when no symbols are given.

## `newsCountry` (type: `string`):

One ISO code the news is about (US, DE, TR ...), when no symbols are given.

## `newsSources` (type: `array`):

Provider ids, e.g. reuters, dow-jones, benzinga, tradingview, market-watch, zacks, cointelegraph.

## `newsLanguage` (type: `string`):

Language of the feed.

## `withArticleText` (type: `boolean`):

Each headline gets its full text, description, images and tags (charged per article). Paywalled providers give a preview only.

## `ideasTopic` (type: `string`):

Used when no symbols, author or search are given: stocks, crypto, forex, futures, indices, bonds, economy, editors-picks, education, trend-analysis ... Default editors-picks.

## `ideasQuery` (type: `string`):

Text search over ideas.

## `ideasAuthor` (type: `string`):

Username or profile link: the ideas one member published.

## `ideasOrder` (type: `string`):

Order of the ideas.

## `withIdeaText` (type: `boolean`):

Each idea gets its complete text, views, tags, updates and first comments (charged per idea).

## `coinOrder` (type: `string`):

Order of the coins ranking. Market cap, volume and change filters above apply.

## `coinCategories` (type: `array`):

E.g. defi, layer-1, meme, stablecoins.

## `etfOrder` (type: `string`):

Order of the ETF list.

## `etfIssuers` (type: `array`):

Issuer brands, e.g. iShares, Vanguard, SPDR.

## `etfAssetClasses` (type: `array`):

Equity, Fixed income, Commodities, Currency ...

## `maxExpenseRatio` (type: `number`):

ETFs with an expense ratio at most this.

## Actor input object example

```json
{
  "mode": "screener",
  "symbols": [
    "NASDAQ:AAPL",
    "NYSE:JPM"
  ],
  "maxResults": 100,
  "market": "america",
  "includeNonStocks": false,
  "addTechnicals": false,
  "timeframes": [
    "1d"
  ],
  "addFinancials": false,
  "fiscalPeriod": "annual",
  "candleTimeframe": "1d",
  "candlesPerSymbol": 300,
  "calendarKind": "earnings",
  "reportedOnly": false,
  "byPaymentDate": false,
  "newsLanguage": "en",
  "withArticleText": false,
  "ideasOrder": "recent",
  "withIdeaText": false,
  "coinOrder": "rank",
  "etfOrder": "aum"
}
```

# Actor output Schema

## `rows` (type: `string`):

All rows in the default dataset.

## `summary` (type: `string`):

What each input delivered or could not read.

# 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 = {
    "symbols": [
        "NASDAQ:AAPL",
        "NYSE:JPM"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("memo23/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 = { "symbols": [
        "NASDAQ:AAPL",
        "NYSE:JPM",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("memo23/tradingview-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 '{
  "symbols": [
    "NASDAQ:AAPL",
    "NYSE:JPM"
  ]
}' |
apify call memo23/tradingview-scraper --silent --output-dataset

```

## MCP server setup

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