> ## Documentation Index
> Fetch the complete documentation index at: https://docs.b3os.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Analyst Recommendation Trends

Fetch monthly analyst recommendation trends for a stock symbol from Finnhub. Returns strong-buy/buy/hold/sell/strong-sell counts per month, most recent first. Ideal for: tracking analyst consensus shifts, rating-change alerts, combining with price data for trade signals.

Catalog action Blockchain Data

Fetch monthly analyst recommendation trends for a stock symbol from Finnhub. Returns strong-buy/buy/hold/sell/strong-sell counts per month, most recent first. Ideal for: tracking analyst consensus shifts, rating-change alerts, combining with price data for trade signals.


## At a Glance

| Field | Value |
| --- | --- |
| Action ID | `finnhub-get-recommendation-trends` |
| Category | Blockchain Data |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | `finnhub`, `stock`, `analysis`, `research`, `read` |

## Payload Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `symbol` | `string` | Yes | Stock symbol to get analyst recommendations for, e.g. 'AAPL', 'TSLA'. |

## Result Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `symbol` | `string` | Yes | The queried symbol |
| `trends` | `array` | Yes | Monthly analyst recommendation counts, most recent first |

## Examples

**Workflow node**

```json
{
  "type": "finnhub-get-recommendation-trends",
  "payload": {
    "symbol": "ETH"
  },
  "children": []
}
```
  **Test with API**

```bash
curl -X POST "https://api.b3os.org/v1/actions/finnhub-get-recommendation-trends/test" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "symbol": "ETH"
  }
}'
```

**Use expressions for dynamic values**

Payload fields can use workflow expressions such as `{{$trigger.body.amount}}`, `{{$nodes.fetch.result.price}}`, and `{{$props.asset}}` when the value should come from a trigger, prior node, or reusable workflow prop.