Spiral gives your agent every tool with one account. Browse the tools →

Gemini CLI · Finance

How to Use Marketstack stock split history in Gemini CLI

Marketstack stock split history returns split dates, ratios, and numeric split factors for a ticker. Use it to reconcile share counts or investigate a price discontinuity around a split.

Prompts to try with Marketstack stock split history in Gemini CLI

Copy an example into Gemini CLI, or ask in your own words.

Use Marketstack stock split history for NVDA from 2020 through 2025 and create chart annotations from the returned dates and ratios.

Marketstack stock split historyGemini CLI
Try asking
  • Use Marketstack stock split history for TSLA from 2020 through 2023 and add a worked share-count example to the project's accounting documentation.

  • Use Marketstack 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 Marketstack stock split history and tell me what changed since last week.

  • Check Marketstack stock split history and summarize what you find in three bullet points.

How to set up Marketstack stock split history in Gemini CLI

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

Use Spiral's MCP server

  1. Add the server

    Or add it to ~/.gemini/settings.json yourself:

    gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start gemini and run:

    /mcp auth spiral
  3. Check it

    In Gemini CLI, run /mcp. From your shell:

    gemini mcp list

Use the Spiral skill

  1. Send Gemini CLI 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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Marketstack stock split 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": "marketstack/corporate-actions/splits",
        "input": {
          "symbols": "<symbols>"
        }
      }'

Then paste one of the prompts above: Gemini CLI finds Marketstack stock split history on Spiral, shows the price and runs it.

Marketstack stock split history providers and prices

Spiral runs Marketstack stock split history through Alexandria. Open a card for today's price, with every fee included.

AlexandriaFinance
Marketstack · Stock splits
marketstack/corporate-actions/splits

Settings you can ask for

Ask Gemini CLI for any of these in your prompt.

SettingAllowed valuesDefaultDescription
SortDESC, ASC, desc, or asc

Order by date. DESC, newest first, is the default.

Limit1 to 100

Rows per page, from 1 to 100. Default 100. The request costs the same whatever the row count.

Offset0 to 1000000

Rows to skip for the next page. Default 0.

Every API field of Marketstack · Stock splits is on its tool page: open its card above.

What can you do with Marketstack stock split history in Gemini CLI?

Build a corporate action table that shows Marketstack dividend milestones or split dates and factors. A coding agent can add those records to a project's accounting checks, chart annotations, or research views.

Build a corporate action timeline

Combine Marketstack dividend history and Marketstack stock split history into a dated timeline for AAPL. Keep dividend milestones and split events labeled separately.

Audit historical adjustments

Compare returned dividend events and split factors with the adjustment records in an existing market dataset. Produce a list of dates and values that need investigation.

Test portfolio accounting

Use returned dividend distributions and split events as dated examples for testing cash entries and share-count changes in portfolio software.

Prepare a company research brief

Summarize a public company's returned distributions and split events over a defined period. Include the dividend amounts and split ratios behind the summary.

Reconcile share-count changes

Apply returned split ratios to a hypothetical starting share count. Compare the resulting sequence with an existing share ledger.

Annotate historical charts

Add split dates and ratios to an existing stock chart so readers can investigate price changes around those events.

Questions about Marketstack stock split history in Gemini CLI

Can Gemini CLI use Marketstack stock split history?

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Marketstack stock split history like any built-in tool.

How much does Marketstack stock split history cost in Gemini CLI?

Up to $0.034918 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 Marketstack stock split history in Gemini CLI?

No. Spiral runs Marketstack 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 Marketstack stock split history in Gemini CLI?

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

Does Gemini CLI wait while Marketstack stock split history runs?

Marketstack stock split history runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.

Which markets does Marketstack explicitly cover for corporate actions?

The corporate action documentation lists NASDAQ, NYSE, NYSE ARCA, PINK, SHG, OTCQB, and BATS for dividend and split data. That list defines the documented coverage boundary for these records.

Where does Marketstack obtain its US market data?

Marketstack names Tiingo, Inc., based in New York City, as its licensed source for stock market data from United States exchanges.

Does one response contain a stock's entire corporate action history?

Marketstack returns paginated results and distinguishes the current page's count from the total available. Retrieve the remaining pages before describing a dividend or split history as complete.

Does Marketstack stream corporate action updates?

Marketstack says it offers no WebSocket or streaming APIs. Its data is retrieved through requests rather than a continuous event stream.

Does Marketstack guarantee that its records are accurate and always available?

APILayer's published SaaS agreement expressly disclaims responsibility for licensed data's availability, content, and accuracy. It does not provide an unconditional accuracy guarantee for dividend or split records.

Get started

Start using Marketstack stock split 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 Gemini CLI

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options