[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [EODHD stock split history](https://spiral.ai/integrations/muse-code/eodhd-stock-split-history)

# How to Use EODHD stock split history in Muse Code

Fetch historical stock split dates and ratios for one ticker. Use it to explain changes in share counts or supply split events for a backtest.

|  |  |
| --- | --- |
| Model | EODHD stock split history |
| Available through | Alexandria |
| Category | Finance |
| Price | Up to $0.17459 per run. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with EODHD stock split history in Muse Code

- Use EODHD stock split history for NVDA.US from 2000 through 2025 and build a table of event dates and ratios.
- Use EODHD stock split history for AAPL.US across its available history and calculate the cumulative share multiplier from the returned ratios.
- Use EODHD stock split history to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from EODHD stock split history and tell me what changed since last week.
- Check EODHD stock split history and summarize what you find in three bullet points.

## How to set up EODHD stock split history in Muse Code

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

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code 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 EODHD stock split 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": "eodhd/corporate-actions/splits",
    "input": {
      "ticker": "<ticker>"
    }
  }'
```

Then paste one of the prompts above: Muse Code finds EODHD stock split history on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## EODHD stock split history tools and prices

- [EODHD · Split history](https://spiral.ai/tools/alexandria/eodhd/corporate-actions/splits) (Alexandria): Up to $0.17459 per run.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| to |  | — | Window end, YYYY-MM-DD, inclusive. |
| from |  | — | Split-date window start, YYYY-MM-DD, inclusive. Omit for the full history. |

## What can you do with EODHD stock split history in Muse Code?

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.

### Explain a share-count change

Retrieve NVIDIA's split dates and ratios to calculate how an illustrative starting share count changes across the returned events.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## EODHD stock split history in other agents

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

## More Muse Code guides

- [EODHD historical prices](https://spiral.ai/integrations/muse-code/eodhd-historical-prices)
- [EODHD ticker lookup](https://spiral.ai/integrations/muse-code/eodhd-ticker-lookup)
- [EODHD exchange tickers](https://spiral.ai/integrations/muse-code/eodhd-exchange-tickers)
- [Eurostat city purchasing power parities](https://spiral.ai/integrations/muse-code/eurostat-city-purchasing-power-parities)
- [EODHD exchange list](https://spiral.ai/integrations/muse-code/eodhd-exchange-list)
- [Eurostat country price level indices](https://spiral.ai/integrations/muse-code/eurostat-country-price-level-indices)

## Questions about EODHD stock split history in Muse Code

**Can Muse Code use EODHD stock split history?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run EODHD stock split history like any built-in tool.

**How much does EODHD stock split history cost in Muse Code?**

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 Muse Code plan is separate.

**Do I need an Alexandria account to use EODHD stock split history in Muse Code?**

No. Spiral runs EODHD stock split 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 stock split history in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while EODHD stock split history runs?**

EODHD stock split history runs in the background. Muse Code 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.

