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

Muse Code · Finance

How to Use Yahoo Finance stock price history in Muse Code

Returns historical price bars with open, high, low, close, and volume. Use it to chart a ticker over time or measure market moves around company announcements.

Prompts to try with Yahoo Finance stock price history in Muse Code

Copy an example into Muse Code, or ask in your own words.

Use Yahoo Finance stock price history for AAPL over the past year and add a daily closing-price and volume chart to this project.

Yahoo Finance stock price historyMuse Code
Try asking
  • Use Yahoo Finance stock price history to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Yahoo Finance stock price history and tell me what changed since last week.

  • Check Yahoo Finance stock price history and summarize what you find in three bullet points.

  • Pull the newest data from Yahoo Finance stock price history and give me the result as a table.

How to set up Yahoo Finance stock price history in Muse Code

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

Use Spiral's MCP server

  1. Install Muse Code
    curl -fsSL https://dev.meta.ai/install.sh | bash
  2. Ask Muse to add the server

    Start muse and ask:

    Add the Spiral MCP server at https://api.spiral.ai/mcp
  3. Sign in

    In your terminal, run:

    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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Yahoo Finance stock price 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": "finance-yahoo-com/equities/history",
        "input": {
          "symbol": "<symbol>"
        }
      }'

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

Yahoo Finance stock price history providers and prices

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

AlexandriaFinance
Yahoo Finance · History
finance-yahoo-com/equities/history

Settings you can ask for

Ask Muse Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Range1d, 5d, 1mo, 3mo, 6mo, ytd, 1y, 2y and 3 more

How far back to look from now. Defaults by interval: 1m 1d, 5m/15m/30m 5d, 60m 1mo, 1d 1y, 1wk 5y, 1mo max. 1m accepts 1d or 5d; 5m, 15m and 30m accept 1d, 5d or 1mo; 60m accepts up to 2y. Mutually exclusive with start/end.

Interval1m, 5m, 15m, 30m, 60m, 1d, 1wk, or 1mo1d

Bar size. 1m: last 30 days, windows up to 8 days. 5m, 15m, 30m: last 60 days. 60m (hourly): last 730 days. 1d, 1wk, 1mo: full history.

Include preposton or off

Include pre-market and post-market bars. Only affects intraday intervals.

Every API field of Yahoo Finance · History is on its tool page: open its card above.

What can you do with Yahoo Finance stock price history in Muse Code?

Build a company research view with Yahoo Finance listing matches, market snapshots, earnings, and payout records. A coding agent can add the returned data to your project's tables and charts while keeping earnings estimates separate from reported results.

Company research worksheet

Identify Microsoft's listing, then organize its market snapshot, historical moves, earnings record, and dividend history into a personal research worksheet.

Public-company peer comparison

Resolve Coca-Cola and PepsiCo to their listings, then compare market capitalization, price performance, reported earnings, and payout changes over a matching period.

Quarterly company review

Confirm Apple's listing and review earnings against expectations, the surrounding price history, the latest market snapshot, and dividend or split events that affect interpretation.

Monthly research watchlist

Maintain a personal review of named public companies: check listing matches, summarize market changes, compare earnings records, and flag changes in historical payouts.

Dividend change audit

Review Coca-Cola's historical dividend amounts and ex-dividend dates, then inspect price history around payout changes without confusing cash distributions with market returns.

Earnings reaction study

Compare reported EPS with expectations and measure the surrounding daily price movement for a company such as Microsoft.

Chart adjustment review

Inspect Apple's price history alongside dividend and split records to explain how corporate actions affect a historical chart.

Questions about Yahoo Finance stock price history in Muse Code

Can Muse Code use Yahoo Finance stock price history?

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

How much does Yahoo Finance stock price history cost in Muse Code?

$0.00873 per call. 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 Yahoo Finance stock price history in Muse Code?

No. Spiral runs Yahoo Finance stock price 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 Yahoo Finance stock price 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 Yahoo Finance stock price history runs?

Yahoo Finance stock price history runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.

Does Yahoo Finance cover every listed security?

No. Yahoo specifically identifies incomplete coverage of pink sheets, preferred stocks, and American Depository Receipts.

Are all Yahoo Finance quotes real-time?

No. Real-time quotes are available during exchange market hours for many exchanges, with pre-market and post-market coverage in some cases. London Stock Exchange quotes carry a documented 20-minute delay.

Can I search Yahoo Finance using an ISIN?

Yahoo says its search is not designed for ISIN codes, analyst names, or CEO names. Use a business name or ticker symbol.

What does Yahoo Finance mean by adjusted close?

Adjusted close accounts for applicable stock splits and dividend distributions. Keep that distinction when comparing historical performance with cash dividend records.

Does public access allow me to redistribute Yahoo Finance data?

Yahoo's help documentation says users must not redistribute information displayed on or provided by Yahoo Finance. Public availability does not establish permission to republish the data.

Get started

Start using Yahoo Finance stock price history in Muse Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Muse Code:

Set up Muse Code

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