How to Use Stock Analysis dividend history in opencode
Returns dividend amounts, ex-dividend dates, and payment dates for a stock or ETF. Use it to compare distributions over time or build a payment calendar.
Prompts to try with Stock Analysis dividend history in opencode
Copy an example into opencode, or ask in your own words.
Use Stock Analysis dividend history for MSFT and add a timeline of returned payment amounts, ex-dividend dates, and payment dates.
Use Stock Analysis dividend history to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Stock Analysis dividend history and tell me what changed since last week.
Check Stock Analysis dividend history and summarize what you find in three bullet points.
Pull the newest data from Stock Analysis dividend history and give me the result as a table.
How to set up Stock Analysis dividend history in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- 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.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- 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.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Stock Analysis dividend history
One request; the result comes back by polling or a webhook.
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": "stockanalysis-com/securities/dividends", "input": { "symbol": "<symbol>" } }'
Then paste one of the prompts above: opencode finds Stock Analysis dividend history on Spiral, shows the price and runs it.
Stock Analysis dividend history providers and prices
Spiral runs Stock Analysis dividend history through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Type | etf or stock | stock | Security type: |
Every API field of Stock Analysis · Dividends is on its tool page: open its card above.
What can you do with Stock Analysis dividend history in opencode?
Build comparison tables and charts from Stock Analysis fund records, dividend payments, and historical observations. Add calculations to your project while keeping quarterly earnings records and market observations in separate views.
Compare an ETF shortlist
Compare VOO, IVV, and SPY using fund attributes, issuer lineups, issuer scale, and the holdings shown. Add distribution history and historical observations to explain the differences in a research table.
Review an earnings-period market reaction
Review AAPL's quarterly earnings history beside historical market observations and its latest snapshot. Check whether it appears in the selected market-mover ranking and compare dividend dates with the period under review.
Compare company results and distributions
Put quarterly earnings history and dividend payments for AAPL and MSFT into separate timelines. Add historical observations, current snapshots, and appearances in the selected market ranking for context.
Investigate unusual trading activity
Find companies in the most-active ranking and compare their recent observations with longer historical series. Review quarterly earnings history and dividend dates as possible research leads without asserting that either caused the move.
More on Stock Analysis dividend history and opencode
Overview
Stock Analysis dividend history in other agents
Questions about Stock Analysis dividend history in opencode
Can opencode use Stock Analysis dividend history?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Stock Analysis dividend history like any built-in tool.
How much does Stock Analysis 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 Stock Analysis dividend history in opencode?
No. Spiral runs Stock Analysis 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 Stock Analysis dividend history in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Stock Analysis dividend history runs?
Stock Analysis dividend history runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
Does Stock Analysis cover markets outside the United States?
Stock Analysis reports global stock and ETF coverage exceeding 130,000 tradable symbols. That website-wide figure does not establish the coverage of every individual endpoint.
Where does Stock Analysis get its data?
Its sources vary by dataset: CBOE supplies real-time stock prices, most historical dividend data comes from S&P Global, and the SPY holdings page identifies Finnhub.
How fresh are dividend and holdings records?
Apple's dividend page says updates arrive within hours of dividend announcements. The SPY holdings page says ETF issuers typically publish holdings at the end of each trading day.
Does a public holdings table contain the entire portfolio?
It can be partial: VOO's public page displayed 25 of 516 holdings when researched. An overlap calculation using those rows describes the displayed positions, not the entire fund.
Are historical dividend amounts adjusted for stock splits?
Apple's dividend page explicitly states that dividend amounts are adjusted for stock splits when applicable. Its payment history therefore should not be interpreted as an unadjusted record of amounts per share at the time.
Start using Stock Analysis dividend history in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


