Returns key TipRanks stock data for one or more tickers.
Args:
tickers: Ticker symbols — a comma-separated string ("AAPL,MSFT,C") or a
JSON array (["AAPL","MSFT","C"]). Both are accepted.
Returns JSON {"assetsData": [...one compact entry per ticker...]}. This is a
headline summary tuned to stay small enough for a whole portfolio to fit in a
single response. Fields per entry:
- ticker, companyName, sector, stockType, marketCap
- url: canonical TipRanks page for the stock — use as the citation source.
- price: latest close.
- smartScore: TipRanks composite 1-10 (combines the 8 datasets — analyst,
blogger, news, hedge-fund, insider, etc.).
- analystConsensus / bestAnalystConsensus: rating label from ALL covering
analysts vs. the top-performing ones ("Strong Buy".."Strong Sell"); a
divergence between the two is itself a signal.
- priceTarget: average 12-month target. priceTargetUpside: decimal vs.
current price (0.05 = +5%).
- peRatio, dividendYield (decimal).
- newsSentiment, hedgeFundsScore, insiderScore: 0-1 sentiment signals.
- ytdGainPct, yearlyGainPct: price performance as a percent (12.5 = +12.5%,
3944 = +3944%).
- nextEarningsDate, and daysUntilEarnings (whole days from today — quote this
rather than computing the gap from the date yourself).
Floats are rounded and dates are day-resolution. For deeper per-ticker detail
(full price history, 13F / insider breakdowns, blogger counts, financials)
use the dedicated tools (get_stock_prices, get_hedge_fund_holdings,
get_insider_transactions, get_financials, ...).
Connector