{
  "data": {
    "id": "fSERFJhIOwV8Gck7b",
    "actId": "Z7fDzrmbh5Xgm2Usu",
    "userId": "IYgBDiXtHOijAaUel",
    "startedAt": "2026-12-02T09:02:35.449Z",
    "finishedAt": "2026-12-02T09:02:47.542Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CLI"
    },
    "inputSchema": "{\n  \"title\": \"TipRanks Analyst Ratings, Consensus & Activity Input\",\n  \"description\": \"Choose what to collect from TipRanks: analyst consensus, rating history, price targets, stock profiles, the stock screener, analyst profiles, news, insider trades, hedge-fund positions, or search results. No account, API key or proxy setup is required.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Mode\",\n      \"type\": \"string\",\n      \"description\": \"What to collect. Ticker-based modes use the tickers below; the screener uses the stock filters; the analyst mode uses the analysts list; search uses the search query.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"stockConsensus\",\n        \"analystRatings\",\n        \"priceTargets\",\n        \"stockProfile\",\n        \"stocks\",\n        \"analysts\",\n        \"news\",\n        \"insiderTrades\",\n        \"hedgeFundActivity\",\n        \"search\"\n      ],\n      \"enumTitles\": [\n        \"Stock consensus (buy/hold/sell counts, price target)\",\n        \"Analyst rating history (individual rating changes)\",\n        \"Price targets (consensus, top analysts, recent targets)\",\n        \"Stock profile (company, price, Smart Score, key data)\",\n        \"Stock screener (filter and sort the market)\",\n        \"Analyst profiles (rank, coverage, best call)\",\n        \"Stock news (articles and TipRanks blog posts)\",\n        \"Insider trades (officer, director and owner transactions)\",\n        \"Hedge-fund activity (fund positions and changes)\",\n        \"Search (tickers, analysts, insiders, funds)\"\n      ],\n      \"default\": \"stockConsensus\",\n      \"prefill\": \"stockConsensus\",\n      \"sectionCaption\": \"Mode and targets\"\n    },\n    \"tickers\": {\n      \"title\": \"Tickers\",\n      \"type\": \"array\",\n      \"description\": \"Stock tickers for ticker-based modes. Accepts symbols such as AAPL, BRK.B, $TSLA, or a TipRanks/Yahoo Finance stock URL.\",\n      \"editor\": \"stringList\",\n      \"default\": [\n        \"AAPL\"\n      ],\n      \"prefill\": [\n        \"AAPL\"\n      ]\n    },\n    \"analysts\": {\n      \"title\": \"Analysts\",\n      \"type\": \"array\",\n      \"description\": \"Analyst names, slugs or TipRanks profile URLs for mode=analysts. Examples: Andrew Marok, andrew-marok, https://www.tipranks.com/experts/analysts/andrew-marok.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"searchQuery\": {\n      \"title\": \"Search query\",\n      \"type\": \"string\",\n      \"description\": \"Company, ticker or expert name for mode=search. Examples: Apple, NVDA, Andrew Marok.\",\n      \"editor\": \"textfield\",\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"maxItems\": {\n      \"title\": \"Max records\",\n      \"type\": \"integer\",\n      \"description\": \"Maximum number of records to save across tickers and pages.\",\n      \"minimum\": 1,\n      \"maximum\": 20000,\n      \"default\": 50,\n      \"prefill\": 2\n    },\n    \"ratingPosition\": {\n      \"title\": \"Rating position\",\n      \"type\": \"string\",\n      \"description\": \"Only keep analyst ratings with this position (mode=analystRatings).\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"all\",\n        \"buy\",\n        \"hold\",\n        \"sell\"\n      ],\n      \"enumTitles\": [\n        \"All positions\",\n        \"Buy\",\n        \"Hold\",\n        \"Sell\"\n      ],\n      \"default\": \"all\",\n      \"prefill\": \"all\"\n    },\n    \"includeAiAnalysts\": {\n      \"title\": \"Include AI analyst ratings\",\n      \"type\": \"boolean\",\n      \"description\": \"Include TipRanks' AI-generated analyst ratings in mode=analystRatings. Off by default to match the human analyst table.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"ratingAction\": {\n      \"title\": \"Rating action\",\n      \"type\": \"string\",\n      \"description\": \"Only keep analyst ratings with this action (mode=analystRatings).\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"all\",\n        \"upgraded\",\n        \"downgraded\",\n        \"reiterated\",\n        \"initiated\",\n        \"assigned\",\n        \"other\"\n      ],\n      \"enumTitles\": [\n        \"All actions\",\n        \"Upgraded\",\n        \"Downgraded\",\n        \"Reiterated\",\n        \"Initiated\",\n        \"Assigned\",\n        \"Other\"\n      ],\n      \"default\": \"all\",\n      \"prefill\": \"all\"\n    },\n    \"newsSentiment\": {\n      \"title\": \"News sentiment\",\n      \"type\": \"string\",\n      \"description\": \"Only keep articles with this sentiment (mode=news). Blog posts have no sentiment and are skipped when a sentiment is selected.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"all\",\n        \"positive\",\n        \"negative\",\n        \"neutral\"\n      ],\n      \"enumTitles\": [\n        \"All sentiment\",\n        \"Positive\",\n        \"Negative\",\n        \"Neutral\"\n      ],\n      \"default\": \"all\",\n      \"prefill\": \"all\"\n    },\n    \"newsContent\": {\n      \"title\": \"News content\",\n      \"type\": \"string\",\n      \"description\": \"Choose articles, TipRanks blog posts, or both (mode=news).\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"all\",\n        \"articles\",\n        \"posts\"\n      ],\n      \"enumTitles\": [\n        \"Articles and blog posts\",\n        \"Articles only\",\n        \"Blog posts only\"\n      ],\n      \"default\": \"all\",\n      \"prefill\": \"all\"\n    },\n    \"transactionType\": {\n      \"title\": \"Insider transaction type\",\n      \"type\": \"string\",\n      \"description\": \"Only keep insider transactions of this type (mode=insiderTrades).\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"all\",\n        \"buy\",\n        \"sell\",\n        \"other\"\n      ],\n      \"enumTitles\": [\n        \"All transactions\",\n        \"Buys\",\n        \"Sales\",\n        \"Other\"\n      ],\n      \"default\": \"all\",\n      \"prefill\": \"all\"\n    },\n    \"minTransactionValue\": {\n      \"title\": \"Minimum insider transaction value (USD)\",\n      \"type\": \"integer\",\n      \"description\": \"Skip insider transactions below this reported value (mode=insiderTrades). Use 0 for no minimum.\",\n      \"minimum\": 0,\n      \"maximum\": 1000000000000,\n      \"default\": 0,\n      \"prefill\": 0\n    },\n    \"positionAction\": {\n      \"title\": \"Hedge-fund position action\",\n      \"type\": \"string\",\n      \"description\": \"Only keep hedge-fund positions with this change (mode=hedgeFundActivity).\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"all\",\n        \"added\",\n        \"reduced\",\n        \"soldOut\",\n        \"notChanged\"\n      ],\n      \"enumTitles\": [\n        \"All changes\",\n        \"Added\",\n        \"Reduced\",\n        \"Sold out\",\n        \"Not changed\"\n      ],\n      \"default\": \"all\",\n      \"prefill\": \"all\"\n    },\n    \"minPositionValue\": {\n      \"title\": \"Minimum hedge-fund position value (USD)\",\n      \"type\": \"integer\",\n      \"description\": \"Skip hedge-fund positions below this reported value (mode=hedgeFundActivity). Use 0 for no minimum.\",\n      \"minimum\": 0,\n      \"maximum\": 1000000000000,\n      \"default\": 0,\n      \"prefill\": 0\n    },\n    \"marketCountry\": {\n      \"title\": \"Screener market\",\n      \"type\": \"string\",\n      \"description\": \"Market to screen (mode=stocks) and country hint for non-US search results (mode=search). US uses the major primary exchanges by default.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"United States\",\n        \"United Kingdom\",\n        \"Canada\",\n        \"Australia\",\n        \"India\",\n        \"Germany\",\n        \"France\",\n        \"Japan\",\n        \"Hong Kong\",\n        \"Singapore\",\n        \"Brazil\"\n      ],\n      \"enumTitles\": [\n        \"United States\",\n        \"United Kingdom\",\n        \"Canada\",\n        \"Australia\",\n        \"India\",\n        \"Germany\",\n        \"France\",\n        \"Japan\",\n        \"Hong Kong\",\n        \"Singapore\",\n        \"Brazil\"\n      ],\n      \"default\": \"United States\",\n      \"prefill\": \"United States\"\n    },\n    \"sector\": {\n      \"title\": \"Sector\",\n      \"type\": \"string\",\n      \"description\": \"Only keep stocks in this sector (mode=stocks).\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"Any\",\n        \"Technology\",\n        \"Financial\",\n        \"Healthcare\",\n        \"Consumer Defensive\",\n        \"Consumer Cyclical\",\n        \"Utilities\",\n        \"Basic Materials\",\n        \"Industrials\",\n        \"Energy\",\n        \"Communication Services\",\n        \"Real Estate\"\n      ],\n      \"enumTitles\": [\n        \"Any sector\",\n        \"Technology\",\n        \"Financial\",\n        \"Healthcare\",\n        \"Consumer Defensive\",\n        \"Consumer Cyclical\",\n        \"Utilities\",\n        \"Basic Materials\",\n        \"Industrials\",\n        \"Energy\",\n        \"Communication Services\",\n        \"Real Estate\"\n      ],\n      \"default\": \"Any\",\n      \"prefill\": \"Any\"\n    },\n    \"analystConsensus\": {\n      \"title\": \"Analyst consensus\",\n      \"type\": \"string\",\n      \"description\": \"Only keep stocks with this analyst consensus (mode=stocks).\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"Any\",\n        \"Strong Buy\",\n        \"Moderate Buy\",\n        \"Hold\",\n        \"Moderate Sell\",\n        \"Strong Sell\"\n      ],\n      \"enumTitles\": [\n        \"Any consensus\",\n        \"Strong Buy\",\n        \"Moderate Buy\",\n        \"Hold\",\n        \"Moderate Sell\",\n        \"Strong Sell\"\n      ],\n      \"default\": \"Any\",\n      \"prefill\": \"Any\"\n    },\n    \"priceTargetUpside\": {\n      \"title\": \"Analyst price-target upside\",\n      \"type\": \"string\",\n      \"description\": \"Only keep stocks in this analyst price-target upside bucket (mode=stocks).\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"Any\",\n        \"Upside >20%\",\n        \"Upside 10% - 20%\",\n        \"Upside 5% - 10%\",\n        \"Upside 0% - 5%\",\n        \"Downside 0% - 5%\",\n        \"Downside 5% - 10%\",\n        \"Downside 10% - 20%\",\n        \"Downside >20%\"\n      ],\n      \"enumTitles\": [\n        \"Any upside\",\n        \"Upside >20%\",\n        \"Upside 10% - 20%\",\n        \"Upside 5% - 10%\",\n        \"Upside 0% - 5%\",\n        \"Downside 0% - 5%\",\n        \"Downside 5% - 10%\",\n        \"Downside 10% - 20%\",\n        \"Downside >20%\"\n      ],\n      \"default\": \"Any\",\n      \"prefill\": \"Any\"\n    },\n    \"marketCapBucket\": {\n      \"title\": \"Market cap\",\n      \"type\": \"string\",\n      \"description\": \"Only keep stocks in this market-cap bucket (mode=stocks).\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"Any\",\n        \"Mega (Over $200B)\",\n        \"Large ($10B - $200B)\",\n        \"Medium ($2B - $10B)\",\n        \"Small ($300M - $2B)\",\n        \"Micro (Under $300M)\"\n      ],\n      \"enumTitles\": [\n        \"Any market cap\",\n        \"Mega (Over $200B)\",\n        \"Large ($10B - $200B)\",\n        \"Medium ($2B - $10B)\",\n        \"Small ($300M - $2B)\",\n        \"Micro (Under $300M)\"\n      ],\n      \"default\": \"Any\",\n      \"prefill\": \"Any\"\n    },\n    \"dividendYield\": {\n      \"title\": \"Dividend yield\",\n      \"type\": \"string\",\n      \"description\": \"Only keep stocks in this dividend-yield bucket (mode=stocks).\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"Any\",\n        \"None (0%)\",\n        \"Low (0% - 2.5%)\",\n        \"High (2.5% - 5%)\",\n        \"Very High (>5%)\"\n      ],\n      \"enumTitles\": [\n        \"Any dividend yield\",\n        \"None (0%)\",\n        \"Low (0% - 2.5%)\",\n        \"High (2.5% - 5%)\",\n        \"Very High (>5%)\"\n      ],\n      \"default\": \"Any\",\n      \"prefill\": \"Any\"\n    },\n    \"peRatio\": {\n      \"title\": \"P/E ratio\",\n      \"type\": \"string\",\n      \"description\": \"Only keep stocks in this P/E bucket (mode=stocks).\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"Any\",\n        \"Negative\",\n        \"0 - 15\",\n        \"15 - 25\",\n        \"Above 25\"\n      ],\n      \"enumTitles\": [\n        \"Any P/E\",\n        \"Negative\",\n        \"0 - 15\",\n        \"15 - 25\",\n        \"Above 25\"\n      ],\n      \"default\": \"Any\",\n      \"prefill\": \"Any\"\n    },\n    \"includeSecondaryListings\": {\n      \"title\": \"Include secondary listings\",\n      \"type\": \"boolean\",\n      \"description\": \"Include OTC and other secondary listings in the screener (mode=stocks). Off by default so results match the site's primary screener.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"exchange\": {\n      \"title\": \"Exchange\",\n      \"type\": \"string\",\n      \"description\": \"Exchange filter for the US screener (mode=stocks).\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"All US primary exchanges\",\n        \"NASDAQ\",\n        \"NYSE\",\n        \"NYSE American\",\n        \"NYSE Arca\",\n        \"BATS\",\n        \"TXSE\",\n        \"OTC\"\n      ],\n      \"enumTitles\": [\n        \"All US primary exchanges\",\n        \"NASDAQ\",\n        \"NYSE\",\n        \"NYSE American\",\n        \"NYSE Arca\",\n        \"BATS\",\n        \"TXSE\",\n        \"OTC\"\n      ],\n      \"default\": \"All US primary exchanges\",\n      \"prefill\": \"All US primary exchanges\"\n    },\n    \"earningsDate\": {\n      \"title\": \"Upcoming earnings\",\n      \"type\": \"string\",\n      \"description\": \"Only keep stocks with earnings in this window (mode=stocks).\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"Any\",\n        \"Today\",\n        \"Tomorrow\",\n        \"Next 5 Days\",\n        \"This Week\",\n        \"Next Week\",\n        \"This Month\"\n      ],\n      \"enumTitles\": [\n        \"Any date\",\n        \"Today\",\n        \"Tomorrow\",\n        \"Next 5 Days\",\n        \"This Week\",\n        \"Next Week\",\n        \"This Month\"\n      ],\n      \"default\": \"Any\",\n      \"prefill\": \"Any\"\n    },\n    \"sortBy\": {\n      \"title\": \"Sort by\",\n      \"type\": \"string\",\n      \"description\": \"Sort order for the stock screener (mode=stocks).\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"Market Cap\",\n        \"Smart Score\",\n        \"Analyst Consensus\",\n        \"Analyst Price Target\",\n        \"Price\",\n        \"Volume\",\n        \"Average Volume (3M)\",\n        \"Dividend Yield\",\n        \"Yearly Gain\",\n        \"Last Rating Date\"\n      ],\n      \"enumTitles\": [\n        \"Market cap\",\n        \"Smart Score\",\n        \"Analyst consensus\",\n        \"Analyst price-target upside\",\n        \"Price\",\n        \"Volume\",\n        \"Average volume (3M)\",\n        \"Dividend yield\",\n        \"Yearly gain\",\n        \"Last rating date\"\n      ],\n      \"default\": \"Market Cap\",\n      \"prefill\": \"Market Cap\"\n    },\n    \"sortDirection\": {\n      \"title\": \"Sort direction\",\n      \"type\": \"string\",\n      \"description\": \"Direction of the screener sort (mode=stocks).\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"Descending\",\n        \"Ascending\"\n      ],\n      \"enumTitles\": [\n        \"Descending\",\n        \"Ascending\"\n      ],\n      \"default\": \"Descending\",\n      \"prefill\": \"Descending\"\n    },\n    \"pageSize\": {\n      \"title\": \"Screener page size\",\n      \"type\": \"integer\",\n      \"description\": \"Rows requested per screener page (mode=stocks). Larger pages reduce requests.\",\n      \"minimum\": 10,\n      \"maximum\": 1000,\n      \"default\": 100,\n      \"prefill\": 100\n    }\n  },\n  \"required\": [\n    \"mode\"\n  ]\n}",
    "readme": "# TipRanks Analyst Ratings & Consensus Tracker\n\nWall Street sends a constant stream of upgrades, downgrades and price-target changes. This actor turns TipRanks' public stock, analyst and market pages into structured records so you can follow consensus, rating history, price targets, screener results and ownership activity without opening a browser tab for every ticker.\n\nNo TipRanks account, cookie or API key is required. Give it a ticker list, a screener filter or an analyst name and it returns clean JSON.\n\n## Modes\n\n| Mode | What it returns |\n|---|---|\n| `stockConsensus` | One snapshot per ticker: buy/hold/sell analyst counts, consensus label and score, average price target, upside, Smart Score, price and company profile. |\n| `analystRatings` | One record per analyst rating action: firm, analyst, new rating, action, price target, rating date and the linked article. |\n| `priceTargets` | One record per ticker: all-analyst average target and upside, top-analyst target, high/low targets and statistics from recent rating actions. |\n| `stockProfile` | One record per ticker: company description, sector, industry, CEO, employees, price, market cap, P/E, Smart Score, 52-week range and analyst consensus. |\n| `stocks` | Stock-screener rows with server-side filters and sorts: price, change, market cap, P/E, dividend yield, analyst consensus, price-target upside, sector, exchange, earnings date and more. |\n| `analysts` | One record per analyst: rank, star score, success rate, average return, coverage list, best call and latest rating per covered ticker. |\n| `news` | Stock news articles and TipRanks blog posts, with source, date and article sentiment where TipRanks provides it. |\n| `insiderTrades` | Insider transactions: officer/director/owner, buy or sale, shares, reported value, transaction date and SEC filing link. |\n| `hedgeFundActivity` | Hedge-fund positions: fund and manager, reported position value, change, portfolio allocation and report date. |\n| `search` | TipRanks search results across tickers, ETFs, funds, crypto, forex, commodities, analysts, insiders, hedge funds and bloggers. |\n\nSwitch mode with the `mode` input. Ticker modes accept symbols, `$TICKER`, `NASDAQ:TICKER`, or TipRanks/Yahoo Finance stock URLs.\n\n## Input examples\n\n### Consensus snapshot for a watchlist\n\n```json\n{\n  \"mode\": \"stockConsensus\",\n  \"tickers\": [\"AAPL\", \"MSFT\", \"NVDA\"],\n  \"maxItems\": 10\n}\n```\n\n### Upgrades and downgrades for one stock\n\n```json\n{\n  \"mode\": \"analystRatings\",\n  \"tickers\": [\"TSLA\"],\n  \"ratingAction\": \"downgraded\",\n  \"maxItems\": 50\n}\n```\n\n### Strong-buy technology stocks above $10B\n\n```json\n{\n  \"mode\": \"stocks\",\n  \"marketCountry\": \"United States\",\n  \"sector\": \"Technology\",\n  \"analystConsensus\": \"Strong Buy\",\n  \"marketCapBucket\": \"Mega (Over $200B)\",\n  \"sortBy\": \"Analyst Price Target\",\n  \"sortDirection\": \"Descending\",\n  \"maxItems\": 100\n}\n```\n\n### An analyst's full public profile\n\n```json\n{\n  \"mode\": \"analysts\",\n  \"analysts\": [\"Andrew Marok\", \"https://www.tipranks.com/experts/analysts/andrew-marok\"],\n  \"maxItems\": 5\n}\n```\n\n### Insider purchases above $1 million\n\n```json\n{\n  \"mode\": \"insiderTrades\",\n  \"tickers\": [\"AAPL\"],\n  \"transactionType\": \"buy\",\n  \"minTransactionValue\": 1000000,\n  \"maxItems\": 50\n}\n```\n\n## Output fields\n\n### Consensus (`recordType: \"consensus\"`)\n\n`ticker`, `companyName`, `currency`, `exchange`, `sector`, `industry`, `price`, `priceChangePercent`, `marketCap`, `smartScore`, `fiftyTwoWeekHigh`, `fiftyTwoWeekLow`, `buyCount`, `holdCount`, `sellCount`, `totalAnalysts`, `consensusScore`, `consensus`, `ratingId`, `priceTarget`, `upsidePercent`, `bestAnalystPriceTarget`, `bestAnalystUpsidePercent`, `bestAnalystPriceTargetHigh`, `bestAnalystPriceTargetLow`, `priceTargetHigh`, `priceTargetLow`, `recentPriceTargetAverage`, `recentPriceTargetHigh`, `recentPriceTargetLow`, `recentPriceTargetCount`, `lastRatingDate`, `stockUrl`, `recordType`, `scrapedAt`.\n\nTipRanks publishes a three-way analyst consensus (buy / hold / sell). `consensusScore` is a 1–5 weighted score derived from those three buckets (1 = strongest buy, 5 = strongest sell) so existing dashboards keep a comparable number. `priceTarget` is the all-analyst average. `priceTargetHigh` / `priceTargetLow` are the high and low targets in the returned rating history; `bestAnalystPriceTargetHigh` / `bestAnalystPriceTargetLow` are TipRanks' top-analyst range. `recentPriceTarget*` summarize the same rating-history targets.\n\n### Rating history (`recordType: \"analystRating\"`)\n\n`ticker`, `companyName`, `ratingId`, `firm`, `firmType`, `analystName`, `analystSlug`, `analystImageUrl`, `analystRankPosition`, `analystRankPercentile`, `analystAverageReturnPercent`, `analystSuccessRatePercent`, `analystRatingsSuccessful`, `analystRatingsTotal`, `rating`, `ratingBucket`, `action`, `priceTarget`, `previousPriceTarget`, `priceTargetChange`, `priceTargetChangePercent`, `currency`, `gradeDate`, `articleTitle`, `articleUrl`, `articleSite`, `articleDate`, `stockUrl`, `recordType`, `scrapedAt`.\n\n`previousPriceTarget` and the price-target change fields are filled when the same analyst has an older rating in the returned history. When TipRanks only shows a single target for that call, the change fields are omitted rather than guessed.\n\nTipRanks also publishes AI-generated ratings. They are excluded by default so the feed matches the human analyst table. Set `includeAiAnalysts` to `true` to include them; those records add `isAiAnalyst`, `aiProvider` and `aiModel`.\n\n### Price targets (`recordType: \"priceTarget\"`)\n\n`ticker`, `companyName`, `currency`, `exchange`, `price`, `consensusPriceTarget`, `upsidePercent`, `analystCount`, `ratingId`, `lastRatingDate`, `bestAnalystPriceTarget`, `bestAnalystUpsidePercent`, `bestAnalystPriceTargetHigh`, `bestAnalystPriceTargetLow`, `bestAnalystCount`, `priceTargetHigh`, `priceTargetLow`, `recentPriceTargetAverage`, `recentPriceTargetHigh`, `recentPriceTargetLow`, `recentPriceTargetCount`, `stockUrl`, `recordType`, `scrapedAt`.\n\n### Stock profile (`recordType: \"stockProfile\"`)\n\n`ticker`, `companyName`, `fullName`, `description`, `sector`, `industry`, `ceo`, `employees`, `exchange`, `currency`, `price`, `priceChange`, `priceChangePercent`, `marketCap`, `peRatio`, `smartScore`, `smartScoreUpdatedAt`, `followers`, `fiftyTwoWeekHigh`, `fiftyTwoWeekLow`, `analystConsensus`, `stockUrl`, `recordType`, `scrapedAt`.\n\n### Screener (`recordType: \"stock\"`)\n\n`rank`, `ticker`, `companyName`, `sector`, `industry`, `exchange`, `currency`, `price`, `priceChangePercent`, `marketCap`, `enterpriseValue`, `peRatio`, `forwardPe`, `pegRatio`, `beta`, `epsTtm`, `epsForecast`, `revenueActual`, `revenueForecast`, `earningsDate`, `dividendYield`, `dividendFrequency`, `payoutRatio`, `buyCount`, `holdCount`, `sellCount`, `totalAnalysts`, `consensus`, `smartScore`, `fiftyTwoWeekHigh`, `fiftyTwoWeekLow`, `avgVolume3M`, `dollarVolume`, `relativeVolume`, `followers`, `yearlyGainPercent`, `lastRatingDate`, `performance`, `technicalIndicators`, `stockUrl`, `recordType`, `scrapedAt`.\n\n### Analyst profile (`recordType: \"analyst\"`)\n\n`slug`, `name`, `firm`, `type`, `pictureUrl`, `rank`, `rankOutOf`, `globalRank`, `globalRankOutOf`, `stars`, `successRatePercent`, `averageReturnPercent`, `followers`, `recommendationsGood`, `recommendationsTotal`, `distribution`, `mainSector`, `industry`, `geoCoverage`, `bestRating`, `coverage`, `period`, `benchmark`, `profileUrl`, `recordType`, `scrapedAt`.\n\n### News (`recordType: \"newsArticle\"` or `\"newsPost\"`)\n\n`ticker`, `companyName`, `contentType`, `title`, `description`, `url`, `source`, `author`, `category`, `publishedAt`, `sentiment`, `imageUrl`, `thumbnailUrl`, `stockUrl`, `recordType`, `scrapedAt`.\n\n### Insider trades (`recordType: \"insiderTransaction\"`)\n\n`ticker`, `companyName`, `transactionId`, `insiderName`, `insiderSlug`, `insiderRole`, `insiderImageUrl`, `isOfficer`, `isDirector`, `isTenPercentOwner`, `transactionType`, `action`, `isInformative`, `transactionDate`, `shares`, `transactionValue`, `currency`, `holdingDescription`, `filingUrl`, `secAccessionNumber`, `secTransactionCode`, `articleTitle`, `articleUrl`, `stockUrl`, `recordType`, `scrapedAt`.\n\n### Hedge-fund activity (`recordType: \"hedgeFundPosition\"`)\n\n`ticker`, `companyName`, `positionId`, `managerName`, `managerSlug`, `fundName`, `fundType`, `managerRankPosition`, `managerRankPercentile`, `managerImageUrl`, `reportDate`, `positionAction`, `positionValue`, `holdingChangePercent`, `portfolioAllocationPercent`, `currency`, `stockUrl`, `recordType`, `scrapedAt`.\n\n### Search (`recordType: \"searchResult\"`)\n\n`query`, `category`, `label`, `value`, `ticker`, `name`, `firm`, `slug`, `uid`, `market`, `marketCap`, `sector`, `followers`, `profileUrl`, `recordType`, `scrapedAt`.\n\nEvery record is omit-empty: a field TipRanks does not publish for that entity is absent rather than `null` or an empty string.\n\n## Filters and sorting\n\nThe screener supports server-side filters for sector, analyst consensus, analyst price-target upside, market-cap bucket, dividend yield, P/E bucket, exchange and upcoming earnings date. Sort by market cap, Smart Score, analyst consensus, analyst price target, price, volume, average 3-month volume, dividend yield, yearly gain or last rating date, in either direction. `includeSecondaryListings` opens up OTC and other secondary US listings when you need a wider universe than the site's primary screener. In `search` mode, `marketCountry` biases the autocomplete results toward that market (for example, Japan surfaces `JP:7203`).\n\nAnalyst rating history and insider/hedge-fund activity add post-fetch filters so a run can focus on upgrades, sales above a value threshold, added hedge-fund positions, or a specific news sentiment.\n\n## Use cases\n\n- **Watchlist monitoring** — compare consensus and price targets across a basket of tickers.\n- **Rating-change alerts** — pull only upgrades or downgrades and link each call to its article.\n- **Screener research** — build a candidate list from consensus, upside, market cap and dividend filters.\n- **Analyst tracking** — follow an analyst's coverage, hit rate and current calls.\n- **Ownership signals** — combine insider sales and hedge-fund position changes with analyst sentiment.\n- **News research** — collect ticker-specific articles with sentiment for a research notebook or BI model.\n\n## Input reference\n\n| Input | Default |\n|---|---|\n| `mode` | `\"stockConsensus\"` |\n| `tickers` | `[\"AAPL\"]` |\n| `analysts` | `[]` |\n| `searchQuery` | `\"\"` |\n| `maxItems` | `50` |\n| `ratingPosition` | `\"all\"` |\n| `includeAiAnalysts` | `false` |\n| `ratingAction` | `\"all\"` |\n| `newsSentiment` | `\"all\"` |\n| `newsContent` | `\"all\"` |\n| `transactionType` | `\"all\"` |\n| `minTransactionValue` | `0` |\n| `positionAction` | `\"all\"` |\n| `minPositionValue` | `0` |\n| `marketCountry` | `\"United States\"` |\n| `sector` | `\"Any\"` |\n| `analystConsensus` | `\"Any\"` |\n| `priceTargetUpside` | `\"Any\"` |\n| `marketCapBucket` | `\"Any\"` |\n| `dividendYield` | `\"Any\"` |\n| `peRatio` | `\"Any\"` |\n| `includeSecondaryListings` | `false` |\n| `exchange` | `\"All US primary exchanges\"` |\n| `earningsDate` | `\"Any\"` |\n| `sortBy` | `\"Market Cap\"` |\n| `sortDirection` | `\"Descending\"` |\n| `pageSize` | `100` |\n\n## FAQ\n\n**Do I need a TipRanks account?** No. The actor uses TipRanks' public page data and needs no login, cookie or API key.\n\n**Which tickers work?** US-listed stocks and other symbols that TipRanks covers. Use TipRanks' market-prefixed symbols for non-US stocks, such as `JP:7203` (Toyota), `FR:MC` (LVMH), `TSE:RY` (RBC), `GB:HSBA` (HSBC) or `DE:SAP`. Yahoo-style suffixes such as `7203.T`, `SHOP.TO` or `HSBA.L` are converted to the TipRanks prefix. Symbols with a dot, such as `BRK.B`, are supported. The screener also covers the non-US markets listed in the input.\n\n**Why are some fields missing?** TipRanks does not publish every field for every entity. Fields are omitted when the source has no value; records are never padded with guesses. Recent US insider rows are filled from SEC EDGAR; non-US insider rows and some non-US Smart Scores have no public equivalent and stay omitted.\n\n**Why do some analyst counts differ from another site?** TipRanks counts its own tracked analyst universe and applies its own three-month consensus window. Counts and average targets are TipRanks' figures, not another provider's.\n\n**Why are some top-analyst names hidden?** TipRanks keeps parts of its expert leaderboard behind a subscription. This actor returns the public data it can verify; individual public analyst profiles and the analysts named in stock rating history are fully supported.\n\n**Why is a hedge-fund position value missing?** Funds report positions quarterly and some filings arrive with partial data. The actor reports the fields TipRanks publishes for that filing and omits the rest.\n\n**Why are some insider shares, values or actions missing?** TipRanks leaves the newest five insider rows per issuer without shares, value, action and the SEC link. For US issuers the actor fills those fields from the same Form 4 on SEC EDGAR and adds `secAccessionNumber`, `secTransactionCode` and the SEC `filingUrl`. Non-US issuers are not covered by SEC EDGAR, so their missing fields are omitted rather than guessed.\n\n**Why is Smart Score missing from some screener rows?** TipRanks shows Smart Score on stock pages but redacts that column in the anonymous screener view. For US stocks, `stockProfile` and `stockConsensus` return it. Some non-US profiles do not publish a Smart Score (for example, Toyota and LVMH return none), so the field is omitted there.\n\n**Why do stock and article URLs sometimes answer 403 to a command-line client?** TipRanks protects its HTML pages with a browser bot check. The URLs are the real TipRanks pages and open normally in a browser; a non-browser `curl` request may receive a challenge. The actor never fabricates a URL.\n\n**How fresh is the data?** Tickers, ratings and prices are fetched from TipRanks at run time. TipRanks may cache pages for a few minutes.\n\n**How many records can one run return?** Up to `maxItems` (1–20,000). Ticker modes share the cap across all tickers; the screener paginates until the cap or the source's own result count is reached.\n\n**Does the actor use a proxy?** It works from a normal Apify run without proxy setup. The actor calls TipRanks' public JSON endpoints directly; if TipRanks blocks the run, it stops with a clear status instead of inventing data. No proxy configuration is required from you.\n\n**What happens when TipRanks changes its public data pages?** The actor returns a clear status message instead of inventing data. Update the actor and retry; no fabricated TipRanks records are ever emitted.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "yahoo-finance-analyst-ratings-and-consensus",
      "title": "TipRanks Analyst Ratings & Consensus Tracker",
      "description": "Collect TipRanks analyst consensus, rating history, price targets, stock screener rows, analyst profiles, news, insider trades and hedge-fund positions for any ticker.",
      "version": "1.1",
      "buildTag": "latest",
      "dockerfile": "./Dockerfile",
      "readme": "# TipRanks Analyst Ratings & Consensus Tracker\n\nWall Street sends a constant stream of upgrades, downgrades and price-target changes. This actor turns TipRanks' public stock, analyst and market pages into structured records so you can follow consensus, rating history, price targets, screener results and ownership activity without opening a browser tab for every ticker.\n\nNo TipRanks account, cookie or API key is required. Give it a ticker list, a screener filter or an analyst name and it returns clean JSON.\n\n## Modes\n\n| Mode | What it returns |\n|---|---|\n| `stockConsensus` | One snapshot per ticker: buy/hold/sell analyst counts, consensus label and score, average price target, upside, Smart Score, price and company profile. |\n| `analystRatings` | One record per analyst rating action: firm, analyst, new rating, action, price target, rating date and the linked article. |\n| `priceTargets` | One record per ticker: all-analyst average target and upside, top-analyst target, high/low targets and statistics from recent rating actions. |\n| `stockProfile` | One record per ticker: company description, sector, industry, CEO, employees, price, market cap, P/E, Smart Score, 52-week range and analyst consensus. |\n| `stocks` | Stock-screener rows with server-side filters and sorts: price, change, market cap, P/E, dividend yield, analyst consensus, price-target upside, sector, exchange, earnings date and more. |\n| `analysts` | One record per analyst: rank, star score, success rate, average return, coverage list, best call and latest rating per covered ticker. |\n| `news` | Stock news articles and TipRanks blog posts, with source, date and article sentiment where TipRanks provides it. |\n| `insiderTrades` | Insider transactions: officer/director/owner, buy or sale, shares, reported value, transaction date and SEC filing link. |\n| `hedgeFundActivity` | Hedge-fund positions: fund and manager, reported position value, change, portfolio allocation and report date. |\n| `search` | TipRanks search results across tickers, ETFs, funds, crypto, forex, commodities, analysts, insiders, hedge funds and bloggers. |\n\nSwitch mode with the `mode` input. Ticker modes accept symbols, `$TICKER`, `NASDAQ:TICKER`, or TipRanks/Yahoo Finance stock URLs.\n\n## Input examples\n\n### Consensus snapshot for a watchlist\n\n```json\n{\n  \"mode\": \"stockConsensus\",\n  \"tickers\": [\"AAPL\", \"MSFT\", \"NVDA\"],\n  \"maxItems\": 10\n}\n```\n\n### Upgrades and downgrades for one stock\n\n```json\n{\n  \"mode\": \"analystRatings\",\n  \"tickers\": [\"TSLA\"],\n  \"ratingAction\": \"downgraded\",\n  \"maxItems\": 50\n}\n```\n\n### Strong-buy technology stocks above $10B\n\n```json\n{\n  \"mode\": \"stocks\",\n  \"marketCountry\": \"United States\",\n  \"sector\": \"Technology\",\n  \"analystConsensus\": \"Strong Buy\",\n  \"marketCapBucket\": \"Mega (Over $200B)\",\n  \"sortBy\": \"Analyst Price Target\",\n  \"sortDirection\": \"Descending\",\n  \"maxItems\": 100\n}\n```\n\n### An analyst's full public profile\n\n```json\n{\n  \"mode\": \"analysts\",\n  \"analysts\": [\"Andrew Marok\", \"https://www.tipranks.com/experts/analysts/andrew-marok\"],\n  \"maxItems\": 5\n}\n```\n\n### Insider purchases above $1 million\n\n```json\n{\n  \"mode\": \"insiderTrades\",\n  \"tickers\": [\"AAPL\"],\n  \"transactionType\": \"buy\",\n  \"minTransactionValue\": 1000000,\n  \"maxItems\": 50\n}\n```\n\n## Output fields\n\n### Consensus (`recordType: \"consensus\"`)\n\n`ticker`, `companyName`, `currency`, `exchange`, `sector`, `industry`, `price`, `priceChangePercent`, `marketCap`, `smartScore`, `fiftyTwoWeekHigh`, `fiftyTwoWeekLow`, `buyCount`, `holdCount`, `sellCount`, `totalAnalysts`, `consensusScore`, `consensus`, `ratingId`, `priceTarget`, `upsidePercent`, `bestAnalystPriceTarget`, `bestAnalystUpsidePercent`, `bestAnalystPriceTargetHigh`, `bestAnalystPriceTargetLow`, `priceTargetHigh`, `priceTargetLow`, `recentPriceTargetAverage`, `recentPriceTargetHigh`, `recentPriceTargetLow`, `recentPriceTargetCount`, `lastRatingDate`, `stockUrl`, `recordType`, `scrapedAt`.\n\nTipRanks publishes a three-way analyst consensus (buy / hold / sell). `consensusScore` is a 1–5 weighted score derived from those three buckets (1 = strongest buy, 5 = strongest sell) so existing dashboards keep a comparable number. `priceTarget` is the all-analyst average. `priceTargetHigh` / `priceTargetLow` are the high and low targets in the returned rating history; `bestAnalystPriceTargetHigh` / `bestAnalystPriceTargetLow` are TipRanks' top-analyst range. `recentPriceTarget*` summarize the same rating-history targets.\n\n### Rating history (`recordType: \"analystRating\"`)\n\n`ticker`, `companyName`, `ratingId`, `firm`, `firmType`, `analystName`, `analystSlug`, `analystImageUrl`, `analystRankPosition`, `analystRankPercentile`, `analystAverageReturnPercent`, `analystSuccessRatePercent`, `analystRatingsSuccessful`, `analystRatingsTotal`, `rating`, `ratingBucket`, `action`, `priceTarget`, `previousPriceTarget`, `priceTargetChange`, `priceTargetChangePercent`, `currency`, `gradeDate`, `articleTitle`, `articleUrl`, `articleSite`, `articleDate`, `stockUrl`, `recordType`, `scrapedAt`.\n\n`previousPriceTarget` and the price-target change fields are filled when the same analyst has an older rating in the returned history. When TipRanks only shows a single target for that call, the change fields are omitted rather than guessed.\n\nTipRanks also publishes AI-generated ratings. They are excluded by default so the feed matches the human analyst table. Set `includeAiAnalysts` to `true` to include them; those records add `isAiAnalyst`, `aiProvider` and `aiModel`.\n\n### Price targets (`recordType: \"priceTarget\"`)\n\n`ticker`, `companyName`, `currency`, `exchange`, `price`, `consensusPriceTarget`, `upsidePercent`, `analystCount`, `ratingId`, `lastRatingDate`, `bestAnalystPriceTarget`, `bestAnalystUpsidePercent`, `bestAnalystPriceTargetHigh`, `bestAnalystPriceTargetLow`, `bestAnalystCount`, `priceTargetHigh`, `priceTargetLow`, `recentPriceTargetAverage`, `recentPriceTargetHigh`, `recentPriceTargetLow`, `recentPriceTargetCount`, `stockUrl`, `recordType`, `scrapedAt`.\n\n### Stock profile (`recordType: \"stockProfile\"`)\n\n`ticker`, `companyName`, `fullName`, `description`, `sector`, `industry`, `ceo`, `employees`, `exchange`, `currency`, `price`, `priceChange`, `priceChangePercent`, `marketCap`, `peRatio`, `smartScore`, `smartScoreUpdatedAt`, `followers`, `fiftyTwoWeekHigh`, `fiftyTwoWeekLow`, `analystConsensus`, `stockUrl`, `recordType`, `scrapedAt`.\n\n### Screener (`recordType: \"stock\"`)\n\n`rank`, `ticker`, `companyName`, `sector`, `industry`, `exchange`, `currency`, `price`, `priceChangePercent`, `marketCap`, `enterpriseValue`, `peRatio`, `forwardPe`, `pegRatio`, `beta`, `epsTtm`, `epsForecast`, `revenueActual`, `revenueForecast`, `earningsDate`, `dividendYield`, `dividendFrequency`, `payoutRatio`, `buyCount`, `holdCount`, `sellCount`, `totalAnalysts`, `consensus`, `smartScore`, `fiftyTwoWeekHigh`, `fiftyTwoWeekLow`, `avgVolume3M`, `dollarVolume`, `relativeVolume`, `followers`, `yearlyGainPercent`, `lastRatingDate`, `performance`, `technicalIndicators`, `stockUrl`, `recordType`, `scrapedAt`.\n\n### Analyst profile (`recordType: \"analyst\"`)\n\n`slug`, `name`, `firm`, `type`, `pictureUrl`, `rank`, `rankOutOf`, `globalRank`, `globalRankOutOf`, `stars`, `successRatePercent`, `averageReturnPercent`, `followers`, `recommendationsGood`, `recommendationsTotal`, `distribution`, `mainSector`, `industry`, `geoCoverage`, `bestRating`, `coverage`, `period`, `benchmark`, `profileUrl`, `recordType`, `scrapedAt`.\n\n### News (`recordType: \"newsArticle\"` or `\"newsPost\"`)\n\n`ticker`, `companyName`, `contentType`, `title`, `description`, `url`, `source`, `author`, `category`, `publishedAt`, `sentiment`, `imageUrl`, `thumbnailUrl`, `stockUrl`, `recordType`, `scrapedAt`.\n\n### Insider trades (`recordType: \"insiderTransaction\"`)\n\n`ticker`, `companyName`, `transactionId`, `insiderName`, `insiderSlug`, `insiderRole`, `insiderImageUrl`, `isOfficer`, `isDirector`, `isTenPercentOwner`, `transactionType`, `action`, `isInformative`, `transactionDate`, `shares`, `transactionValue`, `currency`, `holdingDescription`, `filingUrl`, `secAccessionNumber`, `secTransactionCode`, `articleTitle`, `articleUrl`, `stockUrl`, `recordType`, `scrapedAt`.\n\n### Hedge-fund activity (`recordType: \"hedgeFundPosition\"`)\n\n`ticker`, `companyName`, `positionId`, `managerName`, `managerSlug`, `fundName`, `fundType`, `managerRankPosition`, `managerRankPercentile`, `managerImageUrl`, `reportDate`, `positionAction`, `positionValue`, `holdingChangePercent`, `portfolioAllocationPercent`, `currency`, `stockUrl`, `recordType`, `scrapedAt`.\n\n### Search (`recordType: \"searchResult\"`)\n\n`query`, `category`, `label`, `value`, `ticker`, `name`, `firm`, `slug`, `uid`, `market`, `marketCap`, `sector`, `followers`, `profileUrl`, `recordType`, `scrapedAt`.\n\nEvery record is omit-empty: a field TipRanks does not publish for that entity is absent rather than `null` or an empty string.\n\n## Filters and sorting\n\nThe screener supports server-side filters for sector, analyst consensus, analyst price-target upside, market-cap bucket, dividend yield, P/E bucket, exchange and upcoming earnings date. Sort by market cap, Smart Score, analyst consensus, analyst price target, price, volume, average 3-month volume, dividend yield, yearly gain or last rating date, in either direction. `includeSecondaryListings` opens up OTC and other secondary US listings when you need a wider universe than the site's primary screener. In `search` mode, `marketCountry` biases the autocomplete results toward that market (for example, Japan surfaces `JP:7203`).\n\nAnalyst rating history and insider/hedge-fund activity add post-fetch filters so a run can focus on upgrades, sales above a value threshold, added hedge-fund positions, or a specific news sentiment.\n\n## Use cases\n\n- **Watchlist monitoring** — compare consensus and price targets across a basket of tickers.\n- **Rating-change alerts** — pull only upgrades or downgrades and link each call to its article.\n- **Screener research** — build a candidate list from consensus, upside, market cap and dividend filters.\n- **Analyst tracking** — follow an analyst's coverage, hit rate and current calls.\n- **Ownership signals** — combine insider sales and hedge-fund position changes with analyst sentiment.\n- **News research** — collect ticker-specific articles with sentiment for a research notebook or BI model.\n\n## Input reference\n\n| Input | Default |\n|---|---|\n| `mode` | `\"stockConsensus\"` |\n| `tickers` | `[\"AAPL\"]` |\n| `analysts` | `[]` |\n| `searchQuery` | `\"\"` |\n| `maxItems` | `50` |\n| `ratingPosition` | `\"all\"` |\n| `includeAiAnalysts` | `false` |\n| `ratingAction` | `\"all\"` |\n| `newsSentiment` | `\"all\"` |\n| `newsContent` | `\"all\"` |\n| `transactionType` | `\"all\"` |\n| `minTransactionValue` | `0` |\n| `positionAction` | `\"all\"` |\n| `minPositionValue` | `0` |\n| `marketCountry` | `\"United States\"` |\n| `sector` | `\"Any\"` |\n| `analystConsensus` | `\"Any\"` |\n| `priceTargetUpside` | `\"Any\"` |\n| `marketCapBucket` | `\"Any\"` |\n| `dividendYield` | `\"Any\"` |\n| `peRatio` | `\"Any\"` |\n| `includeSecondaryListings` | `false` |\n| `exchange` | `\"All US primary exchanges\"` |\n| `earningsDate` | `\"Any\"` |\n| `sortBy` | `\"Market Cap\"` |\n| `sortDirection` | `\"Descending\"` |\n| `pageSize` | `100` |\n\n## FAQ\n\n**Do I need a TipRanks account?** No. The actor uses TipRanks' public page data and needs no login, cookie or API key.\n\n**Which tickers work?** US-listed stocks and other symbols that TipRanks covers. Use TipRanks' market-prefixed symbols for non-US stocks, such as `JP:7203` (Toyota), `FR:MC` (LVMH), `TSE:RY` (RBC), `GB:HSBA` (HSBC) or `DE:SAP`. Yahoo-style suffixes such as `7203.T`, `SHOP.TO` or `HSBA.L` are converted to the TipRanks prefix. Symbols with a dot, such as `BRK.B`, are supported. The screener also covers the non-US markets listed in the input.\n\n**Why are some fields missing?** TipRanks does not publish every field for every entity. Fields are omitted when the source has no value; records are never padded with guesses. Recent US insider rows are filled from SEC EDGAR; non-US insider rows and some non-US Smart Scores have no public equivalent and stay omitted.\n\n**Why do some analyst counts differ from another site?** TipRanks counts its own tracked analyst universe and applies its own three-month consensus window. Counts and average targets are TipRanks' figures, not another provider's.\n\n**Why are some top-analyst names hidden?** TipRanks keeps parts of its expert leaderboard behind a subscription. This actor returns the public data it can verify; individual public analyst profiles and the analysts named in stock rating history are fully supported.\n\n**Why is a hedge-fund position value missing?** Funds report positions quarterly and some filings arrive with partial data. The actor reports the fields TipRanks publishes for that filing and omits the rest.\n\n**Why are some insider shares, values or actions missing?** TipRanks leaves the newest five insider rows per issuer without shares, value, action and the SEC link. For US issuers the actor fills those fields from the same Form 4 on SEC EDGAR and adds `secAccessionNumber`, `secTransactionCode` and the SEC `filingUrl`. Non-US issuers are not covered by SEC EDGAR, so their missing fields are omitted rather than guessed.\n\n**Why is Smart Score missing from some screener rows?** TipRanks shows Smart Score on stock pages but redacts that column in the anonymous screener view. For US stocks, `stockProfile` and `stockConsensus` return it. Some non-US profiles do not publish a Smart Score (for example, Toyota and LVMH return none), so the field is omitted there.\n\n**Why do stock and article URLs sometimes answer 403 to a command-line client?** TipRanks protects its HTML pages with a browser bot check. The URLs are the real TipRanks pages and open normally in a browser; a non-browser `curl` request may receive a challenge. The actor never fabricates a URL.\n\n**How fresh is the data?** Tickers, ratings and prices are fetched from TipRanks at run time. TipRanks may cache pages for a few minutes.\n\n**How many records can one run return?** Up to `maxItems` (1–20,000). Ticker modes share the cap across all tickers; the screener paginates until the cap or the source's own result count is reached.\n\n**Does the actor use a proxy?** It works from a normal Apify run without proxy setup. The actor calls TipRanks' public JSON endpoints directly; if TipRanks blocks the run, it stops with a clear status instead of inventing data. No proxy configuration is required from you.\n\n**What happens when TipRanks changes its public data pages?** The actor returns a clear status message instead of inventing data. Update the actor and retry; no fabricated TipRanks records are ever emitted.\n",
      "input": {
        "title": "TipRanks Analyst Ratings, Consensus & Activity Input",
        "description": "Choose what to collect from TipRanks: analyst consensus, rating history, price targets, stock profiles, the stock screener, analyst profiles, news, insider trades, hedge-fund positions, or search results. No account, API key or proxy setup is required.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Mode",
            "type": "string",
            "description": "What to collect. Ticker-based modes use the tickers below; the screener uses the stock filters; the analyst mode uses the analysts list; search uses the search query.",
            "editor": "select",
            "enum": [
              "stockConsensus",
              "analystRatings",
              "priceTargets",
              "stockProfile",
              "stocks",
              "analysts",
              "news",
              "insiderTrades",
              "hedgeFundActivity",
              "search"
            ],
            "enumTitles": [
              "Stock consensus (buy/hold/sell counts, price target)",
              "Analyst rating history (individual rating changes)",
              "Price targets (consensus, top analysts, recent targets)",
              "Stock profile (company, price, Smart Score, key data)",
              "Stock screener (filter and sort the market)",
              "Analyst profiles (rank, coverage, best call)",
              "Stock news (articles and TipRanks blog posts)",
              "Insider trades (officer, director and owner transactions)",
              "Hedge-fund activity (fund positions and changes)",
              "Search (tickers, analysts, insiders, funds)"
            ],
            "default": "stockConsensus",
            "prefill": "stockConsensus",
            "sectionCaption": "Mode and targets"
          },
          "tickers": {
            "title": "Tickers",
            "type": "array",
            "description": "Stock tickers for ticker-based modes. Accepts symbols such as AAPL, BRK.B, $TSLA, or a TipRanks/Yahoo Finance stock URL.",
            "editor": "stringList",
            "default": [
              "AAPL"
            ],
            "prefill": [
              "AAPL"
            ]
          },
          "analysts": {
            "title": "Analysts",
            "type": "array",
            "description": "Analyst names, slugs or TipRanks profile URLs for mode=analysts. Examples: Andrew Marok, andrew-marok, https://www.tipranks.com/experts/analysts/andrew-marok.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "searchQuery": {
            "title": "Search query",
            "type": "string",
            "description": "Company, ticker or expert name for mode=search. Examples: Apple, NVDA, Andrew Marok.",
            "editor": "textfield",
            "default": "",
            "prefill": ""
          },
          "maxItems": {
            "title": "Max records",
            "type": "integer",
            "description": "Maximum number of records to save across tickers and pages.",
            "minimum": 1,
            "maximum": 20000,
            "default": 50,
            "prefill": 2
          },
          "ratingPosition": {
            "title": "Rating position",
            "type": "string",
            "description": "Only keep analyst ratings with this position (mode=analystRatings).",
            "editor": "select",
            "enum": [
              "all",
              "buy",
              "hold",
              "sell"
            ],
            "enumTitles": [
              "All positions",
              "Buy",
              "Hold",
              "Sell"
            ],
            "default": "all",
            "prefill": "all"
          },
          "includeAiAnalysts": {
            "title": "Include AI analyst ratings",
            "type": "boolean",
            "description": "Include TipRanks' AI-generated analyst ratings in mode=analystRatings. Off by default to match the human analyst table.",
            "default": false,
            "prefill": false
          },
          "ratingAction": {
            "title": "Rating action",
            "type": "string",
            "description": "Only keep analyst ratings with this action (mode=analystRatings).",
            "editor": "select",
            "enum": [
              "all",
              "upgraded",
              "downgraded",
              "reiterated",
              "initiated",
              "assigned",
              "other"
            ],
            "enumTitles": [
              "All actions",
              "Upgraded",
              "Downgraded",
              "Reiterated",
              "Initiated",
              "Assigned",
              "Other"
            ],
            "default": "all",
            "prefill": "all"
          },
          "newsSentiment": {
            "title": "News sentiment",
            "type": "string",
            "description": "Only keep articles with this sentiment (mode=news). Blog posts have no sentiment and are skipped when a sentiment is selected.",
            "editor": "select",
            "enum": [
              "all",
              "positive",
              "negative",
              "neutral"
            ],
            "enumTitles": [
              "All sentiment",
              "Positive",
              "Negative",
              "Neutral"
            ],
            "default": "all",
            "prefill": "all"
          },
          "newsContent": {
            "title": "News content",
            "type": "string",
            "description": "Choose articles, TipRanks blog posts, or both (mode=news).",
            "editor": "select",
            "enum": [
              "all",
              "articles",
              "posts"
            ],
            "enumTitles": [
              "Articles and blog posts",
              "Articles only",
              "Blog posts only"
            ],
            "default": "all",
            "prefill": "all"
          },
          "transactionType": {
            "title": "Insider transaction type",
            "type": "string",
            "description": "Only keep insider transactions of this type (mode=insiderTrades).",
            "editor": "select",
            "enum": [
              "all",
              "buy",
              "sell",
              "other"
            ],
            "enumTitles": [
              "All transactions",
              "Buys",
              "Sales",
              "Other"
            ],
            "default": "all",
            "prefill": "all"
          },
          "minTransactionValue": {
            "title": "Minimum insider transaction value (USD)",
            "type": "integer",
            "description": "Skip insider transactions below this reported value (mode=insiderTrades). Use 0 for no minimum.",
            "minimum": 0,
            "maximum": 1000000000000,
            "default": 0,
            "prefill": 0
          },
          "positionAction": {
            "title": "Hedge-fund position action",
            "type": "string",
            "description": "Only keep hedge-fund positions with this change (mode=hedgeFundActivity).",
            "editor": "select",
            "enum": [
              "all",
              "added",
              "reduced",
              "soldOut",
              "notChanged"
            ],
            "enumTitles": [
              "All changes",
              "Added",
              "Reduced",
              "Sold out",
              "Not changed"
            ],
            "default": "all",
            "prefill": "all"
          },
          "minPositionValue": {
            "title": "Minimum hedge-fund position value (USD)",
            "type": "integer",
            "description": "Skip hedge-fund positions below this reported value (mode=hedgeFundActivity). Use 0 for no minimum.",
            "minimum": 0,
            "maximum": 1000000000000,
            "default": 0,
            "prefill": 0
          },
          "marketCountry": {
            "title": "Screener market",
            "type": "string",
            "description": "Market to screen (mode=stocks) and country hint for non-US search results (mode=search). US uses the major primary exchanges by default.",
            "editor": "select",
            "enum": [
              "United States",
              "United Kingdom",
              "Canada",
              "Australia",
              "India",
              "Germany",
              "France",
              "Japan",
              "Hong Kong",
              "Singapore",
              "Brazil"
            ],
            "enumTitles": [
              "United States",
              "United Kingdom",
              "Canada",
              "Australia",
              "India",
              "Germany",
              "France",
              "Japan",
              "Hong Kong",
              "Singapore",
              "Brazil"
            ],
            "default": "United States",
            "prefill": "United States"
          },
          "sector": {
            "title": "Sector",
            "type": "string",
            "description": "Only keep stocks in this sector (mode=stocks).",
            "editor": "select",
            "enum": [
              "Any",
              "Technology",
              "Financial",
              "Healthcare",
              "Consumer Defensive",
              "Consumer Cyclical",
              "Utilities",
              "Basic Materials",
              "Industrials",
              "Energy",
              "Communication Services",
              "Real Estate"
            ],
            "enumTitles": [
              "Any sector",
              "Technology",
              "Financial",
              "Healthcare",
              "Consumer Defensive",
              "Consumer Cyclical",
              "Utilities",
              "Basic Materials",
              "Industrials",
              "Energy",
              "Communication Services",
              "Real Estate"
            ],
            "default": "Any",
            "prefill": "Any"
          },
          "analystConsensus": {
            "title": "Analyst consensus",
            "type": "string",
            "description": "Only keep stocks with this analyst consensus (mode=stocks).",
            "editor": "select",
            "enum": [
              "Any",
              "Strong Buy",
              "Moderate Buy",
              "Hold",
              "Moderate Sell",
              "Strong Sell"
            ],
            "enumTitles": [
              "Any consensus",
              "Strong Buy",
              "Moderate Buy",
              "Hold",
              "Moderate Sell",
              "Strong Sell"
            ],
            "default": "Any",
            "prefill": "Any"
          },
          "priceTargetUpside": {
            "title": "Analyst price-target upside",
            "type": "string",
            "description": "Only keep stocks in this analyst price-target upside bucket (mode=stocks).",
            "editor": "select",
            "enum": [
              "Any",
              "Upside >20%",
              "Upside 10% - 20%",
              "Upside 5% - 10%",
              "Upside 0% - 5%",
              "Downside 0% - 5%",
              "Downside 5% - 10%",
              "Downside 10% - 20%",
              "Downside >20%"
            ],
            "enumTitles": [
              "Any upside",
              "Upside >20%",
              "Upside 10% - 20%",
              "Upside 5% - 10%",
              "Upside 0% - 5%",
              "Downside 0% - 5%",
              "Downside 5% - 10%",
              "Downside 10% - 20%",
              "Downside >20%"
            ],
            "default": "Any",
            "prefill": "Any"
          },
          "marketCapBucket": {
            "title": "Market cap",
            "type": "string",
            "description": "Only keep stocks in this market-cap bucket (mode=stocks).",
            "editor": "select",
            "enum": [
              "Any",
              "Mega (Over $200B)",
              "Large ($10B - $200B)",
              "Medium ($2B - $10B)",
              "Small ($300M - $2B)",
              "Micro (Under $300M)"
            ],
            "enumTitles": [
              "Any market cap",
              "Mega (Over $200B)",
              "Large ($10B - $200B)",
              "Medium ($2B - $10B)",
              "Small ($300M - $2B)",
              "Micro (Under $300M)"
            ],
            "default": "Any",
            "prefill": "Any"
          },
          "dividendYield": {
            "title": "Dividend yield",
            "type": "string",
            "description": "Only keep stocks in this dividend-yield bucket (mode=stocks).",
            "editor": "select",
            "enum": [
              "Any",
              "None (0%)",
              "Low (0% - 2.5%)",
              "High (2.5% - 5%)",
              "Very High (>5%)"
            ],
            "enumTitles": [
              "Any dividend yield",
              "None (0%)",
              "Low (0% - 2.5%)",
              "High (2.5% - 5%)",
              "Very High (>5%)"
            ],
            "default": "Any",
            "prefill": "Any"
          },
          "peRatio": {
            "title": "P/E ratio",
            "type": "string",
            "description": "Only keep stocks in this P/E bucket (mode=stocks).",
            "editor": "select",
            "enum": [
              "Any",
              "Negative",
              "0 - 15",
              "15 - 25",
              "Above 25"
            ],
            "enumTitles": [
              "Any P/E",
              "Negative",
              "0 - 15",
              "15 - 25",
              "Above 25"
            ],
            "default": "Any",
            "prefill": "Any"
          },
          "includeSecondaryListings": {
            "title": "Include secondary listings",
            "type": "boolean",
            "description": "Include OTC and other secondary listings in the screener (mode=stocks). Off by default so results match the site's primary screener.",
            "default": false,
            "prefill": false
          },
          "exchange": {
            "title": "Exchange",
            "type": "string",
            "description": "Exchange filter for the US screener (mode=stocks).",
            "editor": "select",
            "enum": [
              "All US primary exchanges",
              "NASDAQ",
              "NYSE",
              "NYSE American",
              "NYSE Arca",
              "BATS",
              "TXSE",
              "OTC"
            ],
            "enumTitles": [
              "All US primary exchanges",
              "NASDAQ",
              "NYSE",
              "NYSE American",
              "NYSE Arca",
              "BATS",
              "TXSE",
              "OTC"
            ],
            "default": "All US primary exchanges",
            "prefill": "All US primary exchanges"
          },
          "earningsDate": {
            "title": "Upcoming earnings",
            "type": "string",
            "description": "Only keep stocks with earnings in this window (mode=stocks).",
            "editor": "select",
            "enum": [
              "Any",
              "Today",
              "Tomorrow",
              "Next 5 Days",
              "This Week",
              "Next Week",
              "This Month"
            ],
            "enumTitles": [
              "Any date",
              "Today",
              "Tomorrow",
              "Next 5 Days",
              "This Week",
              "Next Week",
              "This Month"
            ],
            "default": "Any",
            "prefill": "Any"
          },
          "sortBy": {
            "title": "Sort by",
            "type": "string",
            "description": "Sort order for the stock screener (mode=stocks).",
            "editor": "select",
            "enum": [
              "Market Cap",
              "Smart Score",
              "Analyst Consensus",
              "Analyst Price Target",
              "Price",
              "Volume",
              "Average Volume (3M)",
              "Dividend Yield",
              "Yearly Gain",
              "Last Rating Date"
            ],
            "enumTitles": [
              "Market cap",
              "Smart Score",
              "Analyst consensus",
              "Analyst price-target upside",
              "Price",
              "Volume",
              "Average volume (3M)",
              "Dividend yield",
              "Yearly gain",
              "Last rating date"
            ],
            "default": "Market Cap",
            "prefill": "Market Cap"
          },
          "sortDirection": {
            "title": "Sort direction",
            "type": "string",
            "description": "Direction of the screener sort (mode=stocks).",
            "editor": "select",
            "enum": [
              "Descending",
              "Ascending"
            ],
            "enumTitles": [
              "Descending",
              "Ascending"
            ],
            "default": "Descending",
            "prefill": "Descending"
          },
          "pageSize": {
            "title": "Screener page size",
            "type": "integer",
            "description": "Rows requested per screener page (mode=stocks). Larger pages reduce requests.",
            "minimum": 10,
            "maximum": 1000,
            "default": 100,
            "prefill": 100
          }
        },
        "required": [
          "mode"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "TipRanks Analyst Ratings, Consensus & Activity Output",
        "description": "TipRanks records keyed by recordType: consensus, analystRating, priceTarget, stockProfile, stock, analyst, newsArticle, newsPost, insiderTransaction, hedgeFundPosition and searchResult.",
        "properties": {
          "records": {
            "type": "string",
            "title": "TipRanks records",
            "description": "Dataset containing every collected record. Filter by recordType to separate consensus snapshots, rating history, screener rows, analyst profiles, news, insider trades and hedge-fund positions.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "defaultRunOptions": {
        "memoryMbytes": 256,
        "timeoutSecs": 900
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "Consensus & targets",
              "transformation": {
                "fields": [
                  "ticker",
                  "companyName",
                  "consensus",
                  "buyCount",
                  "holdCount",
                  "sellCount",
                  "priceTarget",
                  "upsidePercent",
                  "smartScore",
                  "stockUrl"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            },
            "ratings": {
              "title": "Analyst ratings",
              "transformation": {
                "fields": [
                  "ticker",
                  "gradeDate",
                  "firm",
                  "analystName",
                  "rating",
                  "action",
                  "priceTarget",
                  "articleUrl"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            },
            "stocks": {
              "title": "Screener",
              "transformation": {
                "fields": [
                  "ticker",
                  "companyName",
                  "sector",
                  "price",
                  "priceChangePercent",
                  "marketCap",
                  "consensus",
                  "smartScore"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            },
            "news": {
              "title": "News",
              "transformation": {
                "fields": [
                  "ticker",
                  "publishedAt",
                  "title",
                  "source",
                  "sentiment",
                  "url"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            },
            "insiders": {
              "title": "Insider trades",
              "transformation": {
                "fields": [
                  "ticker",
                  "transactionDate",
                  "insiderName",
                  "insiderRole",
                  "transactionType",
                  "shares",
                  "transactionValue",
                  "filingUrl"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            },
            "hedgeFunds": {
              "title": "Hedge funds",
              "transformation": {
                "fields": [
                  "ticker",
                  "reportDate",
                  "managerName",
                  "fundName",
                  "positionAction",
                  "positionValue",
                  "holdingChangePercent",
                  "portfolioAllocationPercent"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "1.1.1",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.1"
    }
  }
}