Get Recommendation Trends
get_recommendation_trendsAnalyst recommendation trends for a company — counts of Strong Buy / Buy / Hold / Sell / Strong Sell, by month, for the last several months. Example: get_recommendation_trends({ symbol: "AAPL" })
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "AAPL"
},
"name": "get_recommendation_trends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Stock ticker symbol, e.g. "AAPL", "MSFT", "TSLA" | |
| _apiKey | Yes | Finnhub API key (get one free at finnhub.io) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Data source attribution | |
| symbol | Yes | Stock ticker symbol | |
| periods | Yes | Monthly analyst recommendation counts, most recent period first | |
| data_as_of | Yes | Date the data was retrieved (YYYY-MM-DD) |