[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Benzinga stock analyst rating changes](https://spiral.ai/integrations/opencode/benzinga-stock-analyst-rating-changes)

# How to Use Benzinga stock analyst rating changes in opencode

Returns individual analyst actions with current and prior ratings, price targets, and analyst details. Use it to identify who changed a recommendation or target behind a stock's aggregate sentiment.

|  |  |
| --- | --- |
| Model | Benzinga stock analyst rating changes |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.052377 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Benzinga stock analyst rating changes in opencode

- Use Benzinga stock analyst rating changes for NVDA over the past 30 days and build a timeline showing current and prior recommendations and targets.
- Use Benzinga stock analyst rating changes to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Benzinga stock analyst rating changes and tell me what changed since last week.
- Check Benzinga stock analyst rating changes and summarize what you find in three bullet points.
- Pull the newest data from Benzinga stock analyst rating changes and give me the result as a table.

## How to set up Benzinga stock analyst rating changes in opencode

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Benzinga stock analyst rating changes**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "benzinga/calendar/ratings",
    "input": {
      "page": 0
    }
  }'
```

Then paste one of the prompts above: opencode finds Benzinga stock analyst rating changes on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## Benzinga stock analyst rating changes tools and prices

- [Benzinga · Analyst ratings](https://spiral.ai/tools/alexandria/benzinga/calendar/ratings) (Alexandria): $0.052377 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| page | … to 100000 | 0 | Page offset, 0 to 100000. |
| fields |  | — | Comma-separated response fields to return, or * for every field including ratings_accuracy. Available: id, date, time, ticker, exchange, name, currency, action_pt, action_company, rating_current, pt_current, rating_prior, pt_prior, pt_pct_change, url, url_calendar, url_news, analyst, analyst_id, analyst_name, firm_id, ratings_accuracy, importance, notes, updated. Set it to trim the payload when you only need the rating and target. |
| pagesize | … to 1000 | — | Records to return. Limit 1000. |
| simplify |  | — | Collapse ratings to standardized categories. |
| parameters[date] |  | — | A single date, YYYY-MM-DD, as shorthand when date_from and date_to would be the same. Leave unset to get the latest ratings. |
| parameters[action] | Assumes, Downgrades, Firm Dissolved, Initiates Coverage On, Maintains, Reinstates, Reiterates, Removes, Suspends, Terminates Coverage On, Upgrades | — | Ratings action to filter to, matched against action_company. |

## What can you do with Benzinga stock analyst rating changes in opencode?

Build a company research view with Benzinga recommendations, research-source identities, and acquisition records. A coding agent can turn the returned records into tables, comparisons, and reconciliation logic in your project.

### Prepare a company research brief

Summarize analyst consensus, list the individual recommendation changes behind it, and identify the analysts and research firms responsible.

### Review analyst responses around an acquisition

Place a deal's status and dates beside rating changes and consensus for the companies involved. Identify the research sources and reconcile withdrawn calendar entries before assembling the review.

### Produce a weekly portfolio research digest

For a stock watchlist, summarize consensus, recommendation changes, and acquisition activity. Add analyst performance context and firm names, and remove withdrawn events from the saved calendar used for the digest.

### Build an internal research dashboard

Give each watched company a consensus summary, a rating-change timeline, and a deal calendar. Link recommendations to analyst and firm records, and reconcile withdrawals so obsolete events disappear.

### Maintain a company research archive

Save consensus snapshots alongside individual ratings and deal records. Retain analyst and firm identifiers for attribution, and use withdrawal records to correct the archive when calendar entries are removed.

### Compare research firms' recommendations

Compare current and prior recommendations across research organizations. Resolve firm identities and examine the available accuracy metrics for the analysts issuing those calls.

### Investigate disagreement behind consensus

Compare a stock's aggregate rating distribution with individual recommendations. Identify the analysts and firms on each side instead of relying on the aggregate label alone.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## Benzinga stock analyst rating changes in other agents

- [Amp](https://spiral.ai/integrations/amp/benzinga-stock-analyst-rating-changes)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/benzinga-stock-analyst-rating-changes)
- [Claude](https://spiral.ai/integrations/claude-desktop/benzinga-stock-analyst-rating-changes)
- [Claude Code](https://spiral.ai/integrations/claude-code/benzinga-stock-analyst-rating-changes)
- [Cline](https://spiral.ai/integrations/cline/benzinga-stock-analyst-rating-changes)
- [Codex](https://spiral.ai/integrations/codex/benzinga-stock-analyst-rating-changes)
- [Cursor](https://spiral.ai/integrations/cursor/benzinga-stock-analyst-rating-changes)
- [Devin](https://spiral.ai/integrations/devin/benzinga-stock-analyst-rating-changes)
- [dots](https://spiral.ai/integrations/dots/benzinga-stock-analyst-rating-changes)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/benzinga-stock-analyst-rating-changes)
- [Gemini](https://spiral.ai/integrations/gemini/benzinga-stock-analyst-rating-changes)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/benzinga-stock-analyst-rating-changes)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/benzinga-stock-analyst-rating-changes)
- [goose](https://spiral.ai/integrations/goose/benzinga-stock-analyst-rating-changes)
- [Grok](https://spiral.ai/integrations/grok/benzinga-stock-analyst-rating-changes)
- [Grok Build](https://spiral.ai/integrations/grok-build/benzinga-stock-analyst-rating-changes)
- [Hermes](https://spiral.ai/integrations/hermes/benzinga-stock-analyst-rating-changes)
- [Instinct](https://spiral.ai/integrations/instinct/benzinga-stock-analyst-rating-changes)
- [Manus](https://spiral.ai/integrations/manus/benzinga-stock-analyst-rating-changes)
- [Muse](https://spiral.ai/integrations/muse/benzinga-stock-analyst-rating-changes)
- [Muse Code](https://spiral.ai/integrations/muse-code/benzinga-stock-analyst-rating-changes)
- [n8n](https://spiral.ai/integrations/n8n/benzinga-stock-analyst-rating-changes)
- [Notion](https://spiral.ai/integrations/notion/benzinga-stock-analyst-rating-changes)
- [OpenClaw](https://spiral.ai/integrations/openclaw/benzinga-stock-analyst-rating-changes)
- [Perplexity](https://spiral.ai/integrations/perplexity/benzinga-stock-analyst-rating-changes)
- [Raycast](https://spiral.ai/integrations/raycast/benzinga-stock-analyst-rating-changes)
- [VS Code](https://spiral.ai/integrations/vscode/benzinga-stock-analyst-rating-changes)
- [Windsurf](https://spiral.ai/integrations/windsurf/benzinga-stock-analyst-rating-changes)
- [Zapier](https://spiral.ai/integrations/zapier/benzinga-stock-analyst-rating-changes)

## More opencode guides

- [Benzinga removed news](https://spiral.ai/integrations/opencode/benzinga-removed-news)
- [Benzinga stock move explanations](https://spiral.ai/integrations/opencode/benzinga-stock-move-explanations)
- [Benzinga ratings analyst directory](https://spiral.ai/integrations/opencode/benzinga-ratings-analyst-directory)
- [Benzinga withdrawn calendar records](https://spiral.ai/integrations/opencode/benzinga-withdrawn-calendar-records)
- [Benzinga press releases](https://spiral.ai/integrations/opencode/benzinga-press-releases)
- [CFTC Financial futures report, futures and options combined](https://spiral.ai/integrations/opencode/cftc-financial-futures-report-futures-and-options-combined)

## Questions about Benzinga stock analyst rating changes in opencode

**Can opencode use Benzinga stock analyst rating changes?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Benzinga stock analyst rating changes like any built-in tool.

**How much does Benzinga stock analyst rating changes cost in opencode?**

$0.052377 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

**Do I need an Alexandria account to use Benzinga stock analyst rating changes in opencode?**

No. Spiral runs Benzinga stock analyst rating changes on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Benzinga stock analyst rating changes in opencode?**

About two minutes: add the server, then sign in, then check it.

**Does opencode wait while Benzinga stock analyst rating changes runs?**

Benzinga stock analyst rating changes runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Which markets does Benzinga cover for ratings and deals?**

Benzinga lists US equities as the coverage for both its analyst ratings and merger and acquisition datasets. These product descriptions do not establish worldwide coverage.

**Where does Benzinga get analyst recommendations?**

Benzinga says its news desk has direct partnerships with major sell-side banks. Its guidebook reports capturing 125 to 150 analyst actions per day.

**How quickly are analyst rating changes published?**

Benzinga says rating changes made during trading hours are posted intraday. That describes publication frequency, rather than a guaranteed delivery delay in seconds.

**How far back does Benzinga's historical coverage go?**

Benzinga's product pages list analyst ratings history from 2013 and merger and acquisition history from 2019. Those are dataset descriptions, rather than a promise that every company has records throughout that period.

**Can Benzinga withdraw a previously published calendar entry?**

Yes. Benzinga provides a separate feed for removed or canceled calendar events, including the affected record's identifier and event type.

