[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [SEC EDGAR insider filing details](https://spiral.ai/integrations/opencode/sec-edgar-insider-filing-details)

# How to Use SEC EDGAR insider filing details in opencode

Returns one insider filing's structured content, including its footnotes. Use it to investigate a transaction found during a broader collection and read the explanations attached to reported figures.

|  |  |
| --- | --- |
| Model | SEC EDGAR insider filing details |
| 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 SEC EDGAR insider filing details in opencode

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

## How to set up SEC EDGAR insider filing details 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 SEC EDGAR insider filing details**: 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": "sec-gov/filings/insider_transactions_get",
    "input": {
      "quarter": "<quarter>",
      "accession_number": "<accession_number>"
    }
  }'
```

Then paste one of the prompts above: opencode finds SEC EDGAR insider filing details on Spiral, shows the price and runs it.

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

## SEC EDGAR insider filing details tools and prices

- [SEC EDGAR · Insider transactions get](https://spiral.ai/tools/alexandria/sec-gov/filings/insider_transactions_get) (Alexandria): $0.00873 per call.

## What can you do with SEC EDGAR insider filing details in opencode?

Build a company research dataset that links SEC filings and ownership records to their source documents. Add publication checks and filing drilldowns so the project's research views can distinguish collected records from material that needs refreshing.

### Quarterly company research packet

Build a research packet for Apple or Microsoft with filing dates, document links, institutional holdings, corporate insider transactions, and beneficial ownership disclosures. Check facts and archive status before refreshing the packet, then inspect individual filings behind the findings.

### Investment committee evidence appendix

Attach SEC source records to a company review: filing accessions, supporting documents, disclosed holdings, transaction footnotes, and ownership figures. Include publication status checks so reviewers can see which financial facts and quarterly archives were checked for changes.

### Public company disclosure fact-check

Check claims about a company's reporting history and disclosed ownership against SEC records. Locate the relevant reports, inspect transaction explanations and ownership filings, and check whether facts or quarterly archives changed before completing the review.

### Historical disclosure dataset maintenance

Maintain a research dataset linking company filings, institutional positions, insider transaction rows, and beneficial ownership reports. Use status checks to identify refresh work, collect missing disclosure periods, and retain individual filing documents and footnotes for review.

### Corporate transaction footnote review

Collect a quarter's insider transaction records for a public company, then inspect selected filings and their footnotes. Prepare a company-level explanation of the reported activity without creating profiles of individual people.

## Overview

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

## SEC EDGAR insider filing details in other agents

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

## More opencode guides

- [SEC EDGAR insider archive status](https://spiral.ai/integrations/opencode/sec-edgar-insider-archive-status)
- [SEC EDGAR institutional 13F holdings](https://spiral.ai/integrations/opencode/sec-edgar-institutional-13f-holdings)
- [SEC EDGAR financial concept history](https://spiral.ai/integrations/opencode/sec-edgar-financial-concept-history)
- [SEC EDGAR ownership index status](https://spiral.ai/integrations/opencode/sec-edgar-ownership-index-status)
- [SEC EDGAR filing sections](https://spiral.ai/integrations/opencode/sec-edgar-filing-sections)
- [SEC EDGAR product revenue](https://spiral.ai/integrations/opencode/sec-edgar-product-revenue)

## Questions about SEC EDGAR insider filing details in opencode

**Can opencode use SEC EDGAR insider filing details?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run SEC EDGAR insider filing details like any built-in tool.

**How much does SEC EDGAR insider filing details 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 SEC EDGAR insider filing details in opencode?**

No. Spiral runs SEC EDGAR insider filing details on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up SEC EDGAR insider filing details in opencode?**

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

**Does opencode wait while SEC EDGAR insider filing details runs?**

SEC EDGAR insider filing details runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**How far back does SEC EDGAR data go?**

Public filing indexes begin in the third quarter of 1994. Structured collections have different starting points: the quarterly insider transaction archives begin in January 2006.

**How fresh is SEC EDGAR data?**

The SEC updates submissions and XBRL JSON data throughout the day as filings are disseminated. Its insider transaction archives are published quarterly, so those archives have a different update cycle.

**Does EDGAR contain every SEC filing?**

No. Some filings are still submitted on paper and are not accessible through EDGAR.

**How can I recognize an amended filing?**

The SEC appends /A to the form type. For example, 10-K/A identifies an amendment to a 10-K.

**Are extracted SEC datasets guaranteed to be accurate?**

The SEC explicitly does not guarantee the accuracy of its insider transaction datasets. That collection extracts structured information from Forms 3, 4, and 5, including a separate footnote table.

