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

opencode · Finance

How to Use Tiingo financial news in opencode

Tiingo financial news returns article titles, links, descriptions, source domains, matched tickers and tags, plus publication and crawl times. Use it to prepare company news briefs, compare publisher coverage or build an event reading list.

Prompts to try with Tiingo financial news in opencode

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

Use Tiingo financial news to retrieve AAPL articles from the past seven days, then build an internal reading-list view in this project with titles, descriptions and publisher links.

Tiingo financial newsopencode
Try asking
  • Use Tiingo financial news to fetch MSFT and GOOGL articles from the past week. Add a comparison view showing the returned article counts and source domains for each ticker.

  • Use Tiingo financial news to retrieve recent NVDA articles. Implement an in-memory topic view using the returned tags, with a publisher link beside every headline.

  • Use Tiingo financial news to fetch BA articles from the past fourteen days. Add a timeline component ordered by publication time and display crawl time separately.

  • Use Tiingo financial news to retrieve JPM articles from the past seven days. Build an internal source-domain table from the live response and label its counts as retrieved articles.

How to set up Tiingo financial news 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 Tiingo financial news

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

Then paste one of the prompts above: opencode finds Tiingo financial news on Spiral, shows the price and runs it.

Tiingo financial news providers and prices

Spiral runs Tiingo financial news through Alexandria. Open a card for today's price, with every fee included.

AlexandriaFinance
Tiingo · News search
tiingo/news/search

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 100

Articles to return, from 1 to 100. Tiingo's default is 100. One request either way.

Offset0 to 10000

Articles to skip, for paging with limit. Default 0.

Sort bypublishedDate or crawlDate

publishedDate (the default) or crawlDate, newest first.

Every API field of Tiingo · News search is on its tool page: open its card above.

What can you do with Tiingo financial news in opencode?

Build a company news view that shows Tiingo headlines beside their publisher links and descriptions. A coding agent can use live results to implement topic grouping and publisher comparisons in your project.

Morning company brief

Turn recent AAPL, MSFT and GOOGL articles into a short reading list with publisher links and descriptions.

Earnings reading queue

Review NVDA articles from the past week and select descriptions discussing earnings, guidance or demand for closer reading.

Competitor coverage comparison

Compare the subjects covered in KO and PEP articles over the same period, citing examples from the returned results.

Publisher coverage audit

Count source domains in recent JPM results to see which publishers dominate the retrieved reading list.

Company event chronology

Arrange BA headlines by publication time to build a linked chronology of recent coverage.

Topic review

Group recent AMD articles by their returned topic tags, then inspect descriptions to identify subjects worth researching.

Questions about Tiingo financial news in opencode

Can opencode use Tiingo financial news?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Tiingo financial news like any built-in tool.

How much does Tiingo financial news cost in opencode?

Up to $0.17459 per run. 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 Tiingo financial news in opencode?

No. Spiral runs Tiingo financial news 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 financial news in opencode?

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

Does opencode wait while Tiingo financial news runs?

Tiingo financial news runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

What information comes back for a news article?

Tiingo returns a title, publisher link, description, source domain, matched asset tickers, topic tags, publication date and crawl date. These support a linked reading list or a comparison of coverage.

Does Tiingo include financial blogs?

Yes. Tiingo collects from financial news sites and financial blogs, so results can include commentary alongside news reporting.

How fresh is the news?

Tiingo says articles are added in real time as they are discovered. That describes discovery by Tiingo, rather than a guaranteed delay from the publisher's release.

How far back can I search?

Tiingo's standard news offering provides three months of queryable history. Older research requires separate historical coverage.

What does an article's crawl time mean?

Crawl time is the UTC timestamp when Tiingo added the article to its database. Use it when the question concerns when Tiingo discovered a story.

Get started

Start using Tiingo financial news 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