# Analyst Forecast

> Enter a ticker to read the consensus rating, price target, rating breakdown over time and how it compares with its sector and the S&P 500.

- Type: SandBase tool
- Category: Finance & crypto
- Price: $0.01 per run, billed to your SandBase account
- Page: https://www.sandbase.ai/tools/finance/analyst-forecast

## How it works

1. **Type a stock ticker** Enter a ticker such as AAPL in Ticker, up to 12 characters. A leading $ is removed and letters are uppercased, and symbols with a dot or dash, such as BRK.B, are accepted. Company names are rejected, so use the trading symbol rather than the company's name.
2. **Request the MarketBeat forecast** SandBase sends the ticker to marketbeat/stock-forecast and leaves exchange unset. The endpoint returns the consensus rating breakdown over time, the comparison with the sector and the S&P 500, and a summary of analyst opinions. Calls come from your organization's daily free quota first, then are billed to your SandBase account.
3. **Read the consensus and compare** The page shows up to 40 fields: consensus rating, price target, counts of Strong Buy, Buy, Hold and Sell ratings by period, and the sector and S&P 500 comparison. Lists are trimmed to their first entries, so use Raw API response to see the full breakdown.

## What people use it for

- **Investors**: See where the Street stands.
- **Analysts**: Track rating changes.
- **Writers**: Cite the consensus.

## MarketBeat data with an API

```bash
curl -X POST https://api.sandbase.ai/v1/api/marketbeat/stock-forecast \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "ticker": "AAPL"
}'
```

- [marketbeat/stock-forecast API](https://www.sandbase.ai/apis/marketbeat/stock-forecast)
- [All MarketBeat APIs](https://www.sandbase.ai/apis/marketbeat)

## FAQ

### What is the consensus rating in Analyst Forecast?

Analyst Forecast shows MarketBeat's consensus: the average of buy, hold and sell ratings that analysts issued over the last 12 months.

### What rating counts does Analyst Forecast break down?

Analyst Forecast breaks ratings into Strong Buy, Buy, Hold and Sell counts for several time periods, so you can see how opinion shifted.

### Is Analyst Forecast investment advice?

No. Analyst Forecast displays MarketBeat data exactly as the API returns it, and any decision you make with it is your own.

### Is Analyst Forecast free?

Analyst Forecast first spends your organization's daily free quota. marketbeat/stock-forecast calls are part of the 100 per organization per day, shared and reset at 00:00 UTC. Beyond that, runs are billed to your SandBase account at the price on this page and in sandbase inspect marketbeat/stock-forecast. See https://www.sandbase.ai/pricing.

### Can I get analyst ratings from the marketbeat/stock-forecast API?

Yes, Analyst Forecast is a page over marketbeat/stock-forecast. Send POST /v1/api/marketbeat/stock-forecast with a SandBase API key and a ticker, plus exchange if you need it; the request example is on this page.
