[Integrations](https://spiral.ai/integrations) › [Notion](https://spiral.ai/integrations/notion) › [Tiingo historical stock prices](https://spiral.ai/integrations/notion/tiingo-historical-stock-prices)

# How to Use Tiingo historical stock prices in Notion

Get end-of-day open, high, low, close, and volume, with raw and adjusted values plus dividends and splits. Use it to study historical performance, calculate indicators, or inspect price changes around corporate actions.

|  |  |
| --- | --- |
| Model | Tiingo historical 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 Tiingo historical stock prices in Notion

- Each US trading evening after 8 PM EST, use Tiingo historical stock prices for SPY to calculate the latest adjusted closing return and compare volume with the preceding 20 trading days.
- Every Saturday, use Tiingo historical stock prices for AAPL and MSFT to compare their adjusted closing percentage changes over the latest five available trading sessions.
- Each US trading evening after 8 PM EST, use Tiingo historical stock prices for KO to check for a cash dividend or split record. When one appears, retrieve its full available adjusted history again.
- Every Saturday, use Tiingo historical stock prices for QQQ to calculate its current decline from the highest adjusted close in the preceding 252 trading sessions.
- Each US trading evening after 8 PM EST, use Tiingo historical stock prices for NVDA to flag volume above twice the average of the preceding 20 trading days and include the day's price range.

## How to set up Tiingo historical stock prices in Notion

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

### Use the Spiral skill

1. **Send Notion 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 Spiral's MCP server

1. **Allow custom MCP servers**: A workspace owner opens Settings › Connections, then the Manage tab, and turns on Enable custom MCP servers. Where members may install only approved connections, also add Spiral under Approved connections › Add approved connection › Custom MCP server with the URL below.

2. **Add Spiral to a custom agent**: Open the custom agent (or create one), then Settings › Tools & Access › Add connection › Custom MCP server. Paste this URL, name it Spiral, keep OAuth and click Connect.

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

3. **Sign in to Spiral and approve**: Spiral opens: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Notion never sees it, and you can remove it under Settings › Connected apps in the console.

4. **Run Tiingo historical stock prices in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Tiingo historical stock prices, prices it and runs it each time the step fires.

### 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 Tiingo historical 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": "tiingo/prices/eod",
    "input": {
      "ticker": "<ticker>"
    }
  }'
```

Then paste one of the prompts above: Notion finds Tiingo historical stock prices on Spiral, shows the price and runs it.

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

## Tiingo historical stock prices tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| sort |  | — | Column to sort by, ascending. Prefix with - for descending, such as -date. |
| columns |  | — | Comma-separated columns to return, such as date,close,adjClose. Omit for every column. |
| endDate |  | — | YYYY-MM-DD. Last day, inclusive. Defaults to today when startDate is set. |
| startDate |  | — | YYYY-MM-DD. First day, inclusive. Without startDate and endDate Tiingo returns only the latest day. |
| resampleFreq | daily, weekly, monthly, annually | — | daily (the default, holiday calendar), weekly (weeks end Friday), monthly, or annually. A start or end inside a period is widened to the whole period. |

## What can you do with Tiingo historical stock prices in Notion?

Produce a recurring internal market review from Tiingo's end-of-day prices and volume. A scheduled agent can watch adjusted returns and corporate actions, with US equity runs timed to allow for corrections through 8 PM EST.

### Compare historical stock performance

Retrieve AAPL and MSFT over the same dates and calculate percentage changes from adjusted closes for an internal research comparison.

### Inspect a stock split

Compare raw and adjusted prices with split records around AAPL's August 2020 split to investigate the apparent price discontinuity.

### Calculate moving averages

Use SPY's adjusted closing history to calculate 20-day and 50-day moving averages and identify historical crossings.

### Measure historical drawdowns

Calculate QQQ's largest decline from an earlier peak over a chosen period using adjusted closing prices.

### Review unusual trading volume

Compare NVDA's daily volume with its preceding 20 trading days, showing the corresponding daily price range for context.

### Refresh research after corporate actions

Check KO's returned dividend and split records, then refresh its historical adjusted series when an event changes the adjustment basis.

## Overview

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

## Tiingo historical stock prices in other agents

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

## More Notion guides

- [Tiingo financial news](https://spiral.ai/integrations/notion/tiingo-financial-news)
- [Tiingo ticker metadata](https://spiral.ai/integrations/notion/tiingo-ticker-metadata)
- [Stock Analysis ticker search](https://spiral.ai/integrations/notion/stock-analysis-ticker-search)
- [Tiingo ticker search](https://spiral.ai/integrations/notion/tiingo-ticker-search)
- [Stock Analysis stock statistics](https://spiral.ai/integrations/notion/stock-analysis-stock-statistics)
- [Treasury Fiscal Data dataset search](https://spiral.ai/integrations/notion/treasury-fiscal-data-dataset-search)

## Questions about Tiingo historical stock prices in Notion

**Can Notion use Tiingo historical stock prices?**

Yes. Add Spiral to Notion as an MCP server, and Notion can find and run Tiingo historical stock prices like any built-in tool.

**How much does Tiingo historical stock prices cost in Notion?**

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

**Do I need an Alexandria account to use Tiingo historical stock prices in Notion?**

No. Spiral runs Tiingo historical 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 Tiingo historical stock prices in Notion?**

About two minutes: allow custom MCP servers, then add Spiral to a custom agent, then sign in to Spiral and approve.

**Does Notion wait while Tiingo historical stock prices runs?**

Tiingo historical stock prices runs in the background. Notion starts the run, checks on it and gives you the json when it's ready.

**Which markets does Tiingo's end-of-day data cover?**

Tiingo's product summary lists more than 80,000 tickers across US equities, ETFs, mutual funds, and Chinese A-shares. That is a stated coverage boundary, rather than a claim of worldwide stock coverage.

**When are US stock prices available?**

Most US equity prices are available at 5:30 PM EST. Exchanges can send corrections until 8 PM EST, so an earlier retrieval may precede a correction.

**Can previously retrieved adjusted prices change?**

Yes. Tiingo recommends downloading the entire price history again after a split or cash dividend so the stored series contains the latest adjusted prices.

**Where does Tiingo get its US market data?**

Tiingo says it cross-checks three to seven independent feeds for US assets. Its published methodology compares upstream values instead of relying on one provider.

**Can I publish the prices returned by Tiingo?**

Tiingo's API terms specify internal consumption. Redistributing the data requires separate permission, so retrieving a series does not itself grant publication rights.

