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

opencode · Finance

How to Use SEC EDGAR beneficial ownership filing details in opencode

Returns reporting persons and ownership figures from one Schedule 13D or 13G filing. Use it when an accession number is known and you need to examine the disclosed stake.

Prompts to try with SEC EDGAR beneficial ownership filing details in opencode

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

Use SEC EDGAR beneficial ownership filing details to look this up and give me the result as a table. Save the result in ./assets.

SEC EDGAR beneficial ownership filing detailsopencode
Try asking
  • Pull the latest numbers from SEC EDGAR beneficial ownership filing details and tell me what changed since last week.

  • Check SEC EDGAR beneficial ownership filing details and summarize what you find in three bullet points.

  • Pull the newest data from SEC EDGAR beneficial ownership filing details and give me the result as a table.

  • Check SEC EDGAR beneficial ownership filing details every morning and tell me only when something changed.

How to set up SEC EDGAR beneficial ownership 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.

    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 SEC EDGAR beneficial ownership filing details

    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": "sec-gov/filings/ownership_13d13g_get",
        "input": {
          "accession": "<accession>"
        }
      }'

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

SEC EDGAR beneficial ownership filing details providers and prices

Spiral runs SEC EDGAR beneficial ownership filing details through Alexandria. Open a card for today's price, with every fee included.

AlexandriaFinance
SEC EDGAR · Ownership 13d13g get
sec-gov/filings/ownership_13d13g_get

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Cika number

A filer's or the subject company's CIK. Default: the accession's first ten digits, which is the filer for self-filed schedules but a filing agent for others (pass cik then).

Every API field of SEC EDGAR · Ownership 13d13g get is on its tool page: open its card above.

What can you do with SEC EDGAR beneficial ownership 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.

Beneficial ownership disclosure bulletin

Collect daily Schedule 13D and 13G disclosures or catch up across a missed date range. Open relevant filings to report the disclosed stake and reporting entities for companies on an analyst's coverage list.

Questions about SEC EDGAR beneficial ownership filing details in opencode

Can opencode use SEC EDGAR beneficial ownership filing details?

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

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

No. Spiral runs SEC EDGAR beneficial ownership 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 beneficial ownership filing details in opencode?

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

Does opencode wait while SEC EDGAR beneficial ownership filing details runs?

SEC EDGAR beneficial ownership 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.

Get started

Start using SEC EDGAR beneficial ownership filing details 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