[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Yahoo Finance dividend history](https://spiral.ai/integrations/opencode/yahoo-finance-dividend-history)

# How to Use Yahoo Finance dividend history in opencode

Returns cash dividend amounts and ex-dividend dates, plus stock splits for a ticker. Use it to review payout changes and corporate actions alongside price history.

|  |  |
| --- | --- |
| Model | Yahoo Finance dividend history |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Yahoo Finance dividend history in opencode

- Use Yahoo Finance dividend history for KO over the past five years and add a payout timeline with ex-dividend dates and amounts.
- Use Yahoo Finance dividend history to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Yahoo Finance dividend history and tell me what changed since last week.
- Check Yahoo Finance dividend history and summarize what you find in three bullet points.
- Pull the newest data from Yahoo Finance dividend history and give me the result as a table.

## How to set up Yahoo Finance dividend history 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 Yahoo Finance dividend history**: 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": "finance-yahoo-com/equities/dividends",
    "input": {
      "symbol": "<symbol>"
    }
  }'
```

Then paste one of the prompts above: opencode finds Yahoo Finance dividend history on Spiral, shows the price and runs it.

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

## Yahoo Finance dividend history tools and prices

- [Yahoo Finance · Dividends](https://spiral.ai/tools/alexandria/finance-yahoo-com/equities/dividends) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| range | 1y, 2y, 5y, 10y, 20y, max | 10y | How far back to list payouts. |

## What can you do with Yahoo Finance dividend history in opencode?

Build a company research view with Yahoo Finance listing matches, market snapshots, earnings, and payout records. A coding agent can add the returned data to your project's tables and charts while keeping earnings estimates separate from reported results.

### Company research worksheet

Identify Microsoft's listing, then organize its market snapshot, historical moves, earnings record, and dividend history into a personal research worksheet.

### Public-company peer comparison

Resolve Coca-Cola and PepsiCo to their listings, then compare market capitalization, price performance, reported earnings, and payout changes over a matching period.

### Quarterly company review

Confirm Apple's listing and review earnings against expectations, the surrounding price history, the latest market snapshot, and dividend or split events that affect interpretation.

### Monthly research watchlist

Maintain a personal review of named public companies: check listing matches, summarize market changes, compare earnings records, and flag changes in historical payouts.

### Dividend change audit

Review Coca-Cola's historical dividend amounts and ex-dividend dates, then inspect price history around payout changes without confusing cash distributions with market returns.

### Chart adjustment review

Inspect Apple's price history alongside dividend and split records to explain how corporate actions affect a historical chart.

## Overview

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

## Yahoo Finance dividend history in other agents

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

## More opencode guides

- [Yahoo Finance company earnings](https://spiral.ai/integrations/opencode/yahoo-finance-company-earnings)
- [Yahoo Finance stock price history](https://spiral.ai/integrations/opencode/yahoo-finance-stock-price-history)
- [Xe live exchange rates](https://spiral.ai/integrations/opencode/xe-live-exchange-rates)
- [Yahoo Finance stock quote](https://spiral.ai/integrations/opencode/yahoo-finance-stock-quote)
- [Xe historical exchange rates](https://spiral.ai/integrations/opencode/xe-historical-exchange-rates)
- [Yahoo Finance ticker search](https://spiral.ai/integrations/opencode/yahoo-finance-ticker-search)

## Questions about Yahoo Finance dividend history in opencode

**Can opencode use Yahoo Finance dividend history?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Yahoo Finance dividend history like any built-in tool.

**How much does Yahoo Finance dividend history cost in opencode?**

$0.00873 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 Yahoo Finance dividend history in opencode?**

No. Spiral runs Yahoo Finance dividend history on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Yahoo Finance dividend history in opencode?**

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

**Does opencode wait while Yahoo Finance dividend history runs?**

Yahoo Finance dividend history runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Does Yahoo Finance cover every listed security?**

No. Yahoo specifically identifies incomplete coverage of pink sheets, preferred stocks, and American Depository Receipts.

**Are all Yahoo Finance quotes real-time?**

No. Real-time quotes are available during exchange market hours for many exchanges, with pre-market and post-market coverage in some cases. London Stock Exchange quotes carry a documented 20-minute delay.

**Can I search Yahoo Finance using an ISIN?**

Yahoo says its search is not designed for ISIN codes, analyst names, or CEO names. Use a business name or ticker symbol.

**What does Yahoo Finance mean by adjusted close?**

Adjusted close accounts for applicable stock splits and dividend distributions. Keep that distinction when comparing historical performance with cash dividend records.

**Does public access allow me to redistribute Yahoo Finance data?**

Yahoo's help documentation says users must not redistribute information displayed on or provided by Yahoo Finance. Public availability does not establish permission to republish the data.

