[Integrations](https://spiral.ai/integrations) › [Claude](https://spiral.ai/integrations/claude-desktop) › [Marketstack daily stock prices](https://spiral.ai/integrations/claude-desktop/marketstack-daily-stock-prices)

# How to Use Marketstack daily stock prices in Claude

Fetch daily open, high, low, close, and volume, plus values adjusted for splits and dividends. Use Marketstack daily stock prices for historical charts, closing-price comparisons, and daily research.

|  |  |
| --- | --- |
| Model | Marketstack daily stock prices |
| Available through | Alexandria |
| Category | Finance |
| Price | Up to $0.034918 per run. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Marketstack daily stock prices in Claude

- Use Marketstack daily stock prices for AAPL for the latest 20 available trading days. Show the daily close and volume, then identify the widest daily trading range.
- Use Marketstack daily stock prices to retrieve MSFT and AAPL separately for 2025. Compare their percentage changes in adjusted closing prices over matching dates.
- Use Marketstack daily stock prices for NVDA from January through March 2026. List the five sessions with the highest trading volume.
- Use Marketstack daily stock prices for KO during 2025. Show raw and adjusted closing prices side by side for the first and last available trading days.
- Use Marketstack daily stock prices for JPM during 2025. Calculate its largest decline from a previous adjusted closing-price peak and give the peak and trough dates.

## How to set up Marketstack daily stock prices in Claude

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

### Use the Claude connector

1. **Add Spiral to Claude**: Click Add Spiral in Claude above. Claude opens Add custom connector with Spiral and its URL filled in; check them and click Continue. Without the link: in Claude open Customize › Connectors › Add › Add custom connector and paste this URL:

```text
https://api.spiral.ai/mcp
```

2. **Keep the detected sign-in and click Add**: Claude finds Spiral's sign-in by itself: leave Sign in now and Use Claude's published identity selected.

3. **Click Connect**: The connector page opens. Connect takes you to Spiral in your browser.

### Use the Spiral skill

1. **Send Claude 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 Marketstack daily stock prices**: 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": "marketstack/prices/eod",
    "input": {
      "symbols": "<symbols>"
    }
  }'
```

Then paste one of the prompts above: Claude finds Marketstack daily stock prices on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-desktop

## Marketstack daily stock prices tools and prices

- [Marketstack · End-of-day prices](https://spiral.ai/tools/alexandria/marketstack/prices/eod) (Alexandria): Up to $0.034918 per run.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| sort | DESC, ASC, desc, asc | — | Order by date. DESC, newest first, is the default. |
| limit | 1 to 100 | — | Rows per page, from 1 to 100. Default 100. The request costs the same whatever the row count. |
| offset | 0 to 1000000 | — | Rows to skip for the next page. Default 0. |
| date_to |  | — | Latest date, YYYY-MM-DD. |
| exchange |  | — | Filter by exchange MIC, such as XNAS. Find one with exchanges/list. |
| date_from |  | — | Earliest date, YYYY-MM-DD. |

## What can you do with Marketstack daily stock prices in Claude?

Turn Marketstack's daily stock records into a dated performance comparison or a short closing-price brief. A chat app can calculate changes from adjusted closing prices and explain the returned trading ranges and volume.

### Daily price charts

Plot a stock's daily open, high, low, and close, with trading volume beneath the chart.

### Performance comparisons

Fetch each stock separately and compare changes in adjusted closing prices over the same dates.

### Closing-price briefs

Summarize the latest available close, its change from the previous returned trading day, and the day's trading range.

### Historical strategy research

Calculate moving averages and test daily price rules against retrieved historical records, keeping raw and adjusted calculations separate.

### Volume anomaly reviews

Compare a stock's daily volume with its preceding 20 trading days and list unusually active sessions.

### Drawdown analysis

Calculate declines from previous peaks in adjusted closing prices and identify the deepest decline within a chosen period.

### Adjustment checks

Place raw and adjusted closing prices side by side to identify dates that need closer review before using the history in research.

### Research dataset checks

Compare the retrieved record count with the pagination total before calculating returns or exporting a historical dataset.

## Overview

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

## Marketstack daily stock prices in other agents

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

## More Claude guides

- [Marketstack company profile](https://spiral.ai/integrations/claude-desktop/marketstack-company-profile)
- [Marketstack dividend history](https://spiral.ai/integrations/claude-desktop/marketstack-dividend-history)
- [Japan MOF sanctions record](https://spiral.ai/integrations/claude-desktop/japan-mof-sanctions-record)
- [Marketstack stock exchange directory](https://spiral.ai/integrations/claude-desktop/marketstack-stock-exchange-directory)
- [Japan MOF sanctions publication status](https://spiral.ai/integrations/claude-desktop/japan-mof-sanctions-publication-status)
- [Marketstack stock split history](https://spiral.ai/integrations/claude-desktop/marketstack-stock-split-history)

## Questions about Marketstack daily stock prices in Claude

**Can Claude use Marketstack daily stock prices?**

Yes. Add Spiral to Claude as an MCP server, and Claude can find and run Marketstack daily stock prices like any built-in tool.

**How much does Marketstack daily stock prices cost in Claude?**

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

**Do I need an Alexandria account to use Marketstack daily stock prices in Claude?**

No. Spiral runs Marketstack daily stock prices 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 daily stock prices in Claude?**

About two minutes: add Spiral to Claude, then keep the detected sign-in and click Add, then click Connect.

**Does Claude wait while Marketstack daily stock prices runs?**

Marketstack daily stock prices runs in the background. Claude starts the run, checks on it and gives you the json when it's ready.

**Where does Marketstack get US stock data?**

Marketstack names Tiingo as its licensed source for stock market data from US exchanges.

**Does Marketstack cover stocks outside the US?**

Yes. Its end-of-day endpoint documentation advertises more than 500,000 tickers across global exchanges; that is a coverage total, not a guarantee that every listing has a complete history.

**When do daily stock prices update?**

APILayer describes end-of-day data as updating once daily after market close, typically within hours. That description does not establish an exact publication time for each exchange.

**Can one page contain only part of the requested history?**

Yes. Marketstack returns paginated results, and the pagination total gives the number of matching records available across pages. A historical calculation should include all matching pages.

