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

opencode · Finance

How to Use Yahoo Finance ticker search in opencode

Finds Yahoo Finance symbols matching a company name or partial ticker, with names and exchange details. Use it to identify the right listing before requesting company data.

Prompts to try with Yahoo Finance ticker search in opencode

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

Use Yahoo Finance ticker search for Toyota and add the returned symbols, names, and exchanges to a listing selector in this project.

Yahoo Finance ticker searchopencode
Try asking
  • Use Yahoo Finance ticker search to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Yahoo Finance ticker search and tell me what changed since last week.

  • Check Yahoo Finance ticker search and summarize what you find in three bullet points.

  • Pull the newest data from Yahoo Finance ticker search and give me the result as a table.

How to set up Yahoo Finance ticker search 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.

    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.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    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.

    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 ticker search

    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/search",
        "input": {
          "query": "<query>"
        }
      }'

Then paste one of the prompts above: opencode finds Yahoo Finance ticker search on Spiral, shows the price and runs it.

Yahoo Finance ticker search providers and prices

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

AlexandriaFinance
Yahoo Finance · Search
finance-yahoo-com/equities/search

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Count1 to 2510

Maximum number of matches to return.

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

What can you do with Yahoo Finance ticker search in opencode?

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.

Listing identity check

Search for Toyota and compare the returned listing names and exchanges before checking the market snapshot for the intended security.

Questions about Yahoo Finance ticker search in opencode

Can opencode use Yahoo Finance ticker search?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Yahoo Finance ticker search like any built-in tool.

How much does Yahoo Finance ticker search cost in opencode?

$0.00873 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 Yahoo Finance ticker search in opencode?

No. Spiral runs Yahoo Finance ticker search 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 ticker search in opencode?

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

Does opencode wait while Yahoo Finance ticker search runs?

Yahoo Finance ticker search runs in the background. opencode 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 ticker search in opencode

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

Paste this into opencode:

Set up opencode

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