Get analyst view
get_analyst_viewRetrieve analyst expectations for a stock symbol, including price targets, buy/hold/sell counts, rating changes, EPS and revenue estimates, and growth trends.
Instructions
What analysts expect for one symbol: price targets, buy/hold/sell counts, recent rating changes, EPS and revenue estimates, estimate trends and revisions, growth.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "<symbol>"
},
"name": "get_analyst_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | One Yahoo Finance symbol, e.g. AAPL. | |
| rating_changes | No | How many recent upgrades/downgrades to show. | |
| response_format | No | 'concise' (default; up to 20,000 characters) or 'detailed' (up to 80,000). | concise |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | Yes | When this data was fetched from Yahoo Finance, in UTC. | |
| source | No | Data source and the yfinance version. | |
| symbol | Yes | ||
| warnings | No | Caveats such as delayed quotes, symbols that failed, or trimmed results. | |
| eps_trend | Yes | How the EPS estimate moved over the last 90 days. | |
| truncated | No | True when rows were left out to keep the response small. | |
| next_offset | No | Pass as `offset` to fetch the next rows, when the result is truncated. | |
| eps_revisions | Yes | ||
| price_targets | Yes | Current price and the analysts' high, low, mean and median targets. | |
| rating_changes | Yes | Most recent upgrades and downgrades first. | |
| recommendations | Yes | Strong buy to strong sell counts; period 0m is this month, -1m last month. | |
| growth_estimates | Yes | ||
| revenue_estimate | Yes | ||
| earnings_estimate | Yes | EPS estimates; period 0q this quarter, +1q next, 0y this year, +1y next. |