How to Use EODHD dividend history in Gemini CLI
Fetch historical dividend dates and amounts for one stock. Use it to compare payouts over time or add dividend events to a return calculation.
Prompts to try with EODHD dividend history in Gemini CLI
Copy an example into Gemini CLI, or ask in your own words.
Use EODHD dividend history for AAPL.US from 2015 through 2025 and add the returned dates and amounts to this project's research dataset.
Use EODHD dividend history for KO.US from 2010 through 2025 and compare the returned records with this project's stored dividend table.
Use EODHD dividend history for MSFT.US from 2020 through 2025 and write a CSV of the returned event dates and amounts.
Use EODHD dividend history to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from EODHD dividend history and tell me what changed since last week.
How to set up EODHD dividend history in Gemini CLI
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Or add it to ~/.gemini/settings.json yourself:
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start gemini and run:
/mcp auth spiral
- Check it
In Gemini CLI, run /mcp. From your shell:
gemini mcp list
Use the Spiral skill
- Send Gemini CLI 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 EODHD 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": "eodhd/corporate-actions/dividends", "input": { "ticker": "<ticker>" } }'
Then paste one of the prompts above: Gemini CLI finds EODHD dividend history on Spiral, shows the price and runs it.
EODHD dividend history providers and prices
Spiral runs EODHD dividend history through Alexandria. Open a card for today's price, with every fee included.
What can you do with EODHD dividend history in Gemini CLI?
Add dated dividend or split events to a project's backtest or research table. A coding agent can also compare EODHD responses with stored records and identify corrections.
Build a corporate action timeline
Arrange Apple's dividend dates and split events chronologically for a private research timeline.
Supply events for a backtest
Bring historical dividend and split events into an existing backtest, keeping the event types separate.
Check a corporate action database
Compare stored event dates, dividend amounts, and split ratios with EODHD records to find differences for review.
Detect historical corrections
Compare successive downloads for the same ticker and report added, removed, or changed corporate action records.
Compare dividend histories
Compare Coca-Cola and PepsiCo dividend amounts and event dates over a fixed historical period.
More on EODHD dividend history and Gemini CLI
Overview
EODHD dividend history in other agents
Questions about EODHD dividend history in Gemini CLI
Can Gemini CLI use EODHD dividend history?
Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run EODHD dividend history like any built-in tool.
How much does EODHD dividend history cost in Gemini CLI?
Up to $0.17459 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.
Do I need an Alexandria account to use EODHD dividend history in Gemini CLI?
No. Spiral runs EODHD 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 EODHD dividend history in Gemini CLI?
About two minutes: add the server, then sign in, then check it.
Does Gemini CLI wait while EODHD dividend history runs?
EODHD dividend history runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.
How much history can I retrieve for one ticker?
EODHD recommends retrieving the instrument's whole available history and filtering locally rather than paging through individual years. The available record depends on the ticker.
Does EODHD cover decades of corporate actions?
Some long-running US dividend records begin in 1970. That does not establish a 1970 start date for every ticker or every type of corporate action.
Can an old corporate action record change?
Yes. EODHD can correct previously published splits and dividends, and it sets no fixed correction window.
Can I retrieve the record exactly as it appeared on a past date?
EODHD overwrites corrected records and does not store change timestamps. The feed therefore cannot supply an earlier version of a corrected event.
Can I publish EODHD corporate action data?
EODHD's personal-use terms prohibit displaying or redistributing data to others, including repackaged data. Those terms do not authorize a public corporate action table.
Start using EODHD dividend history in Gemini CLI
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini CLI:
set up https://spiral.ai/SKILL.md


