[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Fiscal.ai stock split history](https://spiral.ai/integrations/opencode/fiscal-ai-stock-split-history)

# How to Use Fiscal.ai stock split history in opencode

Returns historical stock split and stock dividend events, including ratios and relevant dates. Use it to explain corporate actions or reconcile another source's unadjusted prices.

|  |  |
| --- | --- |
| Model | Fiscal.ai stock split history |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.026189 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Fiscal.ai stock split history in opencode

- Use Fiscal.ai stock split history for NVIDIA on NASDAQ to check the corporate-action markers in this project's internal chart.
- Use Fiscal.ai stock split history for Tesla on NASDAQ to investigate whether this project's imported price series has been adjusted twice.
- Use Fiscal.ai 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 Fiscal.ai stock split history and tell me what changed since last week.
- Check Fiscal.ai stock split history and summarize what you find in three bullet points.

## How to set up Fiscal.ai stock split 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 Fiscal.ai 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": "fiscal-ai/prices/splits",
    "input": {
      "fscl": "<fscl>"
    }
  }'
```

Then paste one of the prompts above: opencode finds Fiscal.ai stock split history on Spiral, shows the price and runs it.

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

## Fiscal.ai stock split history tools and prices

- [Fiscal.ai · Stock splits](https://spiral.ai/tools/alexandria/fiscal-ai/prices/splits) (Alexandria): $0.026189 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| cik |  | — | SEC Central Index Key. Use when a company has no ticker, or after a rename. |
| figi |  | — | OpenFIGI identifier of the security. Licensed identifier. |
| fscl |  | — | Fiscal.ai's stable company identifier, the `companyFiscalIdentifier` field. The only identifier that survives a ticker change or a relisting, so prefer it when carrying a company between calls. |
| isin |  | — | ISIN of the security. Licensed identifier. |
| cusip |  | — | CUSIP of the security. Licensed identifier. |
| ticker |  | — | Ticker symbol, for example MSFT. Only unique within an exchange, so pass `exchange` with it. |

## What can you do with Fiscal.ai stock split history in opencode?

Fix an internal stock chart using Fiscal.ai price observations and split events. A coding agent can compare returned values with the project's calculations and correct date ordering or adjustment errors.

### Investigate a suspicious price jump

Compare daily and intraday observations around a jump, then check split events before deciding whether an external chart needs an adjustment.

### Review a company's trading session

Put session movement beside the surrounding daily trend and check whether a split event falls within the review period.

### Reconcile market data sources

Compare another source's daily and timestamped prices with Fiscal.ai, using split ratios and dates to investigate adjustment differences.

### Debug an internal stock chart

Check plotted daily values, session points, and corporate-action markers against the returned data to find sorting or adjustment errors.

### Build a corporate-action timeline

Arrange a company's returned split and stock dividend events by date, showing the ratio attached to each event.

## Overview

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

## Fiscal.ai stock split history in other agents

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

## More opencode guides

- [Fiscal.ai standardized metric catalog](https://spiral.ai/integrations/opencode/fiscal-ai-standardized-metric-catalog)
- [Fiscal.ai template metric definitions](https://spiral.ai/integrations/opencode/fiscal-ai-template-metric-definitions)
- [Fiscal.ai standardized income statement](https://spiral.ai/integrations/opencode/fiscal-ai-standardized-income-statement)
- [Forex Factory economic calendar](https://spiral.ai/integrations/opencode/forex-factory-economic-calendar)
- [Fiscal.ai standardized cash flow statement](https://spiral.ai/integrations/opencode/fiscal-ai-standardized-cash-flow-statement)
- [Forex Factory event details](https://spiral.ai/integrations/opencode/forex-factory-event-details)

## Questions about Fiscal.ai stock split history in opencode

**Can opencode use Fiscal.ai stock split history?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Fiscal.ai stock split history like any built-in tool.

**How much does Fiscal.ai stock split history cost in opencode?**

$0.026189 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 Fiscal.ai stock split history in opencode?**

No. Spiral runs Fiscal.ai 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 Fiscal.ai stock split history in opencode?**

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

**Does opencode wait while Fiscal.ai stock split history runs?**

Fiscal.ai stock split history runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Does Fiscal.ai provide live stock prices?**

Fiscal.ai documents a 15-minute delay for intraday prices. Its daily history consists of end-of-day quotes.

**Does Fiscal.ai include confidential company information?**

Its API terms state that, to Fiscal.ai's knowledge, the feed contains no material nonpublic information or information obtained in breach of a confidentiality obligation.

**Can I publish or redistribute Fiscal.ai's raw data?**

The API terms restrict raw-data sharing beyond authorized application users. External reuse depends on the agreement's permissions and exceptions, so retrieving data does not grant unrestricted publication rights.

