{
  "openapi": "3.0.1",
  "info": {
    "title": "TradingView Data API - Screener, Fundamentals, News & Ideas",
    "description": "TradingView screener data for 74 markets (stocks, ETFs, crypto, forex, futures, bonds): 1,000+ verified columns per symbol — price, fundamentals, technicals per timeframe, performance, dividends, earnings dates — plus news with article text and trading ideas. No login.",
    "version": "0.1",
    "x-build-id": "rt1UcRcT7NcwQGCOD"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/oswaldocarabano~tradingview-data-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-oswaldocarabano-tradingview-data-api",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/oswaldocarabano~tradingview-data-api/runs": {
      "post": {
        "operationId": "runs-sync-oswaldocarabano-tradingview-data-api",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/oswaldocarabano~tradingview-data-api/run-sync": {
      "post": {
        "operationId": "run-sync-oswaldocarabano-tradingview-data-api",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "outputType": {
            "title": "What to extract",
            "enum": [
              "screener",
              "symbols",
              "news",
              "ideas"
            ],
            "type": "string",
            "description": "One row type per run. <b>screener</b>: every symbol of a market that matches your filters, with up to 1,000+ columns (price, fundamentals, technicals per timeframe, performance, dividends, analyst estimates, upcoming earnings). <b>symbols</b>: the same columns for the symbols you paste. <b>news</b>: TradingView news headlines with the article text, for your symbols or for whole markets. <b>ideas</b>: TradingView community trading ideas (title, summary, direction, timeframe, likes, author) for your symbols or for all symbols.",
            "default": "screener"
          },
          "market": {
            "title": "Market (for screener)",
            "enum": [
              "america",
              "argentina",
              "australia",
              "austria",
              "bahrain",
              "bangladesh",
              "belgium",
              "brazil",
              "canada",
              "chile",
              "china",
              "colombia",
              "cyprus",
              "czech",
              "denmark",
              "egypt",
              "estonia",
              "finland",
              "france",
              "germany",
              "greece",
              "hongkong",
              "hungary",
              "iceland",
              "india",
              "indonesia",
              "ireland",
              "israel",
              "italy",
              "japan",
              "kenya",
              "korea",
              "kuwait",
              "latvia",
              "lithuania",
              "luxembourg",
              "malaysia",
              "mexico",
              "morocco",
              "netherlands",
              "newzealand",
              "nigeria",
              "norway",
              "pakistan",
              "peru",
              "philippines",
              "poland",
              "portugal",
              "qatar",
              "romania",
              "russia",
              "ksa",
              "rsa",
              "serbia",
              "singapore",
              "slovakia",
              "spain",
              "srilanka",
              "sweden",
              "switzerland",
              "taiwan",
              "thailand",
              "tunisia",
              "turkey",
              "uae",
              "uk",
              "venezuela",
              "vietnam",
              "coin",
              "crypto",
              "forex",
              "futures",
              "bonds",
              "cfd"
            ],
            "type": "string",
            "description": "Which TradingView screener to scan: 68 stock markets by country (stocks, ETFs and funds), crypto coins, crypto pairs, forex, futures, bonds and CFDs. Measured on 18 Nov 2026: the United States has 20,317 symbols, crypto pairs 65,443, futures 52,549.",
            "default": "america"
          },
          "symbols": {
            "title": "Symbols (for symbols, news or ideas)",
            "maxItems": 2000,
            "type": "array",
            "description": "TradingView symbols as EXCHANGE:SYMBOL (NASDAQ:AAPL, NYSE:BRK.A, BINANCE:BTCUSDT, FX:EURUSD, CME_MINI:ES1!), bare symbols (AAPL: resolved to the primary listing) or tradingview.com/symbols links. Pasting symbols with the type \"Screener\" switches the run to \"Symbols\". With \"News\" or \"Ideas\", the feed of each symbol is read. A symbol that does not exist gets one error row that is not charged.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max rows",
            "minimum": 1,
            "maximum": 70000,
            "type": "integer",
            "description": "Rows delivered (and charged) at most. Empty = 100 rows, or every symbol you pasted. Duplicates and error rows are never charged. A news feed has up to 200 items per symbol or market; an ideas feed up to 1,000 per symbol."
          },
          "columnSets": {
            "title": "Column groups",
            "type": "array",
            "description": "Groups of columns per row (screener and symbols). Every column was checked against real TradingView values on 18 Nov 2026 (at least 300 rows per asset class); a column only appears for the asset classes where TradingView fills it. Default: every group except candlestick patterns, pivot points and financial history (multi-year series), which you can add. Columns with names you know from TradingView can also be added one by one with \"Extra columns\".",
            "items": {
              "type": "string",
              "enum": [
                "overview",
                "performance",
                "valuation",
                "dividends",
                "earnings-and-calendar",
                "analyst-estimates",
                "profitability",
                "income-statement",
                "balance-sheet",
                "cash-flow",
                "financial-scores",
                "technicals",
                "moving-averages",
                "pivots",
                "candlestick-patterns",
                "financial-history",
                "etf",
                "crypto",
                "bonds-futures"
              ],
              "enumTitles": [
                "Overview (125)",
                "Performance (40)",
                "Valuation (39)",
                "Dividends (49)",
                "Earnings And Calendar (46)",
                "Analyst Estimates (84)",
                "Profitability (50)",
                "Income Statement (105)",
                "Balance Sheet (106)",
                "Cash Flow (54)",
                "Financial Scores (26)",
                "Technicals (105)",
                "Moving Averages (86)",
                "Pivots (31)",
                "Candlestick Patterns (44)",
                "Financial History (31)",
                "Etf (53)",
                "Crypto (116)",
                "Bonds Futures (9)"
              ]
            },
            "default": [
              "overview",
              "performance",
              "valuation",
              "dividends",
              "earnings-and-calendar",
              "analyst-estimates",
              "profitability",
              "income-statement",
              "balance-sheet",
              "cash-flow",
              "financial-scores",
              "technicals",
              "moving-averages",
              "etf",
              "crypto",
              "bonds-futures"
            ]
          },
          "timeframes": {
            "title": "Technical timeframes",
            "type": "array",
            "description": "Adds the technical columns (ratings, RSI, MACD, stochastics, moving averages…) for each intraday, weekly or monthly timeframe you pick, named with a suffix: rsi_1h, technicalRating_4h, macdLine_1W. The daily values are always included without a suffix.",
            "items": {
              "type": "string",
              "enum": [
                "1m",
                "5m",
                "15m",
                "30m",
                "1h",
                "2h",
                "4h",
                "1W",
                "1M"
              ],
              "enumTitles": [
                "1 minute",
                "5 minutes",
                "15 minutes",
                "30 minutes",
                "1 hour",
                "2 hours",
                "4 hours",
                "1 week",
                "1 month"
              ]
            },
            "default": []
          },
          "extraColumns": {
            "title": "Extra columns",
            "maxItems": 500,
            "type": "array",
            "description": "Any other TradingView screener column by its code (Perf.YTD, RSI|240, earnings_release_next_date) or its output name (performanceYtdPercent, rsi_4h). Only columns of the verified catalog are accepted; an unknown one stops the run before anything is charged, with a message.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "assetTypes": {
            "title": "Asset types",
            "type": "array",
            "description": "Only these TradingView asset types (stock, fund = ETFs and funds, dr = depositary receipts, spot/swap/futures for crypto, index/commodity for CFDs…).",
            "items": {
              "type": "string",
              "enum": [
                "stock",
                "fund",
                "dr",
                "structured",
                "spot",
                "swap",
                "futures",
                "forex",
                "bond",
                "index",
                "commodity"
              ]
            },
            "default": []
          },
          "assetSubtypes": {
            "title": "Asset subtypes",
            "type": "array",
            "description": "Only symbols tagged with any of these subtypes (common stock, preferred, ETF, closed-end fund, REIT, unit).",
            "items": {
              "type": "string",
              "enum": [
                "common",
                "preferred",
                "etf",
                "closedend",
                "reit",
                "unit"
              ],
              "enumTitles": [
                "Common stock",
                "Preferred stock",
                "ETF",
                "Closed-end fund",
                "REIT",
                "Unit"
              ]
            },
            "default": []
          },
          "sectors": {
            "title": "Sectors",
            "type": "array",
            "description": "Only stocks in any of these TradingView sectors.",
            "items": {
              "type": "string",
              "enum": [
                "Commercial Services",
                "Communications",
                "Consumer Durables",
                "Consumer Non-Durables",
                "Consumer Services",
                "Distribution Services",
                "Electronic Technology",
                "Energy Minerals",
                "Finance",
                "Government",
                "Health Services",
                "Health Technology",
                "Industrial Services",
                "Miscellaneous",
                "Non-Energy Minerals",
                "Process Industries",
                "Producer Manufacturing",
                "Retail Trade",
                "Technology Services",
                "Transportation",
                "Utilities"
              ]
            },
            "default": []
          },
          "exchanges": {
            "title": "Exchanges",
            "type": "array",
            "description": "Only symbols listed on these exchanges, by TradingView code: NASDAQ, NYSE, AMEX, OTC, CBOE (United States), XETR, FWB (Germany), LSE (UK), NSE, BSE (India), BINANCE, COINBASE, BYBIT (crypto)…",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "primaryListingOnly": {
            "title": "Primary listings only",
            "type": "boolean",
            "description": "Skip secondary listings of the same company on other exchanges (13,819 of 20,317 US symbols are primary listings).",
            "default": false
          },
          "searchText": {
            "title": "Name contains",
            "type": "string",
            "description": "Only symbols whose company or instrument name contains this text (e.g. \"bank\", \"gold\", \"semiconductor\")."
          },
          "minMarketCap": {
            "title": "Min market cap",
            "minimum": 0,
            "type": "number",
            "description": "In the market's own currency (USD for the United States and crypto). Every row also has marketCapUsd."
          },
          "maxMarketCap": {
            "title": "Max market cap",
            "minimum": 0,
            "type": "number",
            "description": "In the market's own currency (USD for the United States and crypto)."
          },
          "minPrice": {
            "title": "Min price",
            "minimum": 0,
            "type": "number",
            "description": "Last price in the quote currency."
          },
          "maxPrice": {
            "title": "Max price",
            "minimum": 0,
            "type": "number",
            "description": "Last price in the quote currency."
          },
          "minVolume": {
            "title": "Min volume (today)",
            "minimum": 0,
            "type": "number",
            "description": "Shares or contracts traded today."
          },
          "minChangePercent": {
            "title": "Min change today (%)",
            "minimum": -100,
            "type": "number",
            "description": "For example 5 for gainers of at least +5 % today."
          },
          "maxChangePercent": {
            "title": "Max change today (%)",
            "minimum": -100,
            "type": "number",
            "description": "For example -5 for losers of at least -5 % today."
          },
          "minDividendYield": {
            "title": "Min dividend yield (%)",
            "minimum": 0,
            "type": "number",
            "description": "Current dividend yield in percent."
          },
          "minPeRatio": {
            "title": "Min P/E",
            "type": "number",
            "description": "Price to earnings, trailing twelve months."
          },
          "maxPeRatio": {
            "title": "Max P/E",
            "type": "number",
            "description": "Price to earnings, trailing twelve months."
          },
          "technicalRatings": {
            "title": "Technical rating (daily)",
            "type": "array",
            "description": "TradingView summary rating from its oscillators and moving averages (the \"Technicals\" gauge): strong buy ≥ 0.5, buy 0.1–0.5, neutral, sell, strong sell ≤ -0.5.",
            "items": {
              "type": "string",
              "enum": [
                "strong-buy",
                "buy",
                "neutral",
                "sell",
                "strong-sell"
              ],
              "enumTitles": [
                "Strong buy",
                "Buy",
                "Neutral",
                "Sell",
                "Strong sell"
              ]
            },
            "default": []
          },
          "rsiBelow": {
            "title": "RSI (14, daily) below",
            "minimum": 0,
            "maximum": 100,
            "type": "number",
            "description": "For example 30 for oversold symbols."
          },
          "rsiAbove": {
            "title": "RSI (14, daily) above",
            "minimum": 0,
            "maximum": 100,
            "type": "number",
            "description": "For example 70 for overbought symbols."
          },
          "earningsWithinDays": {
            "title": "Earnings within the next N days",
            "minimum": 0,
            "maximum": 365,
            "type": "integer",
            "description": "Only companies whose next earnings release is between today and N days from now (0 = today)."
          },
          "customFilters": {
            "title": "Custom filters (advanced)",
            "maxItems": 30,
            "type": "array",
            "description": "Any TradingView screener condition, as a JSON list: [{\"field\": \"rsi_1h\", \"operation\": \"less\", \"value\": 30}, {\"field\": \"close\", \"operation\": \"above%\", \"value\": [\"SMA200\", 1.0]}]. Fields accept a column code or an output name; operations: greater, egreater, less, eless, equal, nequal, in_range, not_in_range, match, has, has_none_of, empty, nempty, above%, below%, crosses_above, crosses_below, in_day_range, in_week_range. Every operation was checked to narrow the results.",
            "default": []
          },
          "sortBy": {
            "title": "Sort by",
            "type": "string",
            "description": "Column to rank the screener by (code or output name): marketCap, changePercent, volume, relativeVolume, rsi, performanceYtdPercent, dividendYieldPercent… Empty = market cap for stocks and coins, 24h volume for crypto pairs, name for the rest."
          },
          "sortOrder": {
            "title": "Sort order",
            "enum": [
              "desc",
              "asc"
            ],
            "type": "string",
            "description": "Highest first (desc) or lowest first (asc).",
            "default": "desc"
          },
          "newsMarkets": {
            "title": "News: markets (when no symbols)",
            "type": "array",
            "description": "Without symbols, the news run reads the latest headlines of these TradingView news sections (up to 200 each).",
            "items": {
              "type": "string",
              "enum": [
                "stock",
                "etf",
                "crypto",
                "forex",
                "futures",
                "bond",
                "index",
                "economic"
              ],
              "enumTitles": [
                "Stocks",
                "ETFs",
                "Crypto",
                "Forex",
                "Futures",
                "Bonds",
                "Indices",
                "Economy"
              ]
            },
            "default": [
              "stock"
            ]
          },
          "newsLanguage": {
            "title": "News language",
            "enum": [
              "en",
              "es",
              "de",
              "fr",
              "it",
              "pt",
              "ja",
              "ko",
              "zh",
              "ru",
              "tr",
              "ar",
              "id",
              "ms",
              "th",
              "vi",
              "pl",
              "he",
              "nl",
              "sv"
            ],
            "type": "string",
            "description": "Language edition of TradingView news.",
            "default": "en"
          },
          "includeNewsBody": {
            "title": "Include the article text",
            "type": "boolean",
            "description": "Adds body, shortDescription, tags and read time for each headline (one extra request per article; measured: 59 of 60 articles had a body). For paywalled providers TradingView only publishes a preview, marked with bodyIsPreview.",
            "default": true
          },
          "ideasSort": {
            "title": "Ideas order",
            "enum": [
              "recent",
              "trending",
              "week_popular",
              "latest_popular",
              "picked_time"
            ],
            "type": "string",
            "description": "Order of the ideas feed.",
            "default": "recent"
          },
          "includeIdeaFullText": {
            "title": "Include the full idea text",
            "type": "boolean",
            "description": "The ideas feed cuts the text at about 500 characters (measured on 380 ideas). This opens each idea page to add the full text, its tags and the view count; charged as a separate small event only when the full text is obtained.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Parallel requests",
            "minimum": 1,
            "maximum": 16,
            "type": "integer",
            "description": "Requests in flight at once. 4 delivered 100 screener rows with all default columns in a few seconds; higher values only help for large news or ideas runs with article text.",
            "default": 4
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}