get_recent_analyst_ratings
Recent Wall Street analyst rating actions on a single stock, covering the trailing 12 months (newest first).
`ratings` holds one row per analyst, their latest rating, newest first.
Each row carries the analyst's name, expertUID and firm, the rating
(Buy/Hold/Sell), the action (initiated/upgraded/downgraded/reiterated/
maintained), recommendationDate and timestamp, the price target in its
own currency (priceTarget, priceTargetCurrencyCode) and converted
(convertedPriceTarget, convertedPriceTargetCurrencyCode), and the analyst's
TipRanks credibility (numOfStars 0-5, rank, successRate as a fraction,
excessReturn as the average return) plus the source article title/quote.
The response is size-bounded, so a long list comes in pages: when rows are
left out the result carries `nextOffset`; call again with that offset for
the next page, until a result has no `nextOffset`. `totalRatings` is the
full count. The source returns at most the 100 newest ratings; when it hit
that limit the result carries `feedLimit`, and older ratings are not
available from this tool.
`counts` gives exact last30Days / last90Days / last12Months totals
(analysts whose latest rating falls in the window, split buy/hold/sell) over
every rating fetched, as of `asOf`; answer 'how many analysts rated X in the
past month' from `counts`, which cover every page.
For the aggregate consensus and average/best price target, use
get_assets_data instead.
Args:
ticker: Stock ticker (e.g. 'NVDA', 'AAPL').
offset: Index of the first rating to return in the newest-first list
(default 0); pass the previous result's `nextOffset`.
Returns: {ticker, asOf, totalRatings, counts, offset, ratings, and nextOffset
when more remain}. recommendationDate is a 'MM/DD/YYYY' string;
numOfStars is the analyst's 0-5 TipRanks star rating.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | ||
| ticker | Yes |