{
  "openapi": "3.0.1",
  "info": {
    "title": "TradingView Screener Scraper — Stocks, ETFs, Crypto & Forex",
    "description": "Export TradingView screener data for 68 stock markets plus ETFs, crypto, forex, futures and bonds: price, change, volume, market cap, P/E, EPS, dividend yield, sector, technical ratings, RSI, performance and any screener column, with filters and sorting. No login.",
    "version": "0.1",
    "x-build-id": "bDoVw5Oiicpmr0GHu"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/yugenox~tradingview-screener-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-yugenox-tradingview-screener-scraper",
        "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/yugenox~tradingview-screener-scraper/runs": {
      "post": {
        "operationId": "runs-sync-yugenox-tradingview-screener-scraper",
        "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/yugenox~tradingview-screener-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-yugenox-tradingview-screener-scraper",
        "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": {
          "assetType": {
            "title": "Asset type",
            "enum": [
              "stocks",
              "etf",
              "crypto_coins",
              "crypto_pairs",
              "forex",
              "futures",
              "bonds"
            ],
            "type": "string",
            "description": "Which TradingView screener to read. Stocks and ETFs are screened in the markets below; crypto, forex, futures and bonds are global screens.",
            "default": "stocks"
          },
          "markets": {
            "title": "Markets (stocks and ETFs)",
            "type": "array",
            "description": "Stock markets to screen, by country (TradingView groups every exchange of a country into one market: United States = NASDAQ, NYSE, AMEX, OTC …). Pick \"All markets\" for a global screen. Ignored for crypto, forex, futures and bonds.",
            "items": {
              "type": "string",
              "enum": [
                "all",
                "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",
                "kuwait",
                "latvia",
                "lithuania",
                "luxembourg",
                "malaysia",
                "mexico",
                "morocco",
                "netherlands",
                "newzealand",
                "nigeria",
                "norway",
                "pakistan",
                "peru",
                "philippines",
                "poland",
                "portugal",
                "qatar",
                "romania",
                "russia",
                "ksa",
                "serbia",
                "singapore",
                "slovakia",
                "rsa",
                "korea",
                "spain",
                "srilanka",
                "sweden",
                "switzerland",
                "taiwan",
                "thailand",
                "tunisia",
                "turkey",
                "uae",
                "uk",
                "america",
                "venezuela",
                "vietnam"
              ],
              "enumTitles": [
                "All markets (global)",
                "Argentina",
                "Australia",
                "Austria",
                "Bahrain",
                "Bangladesh",
                "Belgium",
                "Brazil",
                "Canada",
                "Chile",
                "China",
                "Colombia",
                "Cyprus",
                "Czech Republic",
                "Denmark",
                "Egypt",
                "Estonia",
                "Finland",
                "France",
                "Germany",
                "Greece",
                "Hong Kong",
                "Hungary",
                "Iceland",
                "India",
                "Indonesia",
                "Ireland",
                "Israel",
                "Italy",
                "Japan",
                "Kenya",
                "Kuwait",
                "Latvia",
                "Lithuania",
                "Luxembourg",
                "Malaysia",
                "Mexico",
                "Morocco",
                "Netherlands",
                "New Zealand",
                "Nigeria",
                "Norway",
                "Pakistan",
                "Peru",
                "Philippines",
                "Poland",
                "Portugal",
                "Qatar",
                "Romania",
                "Russia",
                "Saudi Arabia",
                "Serbia",
                "Singapore",
                "Slovakia",
                "South Africa",
                "South Korea",
                "Spain",
                "Sri Lanka",
                "Sweden",
                "Switzerland",
                "Taiwan",
                "Thailand",
                "Tunisia",
                "Turkey",
                "United Arab Emirates",
                "United Kingdom",
                "United States",
                "Venezuela",
                "Vietnam"
              ]
            },
            "default": [
              "america"
            ]
          },
          "symbols": {
            "title": "Symbols (optional)",
            "type": "array",
            "description": "Look up specific symbols instead of running a screen: EXCHANGE:TICKER such as NASDAQ:AAPL, TSX:SHOP, BINANCE:BTCUSDT, FX:EURUSD, TVC:US10Y (any asset type, filters ignored), or plain tickers such as AAPL (matched in the markets above, filters applied). Up to 5,000.",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 0,
            "maximum": 200000,
            "type": "integer",
            "description": "Maximum number of rows (symbols) to save. 0 = everything the screen matches (up to 200,000).",
            "default": 1000
          },
          "sortBy": {
            "title": "Sort by column",
            "type": "string",
            "description": "Any TradingView screener column, e.g. market_cap_basic, volume, change, Perf.YTD, RSI, price_earnings_ttm, dividends_yield_current. Empty = the screener's usual order (market cap for stocks and coins, assets for ETFs, traded volume for crypto pairs and futures, name for forex and bonds). Rows with no value for the column come last."
          },
          "sortOrder": {
            "title": "Sort order",
            "enum": [
              "desc",
              "asc"
            ],
            "type": "string",
            "description": "Highest first or lowest first.",
            "default": "desc"
          },
          "minPrice": {
            "title": "Min price",
            "type": "number",
            "description": "Only symbols whose last price is at least this, in the symbol's own trading currency."
          },
          "maxPrice": {
            "title": "Max price",
            "type": "number",
            "description": "Only symbols whose last price is at most this, in the symbol's own trading currency."
          },
          "minMarketCap": {
            "title": "Min market cap (USD)",
            "type": "number",
            "description": "Stocks and crypto coins: market capitalisation of at least this many US dollars (e.g. 1000000000 = $1B). ETFs: assets under management."
          },
          "maxMarketCap": {
            "title": "Max market cap (USD)",
            "type": "number",
            "description": "Stocks and crypto coins: market capitalisation of at most this many US dollars. ETFs: assets under management."
          },
          "minVolume": {
            "title": "Min volume",
            "type": "number",
            "description": "Only symbols that traded at least this many shares / units / contracts today."
          },
          "minChangePercent": {
            "title": "Min change %",
            "type": "number",
            "description": "Only symbols whose change today is at least this percentage (e.g. 5 = up 5% or more, -3 = down at most 3%)."
          },
          "maxChangePercent": {
            "title": "Max change %",
            "type": "number",
            "description": "Only symbols whose change today is at most this percentage (e.g. -5 = down 5% or more)."
          },
          "sectors": {
            "title": "Sectors (stocks)",
            "type": "array",
            "description": "Only stocks in these sectors (TradingView's sector names). Empty = all 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"
              ],
              "enumTitles": [
                "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"
              ]
            }
          },
          "exchanges": {
            "title": "Exchanges",
            "type": "array",
            "description": "Only symbols listed on these exchanges, by TradingView code, e.g. NASDAQ, NYSE, AMEX, TSX, LSE, XETR, NSE, BINANCE, COINBASE, FX, OANDA, CME. Empty = all exchanges.",
            "items": {
              "type": "string"
            }
          },
          "technicalRatings": {
            "title": "Technical rating",
            "type": "array",
            "description": "Only symbols with these TradingView technical ratings (the summary of moving averages and oscillators on the daily chart). Empty = any rating.",
            "items": {
              "type": "string",
              "enum": [
                "strong_buy",
                "buy",
                "neutral",
                "sell",
                "strong_sell"
              ],
              "enumTitles": [
                "Strong buy",
                "Buy",
                "Neutral",
                "Sell",
                "Strong sell"
              ]
            }
          },
          "primaryListingOnly": {
            "title": "Primary listings only",
            "type": "boolean",
            "description": "Stocks and ETFs: keep each company's primary listing and skip its secondary listings on other exchanges (TradingView's own default). Turn off to get every listing.",
            "default": true
          },
          "includePreferred": {
            "title": "Include preferred shares",
            "type": "boolean",
            "description": "Stocks: also return preferred shares (left out by default, like on TradingView).",
            "default": false
          },
          "includeDex": {
            "title": "Include DEX pairs",
            "type": "boolean",
            "description": "Crypto pairs: also return decentralised-exchange pools (about 25,000 extra, mostly thinly traded). Off = centralised exchanges only.",
            "default": false
          },
          "columns": {
            "title": "Extra columns",
            "type": "array",
            "description": "Any other TradingView screener columns to add to every row (under \"columns\"), e.g. price_book_fq, return_on_equity, EMA20, ADX, MACD.macd, gross_margin, earnings_release_next_date, Perf.5Y. Names are case-sensitive; an unknown name comes back empty and the run tells you.",
            "items": {
              "type": "string"
            }
          },
          "advancedFilters": {
            "title": "Advanced filters (TradingView JSON)",
            "type": "array",
            "description": "Extra filters in TradingView's own screener format, all of which must match: [{\"left\": \"RSI\", \"operation\": \"less\", \"right\": 30}, {\"left\": \"price_earnings_ttm\", \"operation\": \"in_range\", \"right\": [5, 15]}]. Operations: greater, egreater, less, eless, equal, nequal, in_range, not_in_range, has, has_none_of, crosses_above, crosses_below, above%, below%, match, empty, nempty."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify Proxy (datacenter) is the default and comes with every Apify plan; TradingView's screener answers it.",
            "default": {
              "useApifyProxy": true
            }
          },
          "_noResidential": {
            "title": "Run as an account without residential proxies",
            "type": "boolean",
            "description": "Internal (canaries): behave exactly like an account without the RESIDENTIAL proxy group.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}