{
  "openapi": "3.0.1",
  "info": {
    "title": "TradingView Stock Screener Scraper (No Login)",
    "description": "Screen stocks, crypto, and forex from TradingView's scanner. Filter by market cap, price, volume, sector, P/E, dividend yield, RSI, and daily change. One row per symbol with price, change, volume, market cap, P/E, dividend yield, RSI, sector, industry, exchange, country, YTD. No login. Pay per row.",
    "version": "0.1",
    "x-build-id": "d2gmDjN8LsEpk2ldU"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapemint~tradingview-stock-screener-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapemint-tradingview-stock-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/scrapemint~tradingview-stock-screener-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapemint-tradingview-stock-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/scrapemint~tradingview-stock-screener-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapemint-tradingview-stock-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": {
          "market": {
            "title": "Market",
            "type": "string",
            "description": "TradingView market to screen. Common values: america, crypto, forex, india, uk, germany, canada, australia, japan.",
            "default": "america"
          },
          "marketCapMin": {
            "title": "Min market cap (USD)",
            "type": "integer",
            "description": "Only return symbols with market cap at or above this value."
          },
          "marketCapMax": {
            "title": "Max market cap (USD)",
            "type": "integer",
            "description": "Only return symbols with market cap at or below this value."
          },
          "priceMin": {
            "title": "Min price",
            "type": "integer",
            "description": "Only return symbols trading at or above this price."
          },
          "priceMax": {
            "title": "Max price",
            "type": "integer",
            "description": "Only return symbols trading at or below this price."
          },
          "volumeMin": {
            "title": "Min daily volume",
            "type": "integer",
            "description": "Only return symbols with daily volume at or above this value."
          },
          "sectors": {
            "title": "Sectors",
            "type": "array",
            "description": "Restrict to these TradingView sectors, e.g. \"Technology Services\", \"Electronic Technology\", \"Finance\", \"Health Technology\", \"Energy Minerals\".",
            "items": {
              "type": "string"
            }
          },
          "peRatioMin": {
            "title": "Min P/E ratio",
            "type": "integer",
            "description": "Only return symbols with trailing P/E at or above this value."
          },
          "peRatioMax": {
            "title": "Max P/E ratio",
            "type": "integer",
            "description": "Only return symbols with trailing P/E at or below this value."
          },
          "dividendYieldMin": {
            "title": "Min dividend yield (%)",
            "type": "integer",
            "description": "Only return symbols with a dividend yield at or above this percent."
          },
          "rsiMin": {
            "title": "Min RSI",
            "type": "integer",
            "description": "Only return symbols with 14-period RSI at or above this value (e.g. 70 for overbought)."
          },
          "rsiMax": {
            "title": "Max RSI",
            "type": "integer",
            "description": "Only return symbols with 14-period RSI at or below this value (e.g. 30 for oversold)."
          },
          "changeMin": {
            "title": "Min daily change (%)",
            "type": "integer",
            "description": "Only return symbols up at least this percent on the day."
          },
          "filters": {
            "title": "Raw filters (advanced)",
            "type": "array",
            "description": "Power-user passthrough of raw TradingView filter objects, each { \"left\": \"<field>\", \"operation\": \"<op>\", \"right\": <value> }. Appended to the filters built above."
          },
          "sortBy": {
            "title": "Sort by",
            "type": "string",
            "description": "TradingView column to sort by, e.g. market_cap_basic, volume, change, dividend_yield_recent, RSI.",
            "default": "market_cap_basic"
          },
          "sortOrder": {
            "title": "Sort order",
            "enum": [
              "desc",
              "asc"
            ],
            "type": "string",
            "description": "Sort direction.",
            "default": "desc"
          },
          "maxResults": {
            "title": "Max results",
            "type": "integer",
            "description": "Maximum number of rows to return across all pages. First 25 rows per run are free.",
            "default": 100
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. The scanner is a tolerant public API, so proxy is off by default. Supply one only if you run very large pulls and hit rate limits."
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}