[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Stock Analysis ETF profile](https://spiral.ai/integrations/opencode/stock-analysis-etf-profile)

# How to Use Stock Analysis ETF profile in opencode

Returns reference information for one ETF, including its expense ratio, issuer, and inception date. Use it to understand a fund before examining its holdings.

|  |  |
| --- | --- |
| Model | Stock Analysis ETF profile |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Stock Analysis ETF profile in opencode

- Use Stock Analysis ETF profile to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Stock Analysis ETF profile and tell me what changed since last week.
- Check Stock Analysis ETF profile and summarize what you find in three bullet points.
- Pull the newest data from Stock Analysis ETF profile and give me the result as a table.
- Check Stock Analysis ETF profile every morning and tell me only when something changed.

## How to set up Stock Analysis ETF profile 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.

```bash
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.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Stock Analysis ETF profile**: 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": "stockanalysis-com/securities/etf_profile",
    "input": {
      "symbol": "<symbol>"
    }
  }'
```

Then paste one of the prompts above: opencode finds Stock Analysis ETF profile on Spiral, shows the price and runs it.

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

## Stock Analysis ETF profile tools and prices

- [Stock Analysis · Etf profile](https://spiral.ai/tools/alexandria/stockanalysis-com/securities/etf_profile) (Alexandria): $0.00873 per call.

## What can you do with Stock Analysis ETF profile in opencode?

Build comparison tables and charts from Stock Analysis fund records, dividend payments, and historical observations. Add calculations to your project while keeping quarterly earnings records and market observations in separate views.

### Compare an ETF shortlist

Compare VOO, IVV, and SPY using fund attributes, issuer lineups, issuer scale, and the holdings shown. Add distribution history and historical observations to explain the differences in a research table.

### Research an ETF issuer

Compare Vanguard with other managers in the issuer directory, inspect its fund lineup, and select funds for closer review. Use individual profiles, screener rows, and leading holdings to describe the selected funds.

### Explain concentration across ETF issuers

Compare the leading positions shown for VOO, IVV, and SPY. Add fund attributes, each issuer's lineup, and issuer-level totals to distinguish portfolio concentration from the size of the management business.

### Review changes in fund reference data

Compare successive observations of selected ETF profiles, screener rows, leading holdings, issuer lineups, and issuer totals. Produce a change list for a researcher's review.

## Overview

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

## Stock Analysis ETF profile in other agents

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

## More opencode guides

- [Stock Analysis ETF issuer lineup](https://spiral.ai/integrations/opencode/stock-analysis-etf-issuer-lineup)
- [Stock Analysis ETF screener](https://spiral.ai/integrations/opencode/stock-analysis-etf-screener)
- [Stock Analysis ETF issuer directory](https://spiral.ai/integrations/opencode/stock-analysis-etf-issuer-directory)
- [Stock Analysis dividend history](https://spiral.ai/integrations/opencode/stock-analysis-dividend-history)
- [Stock Analysis ETF holdings](https://spiral.ai/integrations/opencode/stock-analysis-etf-holdings)
- [Stock Analysis earnings history](https://spiral.ai/integrations/opencode/stock-analysis-earnings-history)

## Questions about Stock Analysis ETF profile in opencode

**Can opencode use Stock Analysis ETF profile?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Stock Analysis ETF profile like any built-in tool.

**How much does Stock Analysis ETF profile 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 Stock Analysis ETF profile in opencode?**

No. Spiral runs Stock Analysis ETF profile on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Stock Analysis ETF profile in opencode?**

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

**Does opencode wait while Stock Analysis ETF profile runs?**

Stock Analysis ETF profile runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Does Stock Analysis cover markets outside the United States?**

Stock Analysis reports global stock and ETF coverage exceeding 130,000 tradable symbols. That website-wide figure does not establish the coverage of every individual endpoint.

**Where does Stock Analysis get its data?**

Its sources vary by dataset: CBOE supplies real-time stock prices, most historical dividend data comes from S&P Global, and the SPY holdings page identifies Finnhub.

**How fresh are dividend and holdings records?**

Apple's dividend page says updates arrive within hours of dividend announcements. The SPY holdings page says ETF issuers typically publish holdings at the end of each trading day.

**Does a public holdings table contain the entire portfolio?**

It can be partial: VOO's public page displayed 25 of 516 holdings when researched. An overlap calculation using those rows describes the displayed positions, not the entire fund.

**Are historical dividend amounts adjusted for stock splits?**

Apple's dividend page explicitly states that dividend amounts are adjusted for stock splits when applicable. Its payment history therefore should not be interpreted as an unadjusted record of amounts per share at the time.

